Class VSActionEvent
- All Implemented Interfaces:
IMessageBox
The VirtualSpace Action Event.
- Author:
- Christopher Mindus
Nested Class Summary
Nested classes/interfaces inherited from interface IMessageBox
IMessageBox.IconField Summary
Fields inherited from interface IMessageBox
ICON_ERROR, ICON_INFORMATION, ICON_MAP, ICON_NONE, ICON_QUESTION, ICON_WARNINGConstructor Summary
ConstructorsConstructorDescriptionVSActionEvent(VSAction source, GProp<?> trigger, UIComp contextComponent) Constructs the event for an action with a property being the trigger source, e.g.Method Summary
Modifier and TypeMethodDescriptionThe context UI component that caused the event, when the event is generated from a context menu.Gets the VirtualSpace Action that is the source of the event.protected StringGets the parameter string.Methods inherited from class VSBaseEventWithTrigger
getTrigger, getTriggerClientSessionGyro, getTriggerUICompMethods inherited from class VSBaseEvent
getAppSessionGyro, getVirtualSpaceMethods inherited from class BaseEvent
getAction, getAction2, getActionNull, getActionNull2, getField, getField2, getFieldNull, getFieldNull2, getGroup, getGroup2, getGroupNull, getGroupNull2, getTable, getTable2, getTableNull, getTableNull2, getTime, getVirtualizedVirtualSpace, getVSComponent, getVSComponent2, getVSComponentNull, getVSComponentNull2, messageBox, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface IMessageBox
messageBox, messageBox, messageBox
Constructor Details
VSActionEvent
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 Details
getSource
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
Gets the parameter string.- Overrides:
paramStringin classVSBaseEventWithTrigger<VSAction>