public class UIEventQueue extends Object implements Serializable
UIScreen.| Constructor and Description |
|---|
UIEventQueue() |
| Modifier and Type | Method and Description |
|---|---|
void |
addEventToQueue(UIEvent uiEvent,
UIListener uiListener)
Adds an event to the event queue.
|
protected void |
failNoInstances(Variant.RecordVariant executionContext,
UIListener uiListener)
By default LSPS rejects to silently not execute a listener if there are no instances of the 'execution context' components.
|
ComponentsToProcess |
getComponentsToProcess(UIEvent triggeringEvent)
Returns the definitions of the components for which value change events should be processed.
|
Map<UIEventQueueEntry,Set<RecordHolder>> |
processEventQueue(ComponentsToProcess componentsToProcess,
LspsFormConnector.ValidationErrors validationErrors)
Processes the queued events.
|
void |
removeAllActionEvents(boolean keepActionsWhichExecuteEvenWhenInvalidComponents)
Removes all action and application events.
|
void |
removeAllEvents()
Removes all events.
|
void |
removeInvalidPendingChangeEvents(Set<UIComponent> refreshedComponents)
Removes all pending change events for the refreshed and hidden components.
|
public void addEventToQueue(UIEvent uiEvent, UIListener uiListener)
uiEvent - not null.uiListener - not null.protected void failNoInstances(Variant.RecordVariant executionContext, UIListener uiListener)
executionContext - execution context of the listener, not null.uiListener - the listener itself, not null.public ComponentsToProcess getComponentsToProcess(UIEvent triggeringEvent)
null is returned, all components should be processed.triggeringEvent - the event which triggered the event processing, may be null.public Map<UIEventQueueEntry,Set<RecordHolder>> processEventQueue(ComponentsToProcess componentsToProcess, LspsFormConnector.ValidationErrors validationErrors)
componentsToProcess - validationErrors - gradually filled with validation errors. Not null, modified by this method.public void removeAllEvents()
public void removeAllActionEvents(boolean keepActionsWhichExecuteEvenWhenInvalidComponents)
public void removeInvalidPendingChangeEvents(Set<UIComponent> refreshedComponents)
refreshedComponents - remove value change events for these components. Not null, may be empty.Copyright © 2007-2018 Whitestein Technologies. All Rights Reserved.