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, stop
public void reset()
Pool.Poolable
reset
in interface Pool.Poolable
reset
in class Event
public boolean isFocused()
public void setFocused(boolean focused)
public FocusListener.FocusEvent.Type getType()
public void setType(FocusListener.FocusEvent.Type focusType)
@Null public Actor getRelatedActor()
Copyright © 2020. All rights reserved.