public interface GUIElementListener
GUIElement
related events.Modifier and Type | Method and Description |
---|---|
void |
activeChanged(@NotNull ActivatableGUIElement element,
boolean active)
The active state of an
AbstractGUIElement has changed. |
boolean |
isActive(@NotNull ActivatableGUIElement element)
Returns whether an
ActivatableGUIElement is active. |
void |
raiseDialog(@NotNull AbstractGUIElement component)
The
Gui of a Component should be raised. |
void raiseDialog(@NotNull @NotNull AbstractGUIElement component)
Gui
of a Component
should be raised.component
- the componentvoid activeChanged(@NotNull @NotNull ActivatableGUIElement element, boolean active)
AbstractGUIElement
has changed.element
- the changed elementactive
- the new active stateboolean isActive(@NotNull @NotNull ActivatableGUIElement element)
ActivatableGUIElement
is active.element
- the element to check