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) |
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.
|
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, setTapSquareSize, setVisualPressedhandle, 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)
InputListenertouch focus, so it will receive all touchDragged and
touchUp events, even those not over this actor, until touchUp is received. Also when true is returned, the event is
handled.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 ClickListenerInputEventpublic boolean keyDown(InputEvent event, int keycode)
InputListenerhandled.keyDown in class InputListenerpublic 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).Copyright © 2021. All rights reserved.