Package net.xoetrope.html

Examples of net.xoetrope.html.XLabel


        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 ( check1.isSelected() ) {
            one.setEnabled( false );
            two.setEnabled( false );
            three.setEnabled( false );
            rad1.setEnabled( false );
            rad2.setEnabled( false );
            rad3.setEnabled( false );
            rad4.setEnabled( false );
            rad5.setEnabled( false );
            rad6.setEnabled( false );
            ch1.setEnabled( false );
            ch2.setEnabled( false );
            ch3.setEnabled( false );
            rad1_txt.setFontColor( "#DDDDDD" );
            rad2_txt.setFontColor( "#DDDDDD" );
            rad3_txt.setFontColor( "#DDDDDD" );
            rad4_txt.setFontColor( "#DDDDDD" );
            rad5_txt.setFontColor( "#DDDDDD" );
            rad6_txt.setFontColor( "#DDDDDD" );
            ch1_txt.setFontColor( "#DDDDDD" );
            ch2_txt.setFontColor( "#DDDDDD" );
            ch3_txt.setFontColor( "#DDDDDD" );
        } else {
            one.setEnabled( true );
            two.setEnabled( true );
            three.setEnabled( true );
            rad1.setEnabled( true );
            rad2.setEnabled( true );
            rad3.setEnabled( true );
            rad4.setEnabled( true );
            rad5.setEnabled( true );
            rad6.setEnabled( true );
            ch1.setEnabled( true );
            ch2.setEnabled( true );
            ch3.setEnabled( true );
            rad1_txt.setFontColor( "" );
            rad2_txt.setFontColor( "" );
            rad3_txt.setFontColor( "" );
            rad4_txt.setFontColor( "" );
            rad5_txt.setFontColor( "" );
            rad6_txt.setFontColor( "" );
            ch1_txt.setFontColor( "" );
            ch2_txt.setFontColor( "" );
            ch3_txt.setFontColor( "" );
        }
    }
View Full Code Here


        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 );
            rad6_txt.setVisible( true );
            ch1_txt.setVisible( true );
            ch2_txt.setVisible( true );
            ch3_txt.setVisible( true );
        }
    }
View Full Code Here

        }
    }
   
    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 {
            lab1.setVisible( true );
            lab2.setVisible( true );
            table.setVisible( true );
            img.setVisible( true );
        }
    }
View Full Code Here

        }
    }
   
    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( "" );
            lab2.setFontColor( "" );
            table.setFontColor( "" );
        }
    }
View Full Code Here

    public void font10() {
        XRadioButton radio1 = (XRadioButton)findComponent( obj, "radio7" );
        XButton one = (XButton)findComponent( "one" );
        XButton two = (XButton)findComponent( "two" );
        XButton three = (XButton)findComponent( "three" );
        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" );
        if ( radio1.isSelected() ) {
            one.setFontSize( 10 );
            two.setFontSize( 10 );
            three.setFontSize( 10 );
            rad1_txt.setFontSize( 10 );
            rad2_txt.setFontSize( 10 );
            rad3_txt.setFontSize( 10 );
            rad4_txt.setFontSize( 10 );
            rad5_txt.setFontSize( 10 );
            rad6_txt.setFontSize( 10 );
            ch1_txt.setFontSize( 10 );
            ch2_txt.setFontSize( 10 );
            ch3_txt.setFontSize( 10 );
        }
    }
View Full Code Here

        }
    }
   
    public void font10Other() {
        XRadioButton radio1 = (XRadioButton)findComponent( obj, "radio1" );
        XLabel lab1 = (XLabel)findComponent( "lab1" );
        XLabel lab2 = (XLabel)findComponent( "lab2" );
        XTable table = (XTable)findComponent( "table" );
        if ( radio1.isSelected() ) {
            lab1.setFontSize( 10 );
            lab2.setFontSize( 10 );
            table.setFontSize( 10 );
        }
    }
View Full Code Here

    public void font16() {
        XRadioButton radio2 = (XRadioButton)findComponent( obj, "radio8" );
        XButton one = (XButton)findComponent( "one" );
        XButton two = (XButton)findComponent( "two" );
        XButton three = (XButton)findComponent( "three" );
        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" );
        if ( radio2.isSelected() ) {
            one.setFontSize( 16 );
            two.setFontSize( 16 );
            three.setFontSize( 16 );
            rad1_txt.setFontSize( 16 );
            rad2_txt.setFontSize( 16 );
            rad3_txt.setFontSize( 16 );
            rad4_txt.setFontSize( 16 );
            rad5_txt.setFontSize( 16 );
            rad6_txt.setFontSize( 16 );
            ch1_txt.setFontSize( 16 );
            ch2_txt.setFontSize( 16 );
            ch3_txt.setFontSize( 16 );
        }
    }
View Full Code Here

        }
    }
   
    public void font16Other() {
        XRadioButton radio2 = (XRadioButton)findComponent( obj, "radio2" );
        XLabel lab1 = (XLabel)findComponent( "lab1" );
        XLabel lab2 = (XLabel)findComponent( "lab2" );
        XTable table = (XTable)findComponent( "table" );
        if ( radio2.isSelected() ) {
            lab1.setFontSize( 16 );
            lab2.setFontSize( 16 );
            table.setFontSize( 16 );
        }
    }
View Full Code Here

    public void font22() {
        XRadioButton radio3 = (XRadioButton)findComponent( obj, "radio9" );
        XButton one = (XButton)findComponent( "one" );
        XButton two = (XButton)findComponent( "two" );
        XButton three = (XButton)findComponent( "three" );
        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" );
        if ( radio3.isSelected() ) {
            one.setFontSize( 22 );
            two.setFontSize( 22 );
            three.setFontSize( 22 );
            rad1_txt.setFontSize( 22 );
            rad2_txt.setFontSize( 22 );
            rad3_txt.setFontSize( 22 );
            rad4_txt.setFontSize( 22 );
            rad5_txt.setFontSize( 22 );
            rad6_txt.setFontSize( 22 );
            ch1_txt.setFontSize( 22 );
            ch2_txt.setFontSize( 22 );
            ch3_txt.setFontSize( 22 );
        }
    }
View Full Code Here

        }
    }
   
     public void font22Other() {
        XRadioButton radio3 = (XRadioButton)findComponent( obj, "radio3" );
        XLabel lab1 = (XLabel)findComponent( "lab1" );
        XLabel lab2 = (XLabel)findComponent( "lab2" );
        XTable table = (XTable)findComponent( "table" );
        if ( radio3.isSelected() ) {
            lab1.setFontSize( 22 );
            lab2.setFontSize( 22 );
            table.setFontSize( 22 );
        }
    }
View Full Code Here

TOP

Related Classes of net.xoetrope.html.XLabel

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.