Examples of TextField


Examples of com.badlogic.gdx.scenes.scene2d.ui.TextField

            table.row().height(70);
            table.add(quitButton).center().width(300).pad(5f);
        }
        else {
            // El usuario aún no he escrito su nombre
            final TextField nameTextField = new TextField("TYPE YOUR NAME", game.getSkin());

            TextButton quitButton = new TextButton("OK", game.getSkin());
            quitButton.addListener(new ClickListener() {
                public void touchUp(InputEvent event, float x, float y, int pointer, int button) {
                    ConfigurationManager.addScores(nameTextField.getText(), game.score);
                    stage.clear();
                    done = true;
                    loadScreen();
                }
            });
View Full Code Here

Examples of com.cburch.logisim.comp.TextField

    }
  }
 
  private void createField(AttributeSet attrs, String text) {
    Font font = attrs.getValue(fontAttr);
    field = new TextField(fieldX, fieldY, halign, valign, font);
    field.setText(text);
    field.addTextFieldListener(this);
  }
View Full Code Here

Examples of com.extjs.gxt.ui.client.widget.form.TextField

    verticalPanel_2.setWidth(VERTICAL_PANEL_WIDTH);
    horizontalPanelPassword.add(verticalPanel_2);
   
    VerticalPanel verticalPanel_3 = new VerticalPanel();
   
    textPassword = new TextField();
//    textPassword.addKeyListener(new KeyListener() {
//      public void componentKeyPress(ComponentEvent event) {
//        presionoEnter(event);
//      }
//    });
View Full Code Here

Examples of com.gwtext.client.widgets.form.TextField

      cols[idx].setHeader(var);
      cols[idx].setDataIndex(var);
      cols[idx].setSortable(false);
      cols[idx].setWidth(50);
      cols[idx].setResizable(true);
      cols[idx].setEditor(new GridEditor(new TextField()));
      fds[idx] = new StringFieldDef(var);
      idx++;
    }
    final RecordDef recordDef = new RecordDef(fds);
    ArrayReader reader = new ArrayReader(recordDef);
View Full Code Here

Examples of com.ibm.sbt.services.client.connections.activities.TextField

                    appendChildren(element, name, email, userid);
                } else {
                    appendChildren(element, name, userid);
                };
      } else if (field instanceof TextField) {
        TextField textField = (TextField)field;
        Element summary = element(Namespace.ATOM.getUrl(), "summary",
            attribute("type", "text"));
        addText(summary, textField.getSummary());
        appendChildren(element, summary);
      }
     
      elements.add(element);
    }
View Full Code Here

Examples of com.itextpdf.text.pdf.TextField

    /** Creates a new event. This constructor will be used if you need to position fields with a Cell Event.
     * @throws DocumentException
     * @throws IOException*/
    public FieldPositioningEvents(PdfWriter writer, String text) throws IOException, DocumentException {
      this.fieldWriter = writer;
      TextField tf = new TextField(writer, new Rectangle(0, 0), text);
    tf.setFontSize(14);
    cellField = tf.getTextField();
  }
View Full Code Here

Examples of com.lowagie.text.pdf.TextField

            ColumnText.showTextAligned(cb, LwgElement.ALIGN_LEFT, p2, 50, 550, 0);
            cb.endLayer();
            cb.beginLayer(l3);
            ColumnText.showTextAligned(cb, LwgElement.ALIGN_LEFT, p3, 50, 500, 0);
            cb.endLayer();
            TextField ff = new TextField(writer, new LwgRectangle(200, 600, 300, 620), "field1");
            ff.setBorderColor(Color.blue);
            ff.setBorderStyle(PdfBorderDictionary.STYLE_SOLID);
            ff.setBorderWidth(TextField.BORDER_WIDTH_THIN);
            ff.setText("I'm a form field");
            PdfFormField form = ff.getTextField();
            form.setLayer(l4);
            writer.addAnnotation(form);
            LwgImage img = LwgImage.getInstance("pngnow.png");
            img.setLayer(l4);
            img.setAbsolutePosition(200, 550);
View Full Code Here

Examples of com.sencha.gxt.widget.core.client.form.TextField

   *
   * @param title the title of the message box
   * @param message the message that appears in the message box
   */
  public PromptMessageBox(String title, String message) {
    super(new TextField(), title, message);
  }
View Full Code Here

Examples of com.substanceofcode.testlcdui.TextField

    m_getFeedTitleList = false;
    m_listParser = null;
    if(url.length()==0) {
      url = "http://";
    }
    m_feedListURL = new TextField("URL", url, 256, TextField.URL);
    super.append(m_feedListURL);
   
    m_importFormatGroup = new ChoiceGroup("Format", ChoiceGroup.EXCLUSIVE,
    new String[] {"OPML", "line by line"
        //#ifndef DSMALLMEM
        , "HTML OPML Auto link", "HTML RSS Auto links"
        , "HTML Links"
        //#endif
        },
        null);
    super.append(m_importFormatGroup);
   
    m_feedNameFilter = new TextField("Name filter string (optional)", "", 256, TextField.ANY);
    super.append(m_feedNameFilter);
    m_feedURLFilter = new TextField("URL filter string (optional)", "", 256, TextField.ANY);
    super.append(m_feedURLFilter);
   
    final String username = m_appSettings.getImportUrlUsername();
    m_feedListUsername  = new TextField("Username (optional)", username, 64, TextField.ANY);
    super.append(m_feedListUsername);
   
    final String password = m_appSettings.getImportUrlPassword();
    m_feedListPassword  = new TextField("Password (optional)", password, 64, TextField.PASSWORD);
    super.append(m_feedListPassword);
    m_importTitleGroup  = new ChoiceGroup("Missing title (optionl)",
        ChoiceGroup.EXCLUSIVE,
        new String[] {"Skip feed with missing title",
         "Get missing titles from feed"}, null);
View Full Code Here

Examples of com.substanceofcode.testlcdui.TextField

        }
       
        /** Copy link to clipboard.  */
        if( c == m_copyLinkCmd ){
      String link = citem.getLink();
      m_itemForm.set(citemLnkNbr, new TextField("Link:", link,
          link.length(), TextField.URL));
      //#ifdef DMIDP10
      setCurrent(m_itemForm);
      //#else
      setCurrentItem(m_itemForm.get(citemLnkNbr));
      //#endif
        }
       
        /** Copy enclosure to clipboard.  */
        if( c == m_copyEnclosureCmd ){
      final String link = citem.getEnclosure();
      m_itemForm.set(citemEnclNbr, new TextField("Enclosure:",
                link, link.length(), TextField.URL));
      //#ifdef DMIDP10
      setCurrent(m_itemForm);
      //#else
      setCurrentItem(m_itemForm.get(citemEnclNbr));
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.