T
- the type of UIComponent
that fired this event.public abstract class StateChangeEvent<T extends UIComponent> extends ComponentEvent<T>
UIComponent
changes state.Modifier and Type | Class and Description |
---|---|
static class |
StateChangeEvent.ActiveStateChange<T extends UIComponent>
Fired when a
UIComponent gets activated or deactivated. |
static class |
StateChangeEvent.DisabledStateChange<T extends UIComponent>
Fired when a
UIComponent visibility changes. |
static class |
StateChangeEvent.FocusStateChange<T extends UIComponent>
Fired when a
UIComponent gets focused. |
static class |
StateChangeEvent.HoveredStateChange<T extends UIComponent>
Fired when a
UIComponent gets hovered. |
static class |
StateChangeEvent.VisibleStateChange<T extends UIComponent>
Fired when a
UIComponent visibility changes. |
ComponentEvent.ValueChange<T extends UIComponent,S>
Modifier and Type | Field and Description |
---|---|
protected boolean |
state |
component
Constructor and Description |
---|
StateChangeEvent(T component,
boolean state) |
Modifier and Type | Method and Description |
---|---|
boolean |
getState() |
getComponent, isFrom
cancel, isCancelled
public StateChangeEvent(T component, boolean state)
public boolean getState()
UIComponent
that fired this StateChangeEvent
event.