Interface GUIElementListener
public interface GUIElementListener
Listener for
GUIElement related events.-
Method Summary
Modifier and TypeMethodDescriptionvoidactiveChanged(@NotNull ActivatableGUIElement element, boolean active) The active state of anAbstractGUIElementhas changed.booleanisActive(@NotNull ActivatableGUIElement element) Returns whether anActivatableGUIElementis active.voidraiseDialog(@NotNull AbstractGUIElement component)
-
Method Details
-
raiseDialog
- Parameters:
component- the component
-
activeChanged
The active state of anAbstractGUIElementhas changed.- Parameters:
element- the changed elementactive- the new active state
-
isActive
Returns whether anActivatableGUIElementis active.- Parameters:
element- the element to check- Returns:
- whether the element is active
-