Package ch.sahits.game.graphic.layout

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


   * 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

TOP

Related Classes of ch.sahits.game.graphic.layout.TextInput

Copyright © 2018 www.massapicom. 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.