Package net.xoetrope.html

Examples of net.xoetrope.html.XCheckbox


            three.setBackgroundColor( "" );
        }
    }
   
    public void changeColorEdit() {
        XCheckbox check3 = (XCheckbox)findComponent( obj, "check3" );
        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 ( check3.isSelected() ) {
            edit1.setBackgroundColor( "#FF3333" );
            edit2.setBackgroundColor( "#FF3333" );
            pass.setBackgroundColor( "#FF3333" );
            text1.setBackgroundColor( "#FF3333" );
            text2.setBackgroundColor( "#FF3333" );
View Full Code Here


            text2.setBackgroundColor( "" );
        }
    }
   
    public void changeColorCombo() {
        XCheckbox check3 = (XCheckbox)findComponent( obj, "check3" );
        XComboBox combo = (XComboBox)findComponent( "combo" );
        if ( check3.isSelected() ) {
            combo.setBackgroundColor( "#FF3333" );
        } else {
            combo.setBackgroundColor( "" );
        }
    }
View Full Code Here

            combo.setBackgroundColor( "" );
        }
    }
   
    public void changeColorPanel() {
        XCheckbox check2 = (XCheckbox)findComponent( obj, "check2" );
        XPanel panel = (XPanel)findComponent( "panel" );
        if ( check2.isSelected() ) {
            panel.setBackgroundColor( "#FF3333" );
        } else {
            panel.setBackgroundColor( "" );
        }
    }
View Full Code Here

            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

            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

            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

            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

            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

            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

            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

TOP

Related Classes of net.xoetrope.html.XCheckbox

Copyright © 2018 www.massapicom. 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.