public class TextField.TextFieldClickListener extends ClickListener
visualPressedDuration| Constructor and Description |
|---|
TextFieldClickListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
clicked(InputEvent event,
float x,
float y) |
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.
|
boolean |
keyUp(InputEvent event,
int keycode)
Called when a key goes up.
|
protected void |
scheduleKeyRepeatTask(int keycode) |
protected void |
setCursorPosition(float x,
float y) |
boolean |
touchDown(InputEvent event,
float x,
float y,
int pointer,
int button)
Called when a mouse button or a finger touch goes down on the actor.
|
void |
touchDragged(InputEvent event,
float x,
float y,
int pointer)
Called when a mouse button or a finger touch is moved anywhere, but only if touchDown previously returned true for the
mouse button or touch.
|
void |
touchUp(InputEvent event,
float x,
float y,
int pointer,
int button)
Called when a mouse button or a finger touch goes up anywhere, but only if touchDown previously returned true for the mouse
button or touch.
|
cancel, enter, exit, getButton, getPressedButton, getPressedPointer, getTapCount, getTapSquareSize, getTouchDownX, getTouchDownY, inTapSquare, inTapSquare, invalidateTapSquare, isOver, isOver, isPressed, isVisualPressed, setButton, setTapCount, setTapCountInterval, setTapSquareSizehandle, mouseMoved, scrolledpublic void clicked(InputEvent event, float x, float y)
clicked in class ClickListenerpublic boolean touchDown(InputEvent event, float x, float y, int pointer, int button)
InputListenerhandled.touchDown in class ClickListenerInputEventpublic void touchDragged(InputEvent event, float x, float y, int pointer)
InputListenerhandled.touchDragged in class ClickListenerInputEventpublic void touchUp(InputEvent event, float x, float y, int pointer, int button)
InputListenerhandled.touchUp in class ClickListenerInputEventprotected void setCursorPosition(float x,
float y)
protected void goHome(boolean jump)
protected void goEnd(boolean jump)
public boolean keyDown(InputEvent event, int keycode)
InputListenerhandled.keyDown in class InputListenerprotected void scheduleKeyRepeatTask(int keycode)
public boolean keyUp(InputEvent event, int keycode)
InputListenerhandled.keyUp in class InputListenerpublic boolean keyTyped(InputEvent event, char character)
InputListenerhandled.keyTyped in class InputListenercharacter - May be 0 for key typed events that don't map to a character (ctrl, shift, etc).