Examples of XCheckBox


Examples of net.xoetrope.html.XCheckbox

            combo.setEnabled( true );
        }
    }
   
    public void visible() {
        XCheckbox check2 = (XCheckbox)findComponent( obj, "check5" );
        XButton one = (XButton)findComponent( "one" );
        XButton two = (XButton)findComponent( "two" );
        XButton three = (XButton)findComponent( "three" );
        XRadioButton rad1 = (XRadioButton)findComponent( "radio1" );
        XRadioButton rad2 = (XRadioButton)findComponent( "radio2" );
        XRadioButton rad3 = (XRadioButton)findComponent( "radio3" );
        XRadioButton rad4 = (XRadioButton)findComponent( "radio4" );
        XRadioButton rad5 = (XRadioButton)findComponent( "radio5" );
        XRadioButton rad6 = (XRadioButton)findComponent( "radio6" );
        XLabel rad1_txt = (XLabel)findComponent( "radio1_txt" );
        XLabel rad2_txt = (XLabel)findComponent( "radio2_txt" );
        XLabel rad3_txt = (XLabel)findComponent( "radio3_txt" );
        XLabel rad4_txt = (XLabel)findComponent( "radio4_txt" );
        XLabel rad5_txt = (XLabel)findComponent( "radio5_txt" );
        XLabel rad6_txt = (XLabel)findComponent( "radio6_txt" );
        XLabel ch1_txt = (XLabel)findComponent( "check1_txt" );
        XLabel ch2_txt = (XLabel)findComponent( "check2_txt" );
        XLabel ch3_txt = (XLabel)findComponent( "check3_txt" );
        XCheckbox ch1 = (XCheckbox)findComponent( "check1" );
        XCheckbox ch2 = (XCheckbox)findComponent( "check2" );
        XCheckbox ch3 = (XCheckbox)findComponent( "check3" );
        if ( check2.isSelected() ) {
            one.setVisible( false );
            two.setVisible( false );
            three.setVisible( false );
            rad1.setVisible( false );
            rad2.setVisible( false );
            rad3.setVisible( false );
            rad4.setVisible( false );
            rad5.setVisible( false );
            rad6.setVisible( false );
            ch1.setVisible( false );
            ch2.setVisible( false );
            ch3.setVisible( false );
            rad1_txt.setVisible( false );
            rad2_txt.setVisible( false );
            rad3_txt.setVisible( false );
            rad4_txt.setVisible( false );
            rad5_txt.setVisible( false );
            rad6_txt.setVisible( false );
            ch1_txt.setVisible( false );
            ch2_txt.setVisible( false );
            ch3_txt.setVisible( false );
        } else {
            one.setVisible( true );
            two.setVisible( true );
            three.setVisible( true );
            rad1.setVisible( true );
            rad2.setVisible( true );
            rad3.setVisible( true );
            rad4.setVisible( true );
            rad5.setVisible( true );
            rad6.setVisible( true );
            ch1.setVisible( true );
            ch2.setVisible( true );
            ch3.setVisible( true );
            rad1_txt.setVisible( true );
            rad2_txt.setVisible( true );
            rad3_txt.setVisible( true );
            rad4_txt.setVisible( true );
            rad5_txt.setVisible( true );
View Full Code Here

Examples of net.xoetrope.html.XCheckbox

            ch3_txt.setVisible( true );
        }
    }
   
    public void visibleEdit() {
        XCheckbox check2 = (XCheckbox)findComponent( obj, "check2" );
        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 ( check2.isSelected() ) {
            edit1.setVisible( false );
            edit2.setVisible( false );
            pass.setVisible( false );
            text1.setVisible( false );
            text2.setVisible( false );
View Full Code Here

Examples of net.xoetrope.html.XCheckbox

            text2.setVisible( true );
        }
    }
   
    public void visibleCombo() {
        XCheckbox check2 = (XCheckbox)findComponent( obj, "check2" );
        XComboBox combo = (XComboBox)findComponent( "combo" );
        if ( check2.isSelected() ) {
            combo.setVisible( false );
        } else {
            combo.setVisible( true );
        }
    }
View Full Code Here

Examples of net.xoetrope.html.XCheckbox

            combo.setVisible( true );
        }
    }
   
    public void visibleList() {
        XCheckbox check1 = (XCheckbox)findComponent( obj, "check1" );
        XList ordered = (XList)findComponent( "ordered" );
        XList unordered = (XList)findComponent( "unordered" );
        if ( check1.isSelected() ) {
            ordered.oSetVisible( false );
            unordered.uSetVisible( false );
        } else {
            ordered.oSetVisible( true );
            unordered.uSetVisible( true );
View Full Code Here

Examples of net.xoetrope.html.XCheckbox

            unordered.uSetVisible( true );
        }
    }
   
    public void visibleOther() {
        XCheckbox check1 = (XCheckbox)findComponent( obj, "check1" );
        XLabel lab1 = (XLabel)findComponent( "lab1" );
        XLabel lab2 = (XLabel)findComponent( "lab2" );
        XTable table = (XTable)findComponent( "table" );
        XImage img = (XImage)findComponent( "img" );
        if ( check1.isSelected() ) {
            lab1.setVisible( false );
            lab2.setVisible( false );
            table.setVisible( false );
            img.setVisible( false );
        } else {
View Full Code Here

Examples of net.xoetrope.html.XCheckbox

            img.setVisible( true );
        }
    }
   
    public void visiblePanel() {
        XCheckbox check1 = (XCheckbox)findComponent( obj, "check1" );
        XPanel panel = (XPanel)findComponent( "panel" );
        if ( check1.isSelected() ) {
            panel.setVisible( false );
        } else {
            panel.setVisible( true );
        }
    }
View Full Code Here

Examples of net.xoetrope.html.XCheckbox

            panel.setVisible( true );
        }
    }
   
    public void changeColor() {
        XCheckbox check3 = (XCheckbox)findComponent( obj, "check6" );
        XButton one = (XButton)findComponent( "one" );
        XButton two = (XButton)findComponent( "two" );
        XButton three = (XButton)findComponent( "three" );
        if ( check3.isSelected() ) {
            one.setBackgroundColor( "#FF3333" );
            two.setBackgroundColor( "#FF3333" );
            three.setBackgroundColor( "#FF3333" );
        } else {
            one.setBackgroundColor( "" );
View Full Code Here

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

Examples of net.xoetrope.html.XCheckbox

            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

Examples of net.xoetrope.html.XCheckbox

            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
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.