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