Package net.xoetrope.html

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


            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

            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

        radio.addEvent( radio.getHTMLElement().getId(), "alert", "ClICk");
    }
       
    public void addCheck() {
        XPanel panel = (XPanel)findComponent( obj, "panel" );
        XCheckbox check = new XCheckbox( "check" );
        XLabel check_txt = new XLabel( "New Check Box", "check_txt" );
        panel.add( check.getHTMLElement() );
        panel.add( check_txt.getHTMLElement() );
    }
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.