Package io.jmix.ui.component
Class ShortcutTriggeredEvent
java.lang.Object
java.util.EventObject
io.jmix.ui.component.ShortcutTriggeredEvent
- All Implemented Interfaces:
Serializable
Describes shortcut triggered event.
The event contains a data about source component and target component.
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionShortcutTriggeredEvent
(Component source, Component target) Constructs a shortcut triggered event. -
Method Summary
Methods inherited from class java.util.EventObject
toString
-
Constructor Details
-
ShortcutTriggeredEvent
Constructs a shortcut triggered event.- Parameters:
source
- the component on which the Event initially occurredtarget
- the component which was focused when the Event occurred- Throws:
IllegalArgumentException
- if source is null
-
-
Method Details
-
getSource
- Overrides:
getSource
in classEventObject
-
getTarget
- Returns:
- the component which was focused when the Event occurred
-