public final class TitleLeaveEvent extends AbstractEvent
Constructor and Description |
---|
TitleLeaveEvent(BaseNativeEvent nativeEvent,
Title item)
Creates the event with title 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, getType
public static final EventType TYPE
public TitleLeaveEvent(BaseNativeEvent nativeEvent, Title item)
nativeEvent
- native event of this custom eventitem
- title related to the leaveprotected void dispatch(EventHandler handler)
Event
public final T getItem()