public class VSStateEvent extends VSBaseEventWithTrigger<IVSComponent> implements IVSComponentState
IVSComponentState.State
IMessageBox.Icon
ICON_ERROR, ICON_INFORMATION, ICON_MAP, ICON_NONE, ICON_QUESTION, ICON_WARNING
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
IVSComponent |
getSource()
Gets the VirtualSpace item that is the source of the event, i.e.
|
IVSComponentState.State |
getState()
Returns the state that changed.
|
boolean |
getStateValue()
Returns the state value that changed.
|
protected String |
paramString()
Gets the parameter string.
|
getTrigger, getTriggerClientSessionGyro, getTriggerUIComp
getAppSessionGyro, getVirtualSpace
getAction, getAction2, getActionNull, getActionNull2, getField, getField2, getFieldNull, getFieldNull2, getGroup, getGroup2, getGroupNull, getGroupNull2, getTable, getTable2, getTableNull, getTableNull2, getTime, getVirtualizedVirtualSpace, getVSComponent, getVSComponent2, getVSComponentNull, getVSComponentNull2, messageBox, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
messageBox, messageBox
public VSStateEvent(IVSComponent source, IVSComponentState.State state, boolean stateValue, GProp<?> trigger)
source
- The source.state
- The state that changed.stateValue
- The new state value.trigger
- The trigger property.public IVSComponent getSource()
getSource
in class BaseEvent<IVSComponent>
public IVSComponentState.State getState()
public boolean getStateValue()
For IVSComponentState.State.MESSAGE
the value is the validity flag,
i.e. validity = true means no message.
protected String paramString()
paramString
in class VSBaseEventWithTrigger<IVSComponent>
iizi® is a registered trademark of Mindus SARL. © Copyright Mindus SARL, 2020. All rights reserved.