Annotation Type OnUIBack


  • @Documented
    @Retention(RUNTIME)
    @Target(METHOD)
    public @interface OnUIBack
    Annotation for tagging methods to receive UI Back events that is fired when the user presses the Back button.

    Only 1 acceptable method pattern for this annotation.
    Note: methodName can be any name you want to use.

    Example:

       @Panel(ref="Proj:/panel/subFolder/OnePanel")
       public class MyUIListener
         {
         public MyUIListener()
           {
           ...
           }
    
         // Method invoked when the user presses the "Back button".
         // The "name" is always "", i.e. the relative panel reference.
         @OnUIBack(name="")
         public void onBack(UIBackEvent event)
           {
           ...
           }
         }
     
    Author:
    Christopher Mindus
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String name
      The Name or Relative Path of the Property to associate with the method.
    • Element Detail

      • name

        java.lang.String name
        The Name or Relative Path of the Property to associate with the method. The name is 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. "myButton" or "container/..etc../myMenuItem".