Annotation Interface EventHandler


@Documented @Target(METHOD) @Retention(RUNTIME) @Inherited public @interface EventHandler
EventHandler annotation is used over methods on Listener classes.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    int
    Handler priority.
  • Element Details

    • value

      int value
      Handler priority. A higher priority will be called first in the method stack.
      Returns:
      priority value.
      Default:
      0