Package com.iizix.api.vs
Class VSActionEvent
- java.lang.Object
- com.iizix.api.BaseEvent<VSCOMP>
- com.iizix.api.vs.VSBaseEvent<VSCOMP>
- com.iizix.api.vs.VSBaseEventWithTrigger<VSAction>
- com.iizix.api.vs.VSActionEvent
- All Implemented Interfaces:
IMessageBox
public class VSActionEvent extends VSBaseEventWithTrigger<VSAction>
The VirtualSpace 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 Summary
Constructors Constructor Description VSActionEvent(VSAction source, GProp<?> trigger, UIComp contextComponent)
Constructs the event for an action with a property being the trigger source, e.g.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UIComp
getContextComponent()
The context UI component that caused the event, when the event is generated from a context menu.VSAction
getSource()
Gets the VirtualSpace Action that is the source of the event.protected java.lang.String
paramString()
Gets the parameter string.Methods inherited from class com.iizix.api.vs.VSBaseEventWithTrigger
getTrigger, getTriggerClientSessionGyro, getTriggerUIComp
Methods inherited from class com.iizix.api.vs.VSBaseEvent
getAppSessionGyro, 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 Detail
VSActionEvent
public VSActionEvent(VSAction source, GProp<?> trigger, UIComp contextComponent)
Constructs the event for an action with a property being the trigger source, e.g. an UIButton or UICheckBox.- Parameters:
source
- The action.trigger
- The trigger property.contextComponent
- The context component causing the event, used for context menus.
Method Detail
getSource
public VSAction getSource()
Gets the VirtualSpace Action that is the source of the event.
getContextComponent
public UIComp getContextComponent()
The 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.
paramString
protected java.lang.String paramString()
Gets the parameter string.- Overrides:
paramString
in classVSBaseEventWithTrigger<VSAction>