public static class FocusListener.FocusEvent extends Event
| Modifier and Type | Class and Description |
|---|---|
static class |
FocusListener.FocusEvent.Type |
| Constructor and Description |
|---|
FocusEvent() |
| Modifier and Type | Method and Description |
|---|---|
Actor |
getRelatedActor()
The actor related to the event.
|
FocusListener.FocusEvent.Type |
getType() |
boolean |
isFocused() |
void |
reset()
Resets the object for reuse.
|
void |
setFocused(boolean focused) |
void |
setRelatedActor(Actor relatedActor) |
void |
setType(FocusListener.FocusEvent.Type focusType) |
cancel, getBubbles, getListenerActor, getStage, getTarget, handle, isCancelled, isCapture, isHandled, isStopped, setBubbles, setCapture, setListenerActor, setStage, setTarget, stoppublic void reset()
Pool.Poolablereset in interface Pool.Poolablereset in class Eventpublic boolean isFocused()
public void setFocused(boolean focused)
public FocusListener.FocusEvent.Type getType()
public void setType(FocusListener.FocusEvent.Type focusType)
@Null public Actor getRelatedActor()
Copyright © 2021. All rights reserved.