Annotation Type Listen


  • @Retention(RUNTIME)
    @Target(METHOD)
    public @interface Listen
    Annotation for specifying Event handling in SelectorComposer.
    Since:
    6.0.0
    Author:
    simonpai
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String value
      The instruction string for adding EventListeners.
    • Element Detail

      • value

        java.lang.String value
        The instruction string for adding EventListeners. The string should contain a list of [event name] = [selector] pairs, separated by semicolon. For example:
        
         @Listen("onClick = button#submitBtn; onOK = textbox#passwordBox")