Package | Description |
---|---|
com.badlogic.gdx.scenes.scene2d | |
com.badlogic.gdx.scenes.scene2d.actions | |
com.badlogic.gdx.scenes.scene2d.ui | |
com.badlogic.gdx.scenes.scene2d.utils |
Modifier and Type | Class and Description |
---|---|
class |
InputListener
EventListener for low-level input events.
|
Modifier and Type | Method and Description |
---|---|
Array<EventListener> |
Actor.getCaptureListeners() |
Array<EventListener> |
Actor.getListeners() |
Modifier and Type | Method and Description |
---|---|
boolean |
Actor.addCaptureListener(EventListener listener)
Adds a listener that is only notified during the capture phase.
|
boolean |
Stage.addCaptureListener(EventListener listener)
Adds a capture listener to the root.
|
boolean |
Actor.addListener(EventListener listener)
Add a listener to receive events that
hit this actor. |
boolean |
Stage.addListener(EventListener listener)
Adds a listener to the root.
|
void |
Stage.addTouchFocus(EventListener listener,
Actor listenerActor,
Actor target,
int pointer,
int button)
Adds the listener to be notified for all touchDragged and touchUp events for the specified pointer and button.
|
void |
Stage.cancelTouchFocusExcept(EventListener exceptListener,
Actor exceptActor)
Cancels touch focus for all listeners except the specified listener.
|
boolean |
Actor.removeCaptureListener(EventListener listener) |
boolean |
Stage.removeCaptureListener(EventListener listener)
Removes a listener from the root.
|
boolean |
Actor.removeListener(EventListener listener) |
boolean |
Stage.removeListener(EventListener listener)
Removes a listener from the root.
|
void |
Stage.removeTouchFocus(EventListener listener,
Actor listenerActor,
Actor target,
int pointer,
int button)
Removes the listener from being notified for all touchDragged and touchUp events for the specified pointer and button.
|
Modifier and Type | Method and Description |
---|---|
EventListener |
AddListenerAction.getListener() |
EventListener |
RemoveListenerAction.getListener() |
Modifier and Type | Method and Description |
---|---|
static AddListenerAction |
Actions.addListener(EventListener listener,
boolean capture) |
static AddListenerAction |
Actions.addListener(EventListener listener,
boolean capture,
Actor targetActor) |
static RemoveListenerAction |
Actions.removeListener(EventListener listener,
boolean capture) |
static RemoveListenerAction |
Actions.removeListener(EventListener listener,
boolean capture,
Actor targetActor) |
void |
AddListenerAction.setListener(EventListener listener) |
void |
RemoveListenerAction.setListener(EventListener listener) |
Modifier and Type | Class and Description |
---|---|
class |
TextArea.TextAreaListener
Input listener for the text area
|
class |
TextField.TextFieldClickListener
Basic input listener for the text field
|
Modifier and Type | Class and Description |
---|---|
class |
ActorGestureListener
Detects tap, long press, fling, pan, zoom, and pinch gestures on an actor.
|
class |
ChangeListener
Listener for
ChangeListener.ChangeEvent . |
class |
ClickListener
Detects mouse over, mouse or finger touch presses, and clicks on an actor.
|
class |
DragListener
Detects mouse or finger touch drags on an actor.
|
class |
DragScrollListener
Causes a scroll pane to scroll when a drag goes outside the bounds of the scroll pane.
|
class |
FocusListener
Listener for
FocusListener.FocusEvent . |