public abstract static class WidgetAction.State extends Object
Modifier and Type | Field and Description |
---|---|
static WidgetAction.State |
CHAIN_ONLY
The state that means: The event is processed by the action and only actions that are in the same chain can process the event too.
|
static WidgetAction.State |
CONSUMED
The state that means: The event is processed by the action and the processing has to stopped immediately (no other action should processed it).
|
static WidgetAction.State |
REJECTED
The state that means: The event is not processed by the action and has to be processed by other actions too.
|
Modifier and Type | Method and Description |
---|---|
static WidgetAction.State |
createLocked(Widget lockedWidget,
WidgetAction lockedAction)
Creates a state that means: The event is processed and the processing has to stopped immediately (no other action should processed it).
|
abstract WidgetAction |
getLockedAction()
Returns whether (and by which action) the next event has to be processed prior to regular processing.
|
abstract Widget |
getLockedWidget()
Returns whether (and by which widget) the next event has to be processed prior to regular processing.
|
abstract boolean |
isConsumed()
Returns whether the event is consumed
|
abstract boolean |
isLockedInChain()
Returns whether the event processing has to be stopped after the processing by the chain where the actions is added.
|
public static final WidgetAction.State REJECTED
public static final WidgetAction.State CONSUMED
public static final WidgetAction.State CHAIN_ONLY
public static WidgetAction.State createLocked(Widget lockedWidget, WidgetAction lockedAction)
public abstract boolean isLockedInChain()
public abstract boolean isConsumed()
public abstract Widget getLockedWidget()
public abstract WidgetAction getLockedAction()