Annotation Interface UI


@Documented @Retention(RUNTIME) @Target(TYPE) public @interface UI
Tags a POJO as being a UI class with event listeners.

The constructor of the class must be be public and cannot have any parameters.

Example:

   @UI(ref="Proj:/panel/subFolder/MyPanel" [, refOnly = true])
   public class MyPanelListener
     {
     public MyPanelListener()
       {
       ...
       }
     }
 

Author:
Christopher Mindus
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The Full String Reference to the Panel property.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Option to use the annotation for referencing in the Java code only, together with @#64;UIRef and be able to use String refactoring.
  • Element Details

    • ref

      String ref
      The Full String Reference to the Panel property. This property must be of main type, i.e. being a Resource (.iiziPanel file).
      Returns:
      The Full String Reference to the Property (includes the Module Project and slashes).
    • refOnly

      boolean refOnly
      Option to use the annotation for referencing in the Java code only, together with @#64;UIRef and be able to use String refactoring. When this option refOnly is true, the panel or context menu does not have to have a back reference to the class.
      Default:
      false