Class RuntimeGridSession.Click

java.lang.Object
com.ultikits.ultitools.ui.runtime.RuntimeGridSession.Click
All Implemented Interfaces:
GridClick
Enclosing class:
RuntimeGridSession

private static final class RuntimeGridSession.Click extends Object implements GridClick
  • Field Details

    • viewer

      private final org.bukkit.entity.Player viewer
    • slot

      private final GridSlot slot
    • kind

      private final ClickKind kind
    • session

      private final GridSession session
  • Constructor Details

  • Method Details

    • viewer

      public org.bukkit.entity.Player viewer()
      Description copied from interface: GridClick
      The player who clicked.
      Specified by:
      viewer in interface GridClick
    • slot

      public GridSlot slot()
      Description copied from interface: GridClick
      The clicked slot.
      Specified by:
      slot in interface GridClick
    • kind

      public ClickKind kind()
      Description copied from interface: GridClick
      The reported kind of click.
      Specified by:
      kind in interface GridClick
    • session

      public GridSession session()
      Description copied from interface: GridClick
      The session the click belongs to, to update or close the screen.
      Specified by:
      session in interface GridClick