public final class SubtitleLeaveEvent extends AbstractEvent
| Constructor and Description |
|---|
SubtitleLeaveEvent(BaseNativeEvent nativeEvent,
Subtitle item)
Creates the event with subtitle related to the leave
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
dispatch(EventHandler handler)
Implemented by subclasses to dispatch event on the handler.
|
T |
getItem()
Returns the title related to the click
|
getChart, getNativeEvent, getTypepublic static final EventType TYPE
public SubtitleLeaveEvent(BaseNativeEvent nativeEvent, Subtitle item)
nativeEvent - native event of this custom eventitem - subtitle related to the leaveprotected void dispatch(EventHandler handler)
Eventpublic final T getItem()