Package | Description |
---|---|
com.badlogic.gdx.scenes.scene2d | |
com.badlogic.gdx.scenes.scene2d.ui | |
com.badlogic.gdx.scenes.scene2d.utils |
Modifier and Type | Method and Description |
---|---|
void |
InputListener.enter(InputEvent event,
float x,
float y,
int pointer,
Actor fromActor)
Called any time the mouse cursor or a finger touch is moved over an actor.
|
void |
InputListener.exit(InputEvent event,
float x,
float y,
int pointer,
Actor toActor)
Called any time the mouse cursor or a finger touch is moved out of an actor.
|
boolean |
InputListener.keyDown(InputEvent event,
int keycode)
Called when a key goes down.
|
boolean |
InputListener.keyTyped(InputEvent event,
char character)
Called when a key is typed.
|
boolean |
InputListener.keyUp(InputEvent event,
int keycode)
Called when a key goes up.
|
boolean |
InputListener.mouseMoved(InputEvent event,
float x,
float y)
Called any time the mouse is moved when a button is not down.
|
boolean |
InputListener.scrolled(InputEvent event,
float x,
float y,
int amount)
Called when the mouse wheel has been scrolled.
|
boolean |
InputListener.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 |
InputListener.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 |
InputListener.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.
|
Modifier and Type | Method and Description |
---|---|
void |
TextField.TextFieldClickListener.clicked(InputEvent event,
float x,
float y) |
boolean |
TextField.TextFieldClickListener.keyDown(InputEvent event,
int keycode) |
boolean |
TextArea.TextAreaListener.keyDown(InputEvent event,
int keycode) |
boolean |
TextField.TextFieldClickListener.keyTyped(InputEvent event,
char character) |
boolean |
TextArea.TextAreaListener.keyTyped(InputEvent event,
char character) |
boolean |
TextField.TextFieldClickListener.keyUp(InputEvent event,
int keycode) |
boolean |
TextField.TextFieldClickListener.touchDown(InputEvent event,
float x,
float y,
int pointer,
int button) |
void |
TextField.TextFieldClickListener.touchDragged(InputEvent event,
float x,
float y,
int pointer) |
void |
TextField.TextFieldClickListener.touchUp(InputEvent event,
float x,
float y,
int pointer,
int button) |
Modifier and Type | Method and Description |
---|---|
void |
ClickListener.clicked(InputEvent event,
float x,
float y) |
void |
DragScrollListener.drag(InputEvent event,
float x,
float y,
int pointer) |
void |
DragListener.drag(InputEvent event,
float x,
float y,
int pointer) |
void |
DragListener.dragStart(InputEvent event,
float x,
float y,
int pointer) |
abstract DragAndDrop.Payload |
DragAndDrop.Source.dragStart(InputEvent event,
float x,
float y,
int pointer) |
void |
DragScrollListener.dragStop(InputEvent event,
float x,
float y,
int pointer) |
void |
DragListener.dragStop(InputEvent event,
float x,
float y,
int pointer) |
void |
DragAndDrop.Source.dragStop(InputEvent event,
float x,
float y,
int pointer,
DragAndDrop.Payload payload,
DragAndDrop.Target target) |
void |
ClickListener.enter(InputEvent event,
float x,
float y,
int pointer,
Actor fromActor) |
void |
ClickListener.exit(InputEvent event,
float x,
float y,
int pointer,
Actor toActor) |
void |
ActorGestureListener.fling(InputEvent event,
float velocityX,
float velocityY,
int button) |
void |
ActorGestureListener.pan(InputEvent event,
float x,
float y,
float deltaX,
float deltaY)
The delta is the difference in stage coordinates since the last pan.
|
void |
ActorGestureListener.pinch(InputEvent event,
Vector2 initialPointer1,
Vector2 initialPointer2,
Vector2 pointer1,
Vector2 pointer2) |
void |
ActorGestureListener.tap(InputEvent event,
float x,
float y,
int count,
int button) |
boolean |
DragListener.touchDown(InputEvent event,
float x,
float y,
int pointer,
int button) |
boolean |
ClickListener.touchDown(InputEvent event,
float x,
float y,
int pointer,
int button) |
void |
ActorGestureListener.touchDown(InputEvent event,
float x,
float y,
int pointer,
int button) |
void |
DragListener.touchDragged(InputEvent event,
float x,
float y,
int pointer) |
void |
ClickListener.touchDragged(InputEvent event,
float x,
float y,
int pointer) |
void |
DragListener.touchUp(InputEvent event,
float x,
float y,
int pointer,
int button) |
void |
ClickListener.touchUp(InputEvent event,
float x,
float y,
int pointer,
int button) |
void |
ActorGestureListener.touchUp(InputEvent event,
float x,
float y,
int pointer,
int button) |
void |
ActorGestureListener.zoom(InputEvent event,
float initialDistance,
float distance) |
Copyright © 2014. All Rights Reserved.