Package com.iizix.api.ui
Annotation Interface OnUIDestroy
@Documented @Retention(RUNTIME) @Target(METHOD) @Repeatable(OnUIDestroys.class) public @interface OnUIDestroy
Annotation for tagging methods to receive UI Destroy events.
Only 1 acceptable method pattern for this annotation.
Note: methodName can be any name you want to use.
public void methodName(UIDestroyEventevent)
Example:
@UI(ref="Proj:/panel/subFolder/OnePanel")
public class MyUIListener
{
public MyUIListener()
{
...
}
// Method called when an UI component is created.
@OnUIDestroy(name="myEntryField")
public void onEntryDestroyed(UIDestroyEvent event)
{
// Clean-up of resources, or so...
...
}
}
- Author:
- Christopher Mindus
Required Element Summary
Required Elements
Element Details
name
String nameThe Name or Relative Path of the Property to associate with the method. Thenameis either a Name without slash ('/') that is a direct child of the panel reference, or a Relative Path from the Panel root.- Returns:
- The Property Name path from the panel base "ref" reference specification, e.g. "myEntryField" or "container/..etc../myField".