FocusEvent.
| Modifier and Type | Class and Description |
|---|---|
| public static class | FocusListener.
Fired when an actor gains or loses keyboard or scroll focus. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | handle(Event event)
Implements com. Try to handle the given event, if it is applicable. |
| public void | keyboardFocusChanged(FocusListener.
The event target, which is the actor that emitted the focus event. actor, boolean focused)
|
| public void | scrollFocusChanged(FocusListener.
The event target, which is the actor that emitted the focus event. actor, boolean focused)
|
| FocusListener | back to summary |
|---|---|
| public FocusListener() | |
| handle | back to summary |
|---|---|
| public boolean handle(Event event) Implements com. Doc from com. Try to handle the given event, if it is applicable. | |
| keyboardFocusChanged | back to summary |
|---|---|
public void keyboardFocusChanged(FocusListener.
| |
| scrollFocusChanged | back to summary |
|---|---|
public void scrollFocusChanged(FocusListener.
| |
| Modifier and Type | Class and Description |
|---|---|
| public static enum |
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private Actor | |
| private FocusListener. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Actor | |
| public FocusListener. | |
| public boolean | |
| public void | reset()
Overrides com. Implements com. Resets the object for reuse. |
| public void | |
| public void | |
| public void |
| focused | back to summary |
|---|---|
| private boolean focused | |
| relatedActor | back to summary |
|---|---|
| private Actor relatedActor | |
| type | back to summary |
|---|---|
| private FocusListener. | |
| FocusEvent | back to summary |
|---|---|
| public FocusEvent() | |
| getRelatedActor | back to summary |
|---|---|
| public Actor getRelatedActor() The actor related to the event. When focus is lost, this is the new actor being focused, or null. When focus is gained, this is the previous actor that was focused, or null.
| |
| getType | back to summary |
|---|---|
| public FocusListener. | |
| isFocused | back to summary |
|---|---|
| public boolean isFocused() | |
| reset | back to summary |
|---|---|
| public void reset() Overrides com. Implements com. Doc from com. Resets the object for reuse. Object references should be nulled and fields may be set to default values. | |
| setFocused | back to summary |
|---|---|
| public void setFocused(boolean focused) | |
| setRelatedActor | back to summary |
|---|---|
public void setRelatedActor(Actor relatedActor)
| |
| setType | back to summary |
|---|---|
| public void setType(FocusListener. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final FocusListener. | |
| public static final FocusListener. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static FocusListener. | |
| public static FocusListener. |
| keyboard | back to summary |
|---|---|
| public static final FocusListener. | |
| scroll | back to summary |
|---|---|
| public static final FocusListener. | |
| Type | back to summary |
|---|---|
| private Type() | |
| valueOf | back to summary |
|---|---|
| public static FocusListener. | |
| values | back to summary |
|---|---|
| public static FocusListener. | |