Package com.iizix.api.ui
Annotation 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
Optional Element Summary
Modifier and TypeOptional ElementDescriptionboolean
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 refThe 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 refOnlyOption to use the annotation for referencing in the Java code only, together with@#64;UIRef
and be able to use String refactoring. When this optionrefOnly
istrue
, the panel or context menu does not have to have a back reference to the class.- Default:
- false