java.lang.Object
io.github.mmm.ui.api.event.UiEvent
io.github.mmm.ui.api.event.UiEnablingEvent
io.github.mmm.ui.api.event.UiEnableEvent
- All Implemented Interfaces:
AttributeReadEnabled
,AttributeReadProgrammatic
UiEnablingEvent
for a UiWidget
that is enabled.- Since:
- 1.0.0
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionUiEnableEvent
(UiWidget source) The constructor.UiEnableEvent
(UiWidget source, boolean programmatic) The constructor. -
Method Summary
Modifier and TypeMethodDescriptiongetType()
boolean
static UiEnableEvent
of
(UiWidget source, UiEventType programmaticEventType) Methods inherited from class io.github.mmm.ui.api.event.UiEvent
getSource, isProgrammatic
-
Field Details
-
TYPE
- See Also:
-
-
Constructor Details
-
UiEnableEvent
The constructor.- Parameters:
source
- thesource widget
.
-
UiEnableEvent
The constructor.- Parameters:
source
- thesource widget
.programmatic
- theprogrammatic flag
.
-
-
Method Details
-
getType
-
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
- Parameters:
source
- thesource widget
.programmaticEventType
- theUiEventType
marked as programmatic.- Returns:
- the new
UiEnableEvent
.
-