public static class FocusListener.FocusEvent extends Event
Modifier and Type | Class and Description |
---|---|
static class |
FocusListener.FocusEvent.Type |
Constructor and Description |
---|
FocusListener.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)
public Actor getRelatedActor()
public void setRelatedActor(Actor relatedActor)
relatedActor
- May be null.Copyright © 2015. All rights reserved.