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.IconNested classes/interfaces inherited from interface com.iizix.prop.vs.IVSComponentState
IVSComponentState.StateField Summary
Fields inherited from interface com.iizix.gyro.IMessageBox
ICON_ERROR, ICON_INFORMATION, ICON_MAP, ICON_NONE, ICON_QUESTION, ICON_WARNINGConstructor Summary
ConstructorsConstructorDescriptionVSStateEvent(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, getTriggerUICompMethods inherited from class com.iizix.api.vs.VSBaseEvent
getAppSessionGyro, getVirtualSpaceMethods 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, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.iizix.gyro.IMessageBox
messageBox, messageBox, messageBox
Constructor Details
VSStateEvent
public 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
getSource
Gets the VirtualSpace item that is the source of the event, i.e. the item that changes selection state.- Overrides:
getSourcein classBaseEvent<IVSComponent>- Returns:
- The VSComponent with the selection state changed.
getState
Returns the state that changed.- Returns:
- The state changed.
getStateValue
public 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.
paramString
Gets the parameter string.- Overrides:
paramStringin classVSBaseEventWithTrigger<IVSComponent>