Package com.iizix.prop.vs
Interface IVSActionListener
- All Superinterfaces:
- IVSComponentListener,- IVSComponentState
 - All Known Subinterfaces:
- IVSActionLinkEnabler,- IVSActionListenerAsActor
 - All Known Implementing Classes:
- AbstractUIAction,- ActionsPanel,- EditorScreenActionProp,- EMLItemProp,- EUIButton,- EUIImage,- EUIMenuItem,- MLItemProp,- ScreenActionProp,- UIButton,- UIImage,- UIMenuItem,- VSActionAdapter
 - public interface IVSActionListener extends IVSComponentListener Interface used to listen to VS action events.- Author:
- Christopher Mindus
 
- Nested Class Summary- Nested classes/interfaces inherited from interface com.iizix.prop.vs.IVSComponentState- IVSComponentState.State
 
 - Method Summary- All Methods Instance Methods Abstract Methods - Modifier and Type - Method - Description - void- onActionCompleted(VSAction action, VSActionTXProcess process, java.lang.Throwable exception)Called after the action completes the TXP processing i.e.- void- onActionInvoked(VSAction action, VSActionTXProcess process)Called before the action invokes the Action Actors.- void- onBroken(VSRelativeReference<?> reference, VSAction action)Called when the property reference has been broken, i.e.- void- onResolved(VSRelativeReference<?> reference, VSAction action)Called when the property reference has been resolved.- void- onStateChanged(VSAction action, IVSComponentState.State state, boolean on)Called when the field changes state.- Methods inherited from interface com.iizix.prop.vs.IVSComponentListener- onParentStateChanged
 
 
- Method Detail- onResolved- void onResolved(VSRelativeReference<?> reference, VSAction action) Called when the property reference has been resolved. UI components use this method to set its state according to the field.- Parameters:
- reference- The VSRelativeReference instance holding the reference.
- action- The target reference.
 
 - onBroken- void onBroken(VSRelativeReference<?> reference, VSAction action) Called when the property reference has been broken, i.e. unresolved.- Parameters:
- reference- The VSRelativeReference instance holding the reference.
- action- The target reference.
 
 - onStateChanged- void onStateChanged(VSAction action, IVSComponentState.State state, boolean on) Called when the field changes state.- Parameters:
- action- The VS action.
- state- The state change.
- on- New state.
 
 - onActionInvoked- void onActionInvoked(VSAction action, VSActionTXProcess process) Called before the action invokes the Action Actors.- This method is called in the execution trigger thread. - Parameters:
- action- The VS action.
- process- The initialized process.
 
 - onActionCompleted- void onActionCompleted(VSAction action, VSActionTXProcess process, java.lang.Throwable exception) Called after the action completes the TXP processing i.e. all its Action Actor calls. This method is called regardless of success or failures. It can be used to check the state of the process.- This method is called from the thread that executed the TX action process. - Parameters:
- action- The VS action.
- process- The completed process.
- exception- Potential exception in TX process, null for none.