Class UiEnableEvent

All Implemented Interfaces:
AttributeReadEnabled, AttributeReadProgrammatic

public class UiEnableEvent extends UiEnablingEvent
UiEnablingEvent for a UiWidget that is enabled.
Since:
1.0.0
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • getType

      public UiEventType getType()
      Specified by:
      getType in class UiEvent
      Returns:
      the type of this event.
      See Also:
    • isEnabled

      public boolean isEnabled()
      Returns:
      true if enabled, false if disabled (end-user cannot interact with this widget or its children and active widgets are visually grayed out).
    • of

      public static UiEnableEvent of(UiWidget source, UiEventType programmaticEventType)
      Parameters:
      source - the source widget.
      programmaticEventType - the UiEventType marked as programmatic.
      Returns:
      the new UiEnableEvent.