Package com.iizix.api.ui
Class UIActionEvent
- All Implemented Interfaces:
- IMessageBox
The UI component Action Event.
- Author:
- Christopher Mindus
- Nested Class Summary- Nested classes/interfaces inherited from interface com.iizix.gyro.IMessageBox- IMessageBox.Icon
- Field Summary- Fields inherited from interface com.iizix.gyro.IMessageBox- ICON_ERROR, ICON_INFORMATION, ICON_MAP, ICON_NONE, ICON_QUESTION, ICON_WARNING
- Constructor SummaryConstructorsConstructorDescription- UIActionEvent- (IUIAction source) Constructs the event for an action without a trigger source.- UIActionEvent- (IUIAction source, GProp<?> trigger) Constructs the event for an action with a property being the trigger source, e.g.- UIActionEvent- (IUIAction source, GProp<?> trigger, UIComp contextComponent) Constructs the event for an action with a property being the trigger source, e.g.
- Method Summary- Methods inherited from class com.iizix.api.ui.UIBaseEvent- getAppSessionGyro, getClientSessionGyro, getContainerFirstUIComponent, getContainerFirstUIComponentNull, getFirstUIComponent, getFirstUIComponentNull, getPanelUIComponent, getPanelUIComponentNull, getUIPanel, getVirtualSpace- Methods inherited from class com.iizix.api.BaseEvent- getAction, getAction2, getActionNull, getActionNull2, getField, getField2, getFieldNull, getFieldNull2, getGroup, getGroup2, getGroupNull, getGroupNull2, getTable, getTable2, getTableNull, getTableNull2, getTime, getVirtualizedVirtualSpace, getVSComponent, getVSComponent2, getVSComponentNull, getVSComponentNull2, messageBox, toString- Methods inherited from class java.lang.Object- clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait- Methods inherited from interface com.iizix.gyro.IMessageBox- messageBox, messageBox
- Constructor Details- UIActionEventConstructs the event for an action without a trigger source.- Parameters:
- source- The source.
- Throws:
- NullPointerException- If the source is null.
 
- UIActionEventConstructs the event for an action with a property being the trigger source, e.g. an UIButton.- Parameters:
- source- The source.
- trigger- The trigger property.
 
- UIActionEventConstructs the event for an action with a property being the trigger source, e.g. an UIButton.- Parameters:
- source- The source.
- trigger- The trigger property.
- contextComponent- The context component causing the event, used for context menus.
 
 
- Method Details- getTriggerGets the trigger property being the source of the event.- Returns:
- An instance of e.g. an UIButton or null if the trigger is not a property.
 
- getSourceGets the UI component Action that is the source of the event.
- getContextComponentThe context UI component that caused the event, when the event is generated from a context menu.- Returns:
- The UI component, null if not originating from a context menu.
 
- paramStringGets the parameter string.- Overrides:
- paramStringin class- BaseEvent<IUIAction>