Examples of XCheckBox


Examples of net.xoetrope.html.XCheckbox

            panel.setBackgroundColor( "" );
        }
    }
   
    public void changeCellColor() {
        XCheckbox check3 = (XCheckbox)findComponent( obj, "check3" );
        XTable table = (XTable)findComponent( "table" );
        if ( check3.isSelected() ) {
            table.setBackgroundColorAt( 1, 3, "#FF3333" );
            table.setBackgroundColorAt( 2, 2, "#FFCCAA" );
            table.setBackgroundColorAt( 2, 5, "#ABCDEF" );
            table.setBackgroundColorAt( 3, 1, "#FEDCBA" );
        } else {
View Full Code Here

Examples of net.xoetrope.html.XCheckbox

            table.setBackgroundColorAt( 3, 1, "" );
        }
    }
   
    public void changeFontColorEdit() {
        XCheckbox check4 = (XCheckbox)findComponent( obj, "check4" );
        XEdit edit1 = (XEdit)findComponent( "edit1" );
        XEdit edit2 = (XEdit)findComponent( "edit2" );
        XPassword pass = (XPassword)findComponent( "pass" );
        XTextArea text1 = (XTextArea)findComponent( "text1" );
        XTextArea text2 = (XTextArea)findComponent( "text2" );
        if ( check4.isSelected() ) {
            edit1.setFontColor( "#CCEEEE" );
            edit2.setFontColor( "#CCEEEE" );
            pass.setFontColor( "#CCEEEE" );
            text1.setFontColor( "#CCEEEE" );
            text2.setFontColor( "#CCEEEE" );
View Full Code Here

Examples of net.xoetrope.html.XCheckbox

            text2.setFontColor( "" );
        }
    }
   
    public void changeFontColorCombo() {
        XCheckbox check4 = (XCheckbox)findComponent( obj, "check4" );
        XComboBox combo = (XComboBox)findComponent( "combo" );
        if ( check4.isSelected() ) {
            combo.setFontColor( "#CCEEEE" );
        } else {
            combo.setFontColor( "" );
        }
    }
View Full Code Here

Examples of net.xoetrope.html.XCheckbox

            combo.setFontColor( "" );
        }
    }
   
    public void changeFontColorList() {
        XCheckbox check2 = (XCheckbox)findComponent( obj, "check2" );
        XList ordered = (XList)findComponent( "ordered" );
        XList unordered = (XList)findComponent( "unordered" );
        if ( check2.isSelected() ) {
            ordered.oSetFontColor( "#FF3333" );
            unordered.uSetFontColor( "#FF3333" );
        } else {
            ordered.oSetFontColor( "" );
            unordered.uSetFontColor( "" );
View Full Code Here

Examples of net.xoetrope.html.XCheckbox

            unordered.uSetFontColor( "" );
        }
    }
   
    public void changeFontColorPanel() {
        XCheckbox check3 = (XCheckbox)findComponent( obj, "check3" );
        XPanel panel = (XPanel)findComponent( "panel" );
        if ( check3.isSelected() ) {
            panel.setFontColor( "#CCEEEE" );
        } else {
            panel.setFontColor( "" );
        }
    }
View Full Code Here

Examples of net.xoetrope.html.XCheckbox

            panel.setFontColor( "" );
        }
    }
   
    public void changeFontColorOther() {
        XCheckbox check2 = (XCheckbox)findComponent( obj, "check2" );
        XLabel lab1 = (XLabel)findComponent( "lab1" );
        XLabel lab2 = (XLabel)findComponent( "lab2" );
        XTable table = (XTable)findComponent( "table" );
        if ( check2.isSelected() ) {
            lab1.setFontColor( "#FF3333" );
            lab2.setFontColor( "#FF3333" );
            table.setFontColor( "#CCEEEE" );
        } else {
            lab1.setFontColor( "" );
View Full Code Here

Examples of net.xoetrope.html.XCheckbox

            table.setFontColor( "" );
        }
    }
   
    public void changeStartNumber() {
        XCheckbox check3 = (XCheckbox)findComponent( obj, "check3" );
        XList ordered = (XList)findComponent( "ordered" );
        if ( check3.isSelected() ) {
            ordered.oSetStartPoint( 4 );
        } else {
            ordered.oSetStartPoint( 1 );
        }
    }
View Full Code Here

Examples of net.xoetrope.html.XCheckbox

            ordered.oSetStartPoint( 1 );
        }
    }
   
    public void changeNumberType() {
        XCheckbox check4 = (XCheckbox)findComponent( obj, "check4" );
        XList ordered = (XList)findComponent( "ordered" );
        if ( check4.isSelected() ) {
            ordered.oSetNumberType( "i" );
        } else {
            ordered.oSetNumberType( "1" );
        }
    }
View Full Code Here

Examples of net.xoetrope.html.XCheckbox

            ordered.oSetNumberType( "1" );
        }
    }
   
    public void changeBulletType() {
        XCheckbox check5 = (XCheckbox)findComponent( obj, "check5" );
        XList unordered = (XList)findComponent( "unordered" );
        if ( check5.isSelected() ) {
            unordered.uSetBulletType( "square" );
        } else {
            unordered.uSetBulletType( "disc" );
        }
    }
View Full Code Here

Examples of net.xoetrope.html.XCheckbox

            unordered.uSetBulletType( "disc" );
        }
    }
   
    public void changeImage() {
        XCheckbox check4 = (XCheckbox)findComponent( obj, "check4" );       
        XImage img = (XImage)findComponent( "img" );
        if ( check4.isSelected() ) {
            img.setImageSrc( "../images/win.jpg" );
        } else {
            img.setImageSrc( "../images/tux.jpg" );
        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.