Annotation Type EventHandler


@Retention(RUNTIME) @Target(METHOD) public @interface EventHandler
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    byte
    Define the priority of the event handler.
  • Element Details

    • priority

      byte priority
      Define the priority of the event handler.

      Event handlers are called in order of priority:

      1. LOWEST
      2. LOW
      3. NORMAL
      4. HIGH
      5. HIGHEST
      Returns:
      handler priority
      Default:
      (byte)0x00