Interface GUIElementListener


public interface GUIElementListener
Listener for GUIElement related events.
  • Method Details

    • raiseDialog

      void raiseDialog(@NotNull @NotNull AbstractGUIElement component)
      The Gui of a Component should be raised.
      Parameters:
      component - the component
    • activeChanged

      void activeChanged(@NotNull @NotNull ActivatableGUIElement element, boolean active)
      The active state of an AbstractGUIElement has changed.
      Parameters:
      element - the changed element
      active - the new active state
    • isActive

      boolean isActive(@NotNull @NotNull ActivatableGUIElement element)
      Returns whether an ActivatableGUIElement is active.
      Parameters:
      element - the element to check
      Returns:
      whether the element is active