Examples of XComboBox


Examples of net.xoetrope.html.XComboBox

        }
    }
   
    public void font16Combo() {
        XRadioButton radio2 = (XRadioButton)findComponent( obj, "radio2" );
        XComboBox combo = (XComboBox)findComponent( "combo" );
        if ( radio2.isSelected() ) {
            combo.setFontSize( 16 );
        }
    }
View Full Code Here

Examples of net.xoetrope.html.XComboBox

        }
    }
   
    public void font22Combo() {
        XRadioButton radio3 = (XRadioButton)findComponent( obj, "radio3" );
        XComboBox combo = (XComboBox)findComponent( "combo" );
        if ( radio3.isSelected() ) {
            combo.setFontSize( 22 );
        }
    }
View Full Code Here

Examples of net.xoetrope.html.XComboBox

        lab2.setText( lab1.getText() );
    }
   
    public void addItemCombo() {
        XEdit edit = (XEdit)findComponent( obj, "edit" );
        XComboBox combo = (XComboBox)findComponent( "combo" );
        combo.addElement( edit.getText() );
    }
View Full Code Here

Examples of net.xoetrope.html.XComboBox

        XComboBox combo = (XComboBox)findComponent( "combo" );
        combo.addElement( edit.getText() );
    }
   
    public void removeItemCombo() {
        XComboBox combo = (XComboBox)findComponent( obj, "combo" );
        combo.deleteElement( combo.getSelectedIndex() + 1 );
    }
View Full Code Here

Examples of net.xoetrope.html.XComboBox

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

            }
        }
    }

    public void actionPerformed(ActionEvent e) {
        XComboBox clientListCombo = (XComboBox) e.getSource();
        String client = (String) clientListCombo.getSelectedItem();
        if (UtilValidate.isNotEmpty(client)) {
            String[] clientInfos = client.split(" \\| ");
            String name = clientInfos.length > 0 ? clientInfos[0] : "";
            String email = clientInfos.length > 1 ? clientInfos[1] : "";
            String phone = clientInfos.length > 2 ? clientInfos[2] : "";
            String card = clientInfos.length > 3 ? clientInfos[3] : "";
            if (UtilValidate.isNotEmpty(card) && SWIP_WITH_CARD &&  card.startsWith(START_SENTINEL) && card.endsWith(END_SENTINEL)) {
                card = card.substring(1, card.length() - 1);
            }
            m_nameEdit.setText(name);
            m_emailEdit.setText(email);
            m_phoneEdit.setText(phone);
            m_cardEdit.setText(card);
            m_partyId = m_clientListBidingCombo.get(clientListCombo.getSelectedIndex());
        }
    }
View Full Code Here

Examples of net.xoetrope.swing.XComboBox

            }
        }
    }

    public void actionPerformed(ActionEvent e) {
        XComboBox clientListCombo = (XComboBox) e.getSource();
        String client = (String) clientListCombo.getSelectedItem();
        if (UtilValidate.isNotEmpty(client)) {
            String[] clientInfos = client.split(" \\| ");
            String name = clientInfos.length > 0 ? clientInfos[0] : "";
            String email = clientInfos.length > 1 ? clientInfos[1] : "";
            String phone = clientInfos.length > 2 ? clientInfos[2] : "";
            String card = clientInfos.length > 3 ? clientInfos[3] : "";
            if (UtilValidate.isNotEmpty(card) && SWIP_WITH_CARD &&  card.startsWith(START_SENTINEL) && card.endsWith(END_SENTINEL)) {
                card = card.substring(1, card.length() - 1);
            }                   
            m_nameEdit.setText(name);
            m_emailEdit.setText(email);
            m_phoneEdit.setText(phone);
            m_cardEdit.setText(card);
            m_partyId = m_clientListBidingCombo.get(clientListCombo.getSelectedIndex());
        }
    }
View Full Code Here

Examples of net.xoetrope.swing.XComboBox

            }
        }
    }

    public void actionPerformed(ActionEvent e) {
        XComboBox clientListCombo = (XComboBox) e.getSource();
        String client = (String) clientListCombo.getSelectedItem();
        if (UtilValidate.isNotEmpty(client)) {
            String[] clientInfos = client.split(" \\| ");
            String name = clientInfos.length > 0 ? clientInfos[0] : "";
            String email = clientInfos.length > 1 ? clientInfos[1] : "";
            String phone = clientInfos.length > 2 ? clientInfos[2] : "";
            String card = clientInfos.length > 3 ? clientInfos[3] : "";
            if (UtilValidate.isNotEmpty(card) && SWIP_WITH_CARD &&  card.startsWith(START_SENTINEL) && card.endsWith(END_SENTINEL)) {
                card = card.substring(1, card.length() - 1);
            }                   
            m_nameEdit.setText(name);
            m_emailEdit.setText(email);
            m_phoneEdit.setText(phone);
            m_cardEdit.setText(card);
            m_partyId = m_clientListBidingCombo.get(clientListCombo.getSelectedIndex());
        }
    }
View Full Code Here

Examples of net.xoetrope.swing.XComboBox

            }
        }
    }

    public void actionPerformed(ActionEvent e) {
        XComboBox clientListCombo = (XComboBox) e.getSource();
        String client = (String) clientListCombo.getSelectedItem();
        if (UtilValidate.isNotEmpty(client)) {
            String[] clientInfos = client.split(" \\| ");
            String name = clientInfos.length > 0 ? clientInfos[0] : "";
            String email = clientInfos.length > 1 ? clientInfos[1] : "";
            String phone = clientInfos.length > 2 ? clientInfos[2] : "";
            String card = clientInfos.length > 3 ? clientInfos[3] : "";
            if (UtilValidate.isNotEmpty(card) && SWIP_WITH_CARD &&  card.startsWith(START_SENTINEL) && card.endsWith(END_SENTINEL)) {
                card = card.substring(1, card.length() - 1);
            }
            m_nameEdit.setText(name);
            m_emailEdit.setText(email);
            m_phoneEdit.setText(phone);
            m_cardEdit.setText(card);
            m_partyId = m_clientListBidingCombo.get(clientListCombo.getSelectedIndex());
        }
    }
View Full Code Here

Examples of net.xoetrope.swing.XComboBox

   */
  public void startProcessing( XHtmlBuilder builder, XComponentFactory cf, MutableAttributeSet as )
  {
    super.startProcessing( builder, cf, as );

    comp = new XComboBox();
    parentComponent.add( comp );
    //comp.setLayout( new FlowLayout());
    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.