Package arc.scene.event
Class FocusListener.FocusEvent
java.lang.Object
arc.scene.event.SceneEvent
arc.scene.event.FocusListener.FocusEvent
- All Implemented Interfaces:
Pool.Poolable
- Enclosing class:
- FocusListener
Fired when an element gains or loses keyboard or scroll focus. Can be cancelled to prevent losing or gaining focus.
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionboolean
Fields inherited from class arc.scene.event.SceneEvent
bubbles, cancelled, capture, handled, listenerActor, stopped, targetActor
-
Constructor Summary
-
Method Summary
Methods inherited from class arc.scene.event.SceneEvent
cancel, handle, stop
-
Field Details
-
focused
public boolean focused -
type
-
-
Constructor Details
-
FocusEvent
public FocusEvent()
-
-
Method Details
-
reset
public void reset()Description copied from interface:Pool.Poolable
Resets the object for reuse. Object references should be nulled and fields may be set to default values.- Specified by:
reset
in interfacePool.Poolable
- Overrides:
reset
in classSceneEvent
-