Package com.iizix.api.vs
Class VSStateEvent
- All Implemented Interfaces:
- IMessageBox,- IVSComponentState
The VirtualSpace State Event is fired when the VirtualSpace state changes for a component, or when connected to the VirtualSpace, for every child item in it.
- Author:
- Christopher Mindus
- Nested Class Summary- Nested classes/interfaces inherited from interface com.iizix.gyro.IMessageBox- IMessageBox.Icon- Nested classes/interfaces inherited from interface com.iizix.prop.vs.IVSComponentState- IVSComponentState.State
- Field Summary- Fields inherited from interface com.iizix.gyro.IMessageBox- ICON_ERROR, ICON_INFORMATION, ICON_MAP, ICON_NONE, ICON_QUESTION, ICON_WARNING
- Constructor SummaryConstructorsConstructorDescription- VSStateEvent- (IVSComponent source, IVSComponentState.State state, boolean stateValue, GProp<?> trigger) Constructs the event for a change event with a property being the trigger source, e.g.
- Method Summary- 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 Details- VSStateEventpublic VSStateEvent- (IVSComponent source, IVSComponentState.State state, boolean stateValue, GProp<?> trigger) Constructs the event for a change event with a property being the trigger source, e.g. an UIButton or UICheckBox.- Parameters:
- source- The source.
- state- The state that changed.
- stateValue- The new state value.
- trigger- The trigger property.
 
 
- Method Details- getSourceGets the VirtualSpace item that is the source of the event, i.e. the item that changes selection state.- Overrides:
- getSourcein class- BaseEvent<IVSComponent>
- Returns:
- The VSComponent with the selection state changed.
 
- getStateReturns the state that changed.- Returns:
- The state changed.
 
- getStateValuepublic boolean getStateValue()Returns the state value that changed.- For - IVSComponentState.State.MESSAGEthe value is the validity flag, i.e. validity = true means no message.- Returns:
- The new component state value.
 
- paramStringGets the parameter string.- Overrides:
- paramStringin class- VSBaseEventWithTrigger<IVSComponent>