Examples of TextInput


Examples of ch.sahits.game.graphic.layout.TextInput

   * Create a {@link TextInput} field with an optional preset text
   * @param value optional text of the input field
   * @return {@link TextInput} field
   */
  private TextInput addInput(String value) {
    TextInput input = new TextInput(metic);
    if (value !=null){
      input.setValue(value);
    }
    setFont(input);
    input.setSize(25);
    add(input,new MaximalGridLayoutConstraints(ECellPosition.LEFT));
    return input;
  }
View Full Code Here

Examples of com.barrybecker4.ui.components.TextInput

        this.setPreferredSize(new Dimension(EDITOR_WIDTH, 600));

        this.setBorder(
                BorderFactory.createTitledBorder( BorderFactory.createEtchedBorder(),"Edit current Scene" ) );

        nameInput_= new TextInput("name:", scene_.getName());
        nameInput_.setColumns(50);

        sceneText_ = new ScrollingTextArea();
        sceneText_.setEditable(true);
        sceneText_.setFont(StoryPanel.TEXT_FONT);
View Full Code Here

Examples of com.colorfulsoftware.rss.TextInput

          "textInput elements MUST contain a link element.");
    }

    try {
      link = rssDoc.buildLink("http://www.earthbeats.net");
      TextInput textInput = rssDoc.buildTextInput(title, description,
          name, link);
      assertNotNull(textInput);
      assertEquals(textInput.getTitle().getTitle(), "Submit");
      assertEquals(textInput.getDescription().getDescription(),
          "regular textarea");
      assertEquals(textInput.getName().getName(), "textArea");
      assertEquals(textInput.getLink().getLink(),
          "http://www.earthbeats.net");
    } catch (RSSpectException r) {
      fail("should not fail here.");
    }
  }
View Full Code Here

Examples of com.rometools.rome.feed.rss.TextInput

     * @param rssRoot the root element of the RSS document to parse for text-input information.
     * @return the parsed RSSTextInput bean.
     */
    protected TextInput parseTextInput(final Element rssRoot) {

        TextInput textInput = null;

        final Element eTextInput = getTextInput(rssRoot);
        if (eTextInput != null) {

            textInput = new TextInput();

            final Element title = eTextInput.getChild("title", getRSSNamespace());
            if (title != null) {
                textInput.setTitle(title.getText());
            }

            final Element description = eTextInput.getChild("description", getRSSNamespace());
            if (description != null) {
                textInput.setDescription(description.getText());
            }

            final Element name = eTextInput.getChild("name", getRSSNamespace());
            if (name != null) {
                textInput.setName(name.getText());
            }

            final Element link = eTextInput.getChild("link", getRSSNamespace());
            if (link != null) {
                textInput.setLink(link.getText());
            }

        }

        return textInput;
View Full Code Here

Examples of com.sun.syndication.feed.rss.TextInput

     *
     * @param rssRoot the root element of the RSS document to parse for text-input information.
     * @return the parsed RSSTextInput bean.
     */
    protected TextInput parseTextInput(Element rssRoot) {
        TextInput textInput = null;
        Element eTextInput = getTextInput(rssRoot);
        if (eTextInput!=null) {
            textInput = new TextInput();
            Element e = eTextInput.getChild("title",getRSSNamespace());
            if (e!=null) {
                textInput.setTitle(e.getText());
            }
            e = eTextInput.getChild("description",getRSSNamespace());
            if (e!=null) {
                textInput.setDescription(e.getText());
            }
            e = eTextInput.getChild("name",getRSSNamespace());
            if (e!=null) {
                textInput.setName(e.getText());
            }
            e = eTextInput.getChild("link",getRSSNamespace());
            if (e!=null) {
                textInput.setLink(e.getText());
            }
        }
        return textInput;
    }
View Full Code Here

Examples of de.willuhn.jameica.gui.input.TextInput

    if (this.endToEndId != null)
      return this.endToEndId;

    SepaSammelTransferBuchung s = this.getBuchung();

    this.endToEndId = new TextInput(s.getEndtoEndId(),HBCIProperties.HBCI_SEPA_ENDTOENDID_MAXLENGTH);
    this.endToEndId.setName(i18n.tr("End-to-End ID"));
    this.endToEndId.setValidChars(HBCIProperties.HBCI_SEPA_VALIDCHARS);
    this.endToEndId.setEnabled(!s.getSammelTransfer().ausgefuehrt());
    this.endToEndId.setHint(i18n.tr("freilassen wenn nicht ben�tigt"));
    this.endToEndId.setMandatory(false);
View Full Code Here

Examples of io.conducive.client.ui.widgets.gwt.TextInput

    private int EXP = 12;

    @Inject
    public LoginView(final EventBus eventBus) {

        final TextInput username = new TextInput("username").placeholder("Username").focus();
        final PasswordTextInput password = new PasswordTextInput("password").placeholder("Password");

        Runnable submit = new Runnable() {
            @Override
            public void run() {
                login(username, password, eventBus);
            }
        };

        username.enter(submit);
        password.enter(submit);

        initWidget(div().id("login-content").wrap(
                    box("login-form", noclass).radius().wrap(
                        h2().text("Please Sign In"),
View Full Code Here

Examples of org.apache.commons.betwixt.examples.rss.TextInput

        itemTwo.setTitle("Another News Item");
        itemTwo.setLink("http://jakarta.apache.org/commons/betwixt");
        itemTwo.setDescription("Blah Blah Blah");
        channel.addItem(itemTwo);       

        TextInput textInput = new TextInput();
        textInput.setTitle("Send");
        textInput.setDescription("Comments about Betwixt news");
        textInput.setName("Response text");
        textInput.setLink("http://jakarta.apache.org/commons/betwixt");
        channel.setTextInput(textInput);

        writer.write(channel);

        String xml = out.getBuffer().toString();
View Full Code Here

Examples of org.apache.pivot.wtk.TextInput

                // Get the data being edited
                Object cellData = rowData.get(columnName);

                // Create the text input
                textInput = new TextInput();
                textInput.setText(cellData == null ? "" : cellData.toString());
                textInput.getComponentKeyListeners().add(textInputKeyHandler);

                // Create and open the popup
                popup = new Window(textInput);
View Full Code Here

Examples of org.apache.pivot.wtk.TextInput

    @Override
    public void install(Component component) {
        super.install(component);

        TextInput textInput = (TextInput)component;
        textInput.getTextInputListeners().add(this);
        textInput.getTextInputCharacterListeners().add(this);
        textInput.getTextInputSelectionListeners().add(this);

        textInput.setCursor(Cursor.TEXT);

        TextNode textNode = textInput.getTextNode();
        if (textNode != null) {
            updateSelection();
        }
    }
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.