Annotation Interface OnClick


@Retention(RUNTIME) @Target(FIELD) public @interface OnClick
A binding that will call a method when the on-click action occurs on this component.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static enum 
    Enum specifying which mouse button is being bound by this binding.
    static class 
    Inner utility class that performs the runtime wiring of all OnClick bindings.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
     
    int
     
  • Element Details

    • count

      int count
      Default:
      1
    • button

      Default:
      LEFT