Examples of XPanel


Examples of net.xoetrope.html.XPanel

        XEdit edit = new XEdit( "New Edit", "edit" );
        panel.add( edit.getHTMLElement() );
    }
   
    public void addText() {
        XPanel panel = (XPanel)findComponent( obj, "panel" );
        XTextArea text = new XTextArea( "New Text Area", "text" );
        panel.add( text.getHTMLElement() );
    }
View Full Code Here

Examples of net.xoetrope.html.XPanel

        XTextArea text = new XTextArea( "New Text Area", "text" );
        panel.add( text.getHTMLElement() );
    }
   
    public void addCombo() {
        XPanel panel = (XPanel)findComponent( obj, "panel" );
        XComboBox combo = new XComboBox();
        combo.addElement( "Element 1" );
        combo.addElement( "Element 2" );
        combo.addElement( "Element 3" );
        panel.add( combo.getHTMLElement() );
    }
View Full Code Here

Examples of net.xoetrope.html.XPanel

        combo.addElement( "Element 3" );
        panel.add( combo.getHTMLElement() );
    }
   
    public void addList() {
        XPanel panel = (XPanel)findComponent( obj, "panel" );
        XList list = new XList( true );
        list.oAddElement( "Item 1" );
        list.oAddElement( "Item 2" );
        list.oAddElement( "Item 3" );
        list.oAddElement( "Item 4" );
        panel.add( list.oGetHTMLElement() );
    }
View Full Code Here

Examples of net.xoetrope.html.XPanel

        list.oAddElement( "Item 4" );
        panel.add( list.oGetHTMLElement() );
    }
   
    public void addImage() {
        XPanel panel = (XPanel)findComponent( obj, "panel" );
        XImage image = new XImage( "../images/tux.jpg", "image" );
        panel.add( image.getHTMLElement() );
    }
View Full Code Here

Examples of net.xoetrope.html.XPanel

        XImage image = new XImage( "../images/tux.jpg", "image" );
        panel.add( image.getHTMLElement() );
    }
   
    public void addTable() {
        XPanel panel = (XPanel)findComponent( obj, "panel" );
        XTable table = new XTable();
        table.setValue( 1, 1, "Cell 1-1" );
        table.setValue( 1, 2, "Cell 1-2" );
        table.setValue( 1, 3, "Cell 1-3" );
        table.setValue( 1, 4, "Cell 1-4" );
        table.setValue( 2, 1, "Cell 2-1" );
        table.setValue( 2, 2, "Cell 2-2" );
        table.setValue( 2, 3, "Cell 2-3" );
        table.setValue( 2, 4, "Cell 2-4" );
        table.setValue( 3, 1, "Cell 3-1" );
        table.setValue( 3, 2, "Cell 3-2" );
        table.setValue( 3, 3, "Cell 3-3" );
        table.setValue( 3, 4, "Cell 3-4" );
        table.setBorder( 1 );
        panel.add( table.getHTMLElement() );
    }
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.