java.lang.Object
io.github.mmm.ui.api.event.UiEvent
- All Implemented Interfaces:
AttributeReadProgrammatic
- Direct Known Subclasses:
UiAttachingEvent
,UiClickEvent
,UiEnablingEvent
,UiFocusEvent
,UiSelectionEvent
,UiValueChangeEvent
,UiVisibilityEvent
This is the interface for an event of the UI.
- Since:
- 1.0.0
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
UiEvent
The constructor.- Parameters:
source
- thesource widget
.programmatic
- theprogrammatic flag
.
-
-
Method Details
-
getSource
- Returns:
- the source object (widget) that sent this event.
-
isProgrammatic
public boolean isProgrammatic()- Specified by:
isProgrammatic
in interfaceAttributeReadProgrammatic
- Returns:
true
if this event was triggered by the program (e.g. viaAttributeFeatureClick.click()
),false
if performed by an end-user interaction (e.g. keyboard, touch, or mouse).
-
getType
- Returns:
- the type of this event.
- See Also:
-