Examples of XList


Examples of net.xoetrope.html.XList

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

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

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

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

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

        }
    }
   
    public void font10List() {
        XRadioButton radio1 = (XRadioButton)findComponent( obj, "radio1" );
        XList ordered = (XList)findComponent( "ordered" );
        XList unordered = (XList)findComponent( "unordered" );
        if ( radio1.isSelected() ) {
            ordered.oSetFontSize( 10 );
            unordered.uSetFontSize( 10 );
        }
    }
View Full Code Here

Examples of net.xoetrope.html.XList

        }
    }
   
    public void font16List() {
        XRadioButton radio2 = (XRadioButton)findComponent( obj, "radio2" );
        XList ordered = (XList)findComponent( "ordered" );
        XList unordered = (XList)findComponent( "unordered" );
        if ( radio2.isSelected() ) {
            ordered.oSetFontSize( 16 );
            unordered.uSetFontSize( 16 );
        }
    }
View Full Code Here

Examples of net.xoetrope.html.XList

        }
    }
   
    public void font22List() {
        XRadioButton radio3 = (XRadioButton)findComponent( obj, "radio3" );
        XList ordered = (XList)findComponent( "ordered" );
        XList unordered = (XList)findComponent( "unordered" );
        if ( radio3.isSelected() ) {
            ordered.oSetFontSize( 22 );
            unordered.uSetFontSize( 22 );
        }
    }
View Full Code Here

Examples of net.xoetrope.html.XList

    }
   
    public void addItemOList() {      
        XEdit edit = (XEdit)findComponent( obj, "edit" );
        XEdit edit2 = (XEdit)findComponent( "edit2" );
        XList ordered = (XList)findComponent( "ordered" );
        if ( edit2.getText().equals( "" ) || edit2.getText().equals( "Item Index" ) ) {
            ordered.oAddElement( edit.getText() );
        } else {
            ordered.oInsertElement( edit.getText(), Integer.parseInt( edit2.getText() ) );
        }
    }
View Full Code Here

Examples of net.xoetrope.html.XList

            ordered.oInsertElement( edit.getText(), Integer.parseInt( edit2.getText() ) );
        }
    }
   
    public void removeItemOList() {               
        XList ordered = (XList)findComponent( obj, "ordered" )
        XEdit edit3 = (XEdit)findComponent( "edit3" );
        if ( edit3.getText().equals( "" ) || edit3.getText().equals( "Item Index" ) ) {
            ordered.oRemoveElement();
        } else {
            ordered.oRemoveElement( Integer.parseInt( edit3.getText() ) );           
        }
    }
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.