Java com.badlogic.gdx.scenes.scene2d.ui TextField fields, constructors, methods, implement or subclass

Example usage for Java com.badlogic.gdx.scenes.scene2d.ui TextField fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.badlogic.gdx.scenes.scene2d.ui TextField.

The text is from its open source code.

Subclass

com.badlogic.gdx.scenes.scene2d.ui.TextField has subclasses.
Click this link to see all its subclasses.

Constructor

Method

intgetCursorPosition()
OnscreenKeyboardgetOnscreenKeyboard()
Default is an instance of DefaultOnscreenKeyboard .
StringgetText()
voidnext(boolean up)
Focuses the next TextField.
voidselectAll()
voidsetCursorPosition(int cursorPosition)
Sets the cursor position and clears any selection.
voidsetFocusTraversal(boolean focusTraversal)
If true (the default), tab/shift+tab will move to the next text field.
voidsetMaxLength(int maxLength)
voidsetMessageText(String messageText)
Sets the text that will be drawn in the text field if no text has been entered.
voidsetPasswordCharacter(char passwordCharacter)
Sets the password character for the text field.
voidsetPasswordMode(boolean passwordMode)
If true, the text in this text field will be shown as bullet characters.
voidsetText(String str)
voidsetTextFieldFilter(TextFieldFilter filter)
voidsetTextFieldListener(TextFieldListener listener)