Example usage for Java com.badlogic.gdx.scenes.scene2d.ui TextField fields, constructors, methods, implement or subclass
The text is from its open source code.
TextField(String text, Skin skin, String styleName) | |
TextField(String text, Skin skin) | |
TextField(String text, TextFieldStyle style) |
int | getCursorPosition() |
OnscreenKeyboard | getOnscreenKeyboard() Default is an instance of DefaultOnscreenKeyboard . |
String | getText() |
void | next(boolean up) Focuses the next TextField. |
void | selectAll() |
void | setCursorPosition(int cursorPosition) Sets the cursor position and clears any selection. |
void | setFocusTraversal(boolean focusTraversal) If true (the default), tab/shift+tab will move to the next text field. |
void | setMaxLength(int maxLength) |
void | setMessageText(String messageText) Sets the text that will be drawn in the text field if no text has been entered. |
void | setPasswordCharacter(char passwordCharacter) Sets the password character for the text field. |
void | setPasswordMode(boolean passwordMode) If true, the text in this text field will be shown as bullet characters. |
void | setText(String str) |
void | setTextFieldFilter(TextFieldFilter filter) |
void | setTextFieldListener(TextFieldListener listener) |