Examples of TextField


Examples of jfix.zk.Textfield

    getRows().insertBefore(dragged.getParent().getParent(),
        target.getParent().getParent());
  }

  private void convertLabelToTextfield(final Label label) {
    final Textfield textfield = new Textfield(label.getValue());
    EventListener labelEditPerformed = new EventListener() {
      public void onEvent(Event evt) throws Exception {
        String value = textfield.getValue();
        label.setValue(value);
        ((PropertyEditor) textfield.getParent().getNextSibling()
            .getFirstChild()).getProperty().setName(value);
        ZK.replace(textfield, label);
      }
    };
    textfield.addEventListener(Events.ON_OK, labelEditPerformed);
    textfield.addEventListener(Events.ON_BLUR, labelEditPerformed);
    ZK.replace(label, textfield);
    textfield.focus();
  }
View Full Code Here

Examples of loxia.struts2.taglib.model.TextField

    protected String maxlength;
    protected String size;
 
  @Override
  public Component getBean(ValueStack stack, HttpServletRequest req, HttpServletResponse res) {
    return new TextField(stack,req,res);
  }
View Full Code Here

Examples of mdes.slick.sui.TextField

    /*
     * Set up the components
     */
    m_white = new Color(255, 255, 255);
   
    m_username = new TextField();
    m_username.setSize(132, 24);
    m_username.setLocation(128, 8);
    m_username.setVisible(true);
    this.add(m_username);
   
    m_password = new TextField();
    m_password.setSize(132, 24);
    m_password.setLocation(128, 40);
    m_password.setVisible(true);
    m_password.setMaskCharacter('*');
    m_password.setMaskEnabled(true);
 
View Full Code Here

Examples of melnorme.util.swt.components.fields.TextField

     
     
      ctEnablement = new CheckBoxField("Enable Continuous Testing");
      ctEnablement.createComponentInlined(topControl);
     
      testFilesRegex = new TextField("Test Name Regex:");
      testFilesRegex.createComponentInlined(topControl);
     
      testTimeout = new SpinnerNumberField("Test Max Time (ms):");
      testTimeout.createComponentInlined(topControl);
      testTimeout.setValueMinimum(100).setValueMaximum(360000).setValueIncrement(10);
View Full Code Here

Examples of net.laubenberger.bogatyr.view.swing.TextField

    getContentPane().removeAll();
    // setLayout(new BorderLayout());

    setTitle(localizer.getValue(HelperResource.RES_ACTION_UNSCRAMBLE));

    tfInput = new TextField(null == scrambler.getModuleData().getFile(KEY_UNSCRAMBLE_INPUT) ? null : scrambler
        .getModuleData().getFile(KEY_UNSCRAMBLE_INPUT).getAbsolutePath(),
        localizer.getTooltip(HelperResource.RES_LABEL_UNSCRAMBLE_INPUT));
    tfInput.setEditable(false);
    tfOutput = new TextField(null == scrambler.getModuleData().getFile(KEY_UNSCRAMBLE_OUTPUT) ? null : scrambler
        .getModuleData().getFile(KEY_UNSCRAMBLE_OUTPUT).getAbsolutePath(),
        localizer.getTooltip(HelperResource.RES_LABEL_UNSCRAMBLE_OUTPUT));
    tfOutput.setEditable(false);
    cbCodecs = new ComboBox(CryptoSymmetricAlgo.values(),
        localizer.getTooltip(HelperResource.RES_LABEL_UNSCRAMBLE_CODEC));
View Full Code Here

Examples of net.rim.device.api.ui.component.TextField

        /**
         * Create a new GPSDemoScreen object
         */
        GPSDemoScreen() {
            // Initialize UI
            _statusTextField = new TextField(Field.NON_FOCUSABLE);
            _statusTextField.setLabel("GPS Status: ");
            add(_statusTextField);
            final RichTextField instructions =
                    new RichTextField("Waiting for location update...",
                            Field.NON_FOCUSABLE);
View Full Code Here

Examples of nextapp.echo2.app.TextField

        label = new Label(Messages.getString("LoginScreen.PromptUserName"));
        label.setStyleName("LoginScreen.Prompt");
        layoutGrid.add(label);
       
        nameField = new TextField();
        nameField.setWidth(PX_300);
        nameField.setStyleName("Default");
        nameField.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent e) {
                processLogin();
View Full Code Here

Examples of org.aavso.tools.vstar.ui.dialog.TextField

      public void actionPerformed(ActionEvent e) {
        // Request a name for the filter.
        String defaultName = Mediator.getInstance()
            .getDocumentManager().getNextUntitledFilterName();
        List<ITextComponent<String>> fields = new ArrayList<ITextComponent<String>>();
        fields.add(new TextField("Name", defaultName, false, false,
            TextField.Kind.LINE));
        final TextDialog nameDlg = new TextDialog("Filter Name", fields);

        // Create an observation filter message and notify listeners.
        IFilterDescription desc = new IFilterDescription() {
View Full Code Here

Examples of org.apache.any23.extractor.html.HTMLDocument.TextField

        return true;
    }

    private void addUid(HTMLDocument compoNode, Resource evt) {
        TextField url = compoNode.getSingularUrlField("uid");
        conditionallyAddStringProperty(
                compoNode.getDocument(),
                evt, vICAL.uid, url.value()
        );
    }
View Full Code Here

Examples of org.apache.click.control.TextField

        QuerySelect querySelect = new QuerySelect("title", true);
        querySelect.setQueryValueLabel("titles", "value", "label");
        getForm().add(querySelect);

        getForm().add(new TextField("firstName"));
        getForm().add(new TextField("lastName"));
        getForm().add(new DateField("dateJoined"));
        getForm().add(new EmailField("email"));
    }
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.