Annotation Interface HandleEvent


@Retention(RUNTIME) @Target(METHOD) public @interface HandleEvent
Must be added to event handler methods when making a CustomItem.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Type of this handler.
  • Element Details

    • value

      HandleType value
      Type of this handler. The event parameter you must use changes according to this type. see all members of HandleType for more.
      Returns:
      Type of this handler.
      Default:
      RIGHT_CLICK