public class TextArea.TextAreaListener extends TextField.TextFieldClickListener
visualPressedDuration| Constructor and Description |
|---|
TextAreaListener() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
goEnd(boolean jump) |
protected void |
goHome(boolean jump) |
boolean |
keyDown(InputEvent event,
int keycode)
Called when a key goes down.
|
boolean |
keyTyped(InputEvent event,
char character)
Called when a key is typed.
|
protected void |
setCursorPosition(float x,
float y) |
clicked, keyUp, scheduleKeyRepeatTask, touchDown, touchDragged, touchUpcancel, enter, exit, getButton, getPressedButton, getPressedPointer, getTapCount, getTapSquareSize, getTouchDownX, getTouchDownY, inTapSquare, inTapSquare, invalidateTapSquare, isOver, isOver, isPressed, isVisualPressed, setButton, setTapCount, setTapCountInterval, setTapSquareSizehandle, mouseMoved, scrolledprotected void setCursorPosition(float x,
float y)
setCursorPosition in class TextField.TextFieldClickListenerpublic boolean keyDown(InputEvent event, int keycode)
InputListenerhandled.keyDown in class TextField.TextFieldClickListenerpublic boolean keyTyped(InputEvent event, char character)
InputListenerhandled.keyTyped in class TextField.TextFieldClickListenercharacter - May be 0 for key typed events that don't map to a character (ctrl, shift, etc).protected void goHome(boolean jump)
goHome in class TextField.TextFieldClickListenerprotected void goEnd(boolean jump)
goEnd in class TextField.TextFieldClickListener