Package com.iizix.api.vs
Annotation Interface OnVSState
@Documented @Retention(RUNTIME) @Target(METHOD) @Repeatable(OnVSStates.class) public @interface OnVSState
Annotation for tagging methods to receive VirtualSpace State events.
Only 1 acceptable method pattern for this annotation.
Note: methodName can be any name you want to use.
- public void methodName(- VSStateEventevent)
Example:
   @VirtualSpace(ref="Proj:/vs/subFolder/OneVS")
   public class MyVSListener
     {
     public MyVSListener()
       {
       ...
       }
     // Method called when a VS item (field, table, etc) gets changed state.
     @OnVSState(name="myTable")
     public void onTableStateChange(VSStateEvent event)
       {
       ...
       }
     }
 - Author:
- Christopher Mindus
- Required Element SummaryRequired Elements
- Element Details- nameString nameThe Name or Relative Path of the Property to associate with the method. The- nameis either a Name without slash ('/') that is a direct child of the VirtualSpace reference, or a Relative Path from the VirtualSpace root.- Returns:
- The Property Name path from the VirtualSpace base "ref" reference specification, e.g. "myTable" or "group/myField".