Examples of XTextArea


Examples of net.xoetrope.html.XTextArea

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

Examples of net.xoetrope.html.XTextArea

    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 );
        } else {
            edit1.setVisible( true );
            edit2.setVisible( true );
            pass.setVisible( true );
            text1.setVisible( true );
            text2.setVisible( true );
        }
    }
View Full Code Here

Examples of net.xoetrope.html.XTextArea

    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" );
        } else {
            edit1.setBackgroundColor( "" );
            edit2.setBackgroundColor( "" );
            pass.setBackgroundColor( "" );
            text1.setBackgroundColor( "" );
            text2.setBackgroundColor( "" );
        }
    }
View Full Code Here

Examples of net.xoetrope.html.XTextArea

    public void changeFontColorEdit() {
        XCheckbox check4 = (XCheckbox)findComponent( obj, "check4" );
        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 ( check4.isSelected() ) {
            edit1.setFontColor( "#CCEEEE" );
            edit2.setFontColor( "#CCEEEE" );
            pass.setFontColor( "#CCEEEE" );
            text1.setFontColor( "#CCEEEE" );
            text2.setFontColor( "#CCEEEE" );
        } else {
            edit1.setFontColor( "" );
            edit2.setFontColor( "" );
            pass.setFontColor( "" );
            text1.setFontColor( "" );
            text2.setFontColor( "" );
        }
    }
View Full Code Here

Examples of net.xoetrope.html.XTextArea

    public void font10Edit() {
        XRadioButton radio1 = (XRadioButton)findComponent( obj, "radio1" );
        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 ( radio1.isSelected() ) {
            edit1.setFontSize( 10 );
            edit2.setFontSize( 10 );
            pass.setFontSize( 10 );
            text1.setFontSize( 10 );
            text2.setFontSize( 10 );
        }
    }
View Full Code Here

Examples of net.xoetrope.html.XTextArea

    public void font16Edit() {
        XRadioButton radio2 = (XRadioButton)findComponent( obj, "radio2" );
        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 ( radio2.isSelected() ) {
            edit1.setFontSize( 16 );
            edit2.setFontSize( 16 );
            pass.setFontSize( 16 );
            text1.setFontSize( 16 );
            text2.setFontSize( 16 );
        }
    }
View Full Code Here

Examples of net.xoetrope.html.XTextArea

    public void font22Edit() {
        XRadioButton radio3 = (XRadioButton)findComponent( obj, "radio3" );
        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 ( radio3.isSelected() ) {
            edit1.setFontSize( 22 );
            edit2.setFontSize( 22 );
            pass.setFontSize( 22 );
            text1.setFontSize( 22 );
            text2.setFontSize( 22 );
        }
    }
View Full Code Here

Examples of net.xoetrope.html.XTextArea

        XEdit edit2 = (XEdit)findComponent( "edit2" );
        edit2.setText( edit1.getText() );
    }
   
    public void transmitText() {
        XTextArea text1 = (XTextArea)findComponent( obj, "text1" );
        XTextArea text2 = (XTextArea)findComponent( "text2" );
        text2.setText( text1.getText() );
    }
View Full Code Here

Examples of net.xoetrope.html.XTextArea

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

   */
  public void startProcessing( XHtmlBuilder builder, XComponentFactory cf, MutableAttributeSet as )
  {
    super.startProcessing( builder, cf, as );
   
    comp = new XTextArea();
    Object value = as.getAttribute( HTML.Attribute.COLS );
    if ( value != null )
      ((XTextArea)comp).setColumns( Integer.parseInt( value.toString()));
    parentComponent.add( comp );
    cf.setParentComponent( comp );
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.