Class SubtitleLeaveEvent
- java.lang.Object
-
- org.pepstock.charba.client.events.Event
-
- org.pepstock.charba.client.events.AbstractEvent
-
- org.pepstock.charba.client.events.SubtitleLeaveEvent
-
public final class SubtitleLeaveEvent extends AbstractEvent
Event which is fired when the user leaves on the subtitle of the chart.- Author:
- Andrea "Stock" Stocchero
-
-
Constructor Summary
Constructors Constructor Description SubtitleLeaveEvent(BaseNativeEvent nativeEvent, Subtitle item)Creates the event with subtitle related to the leave
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddispatch(EventHandler handler)Implemented by subclasses to dispatch event on the handler.TgetItem()Returns the title related to the click-
Methods inherited from class org.pepstock.charba.client.events.AbstractEvent
getChart, getNativeEvent, getType
-
-
-
-
Field Detail
-
TYPE
public static final EventType TYPE
Event type
-
-
Constructor Detail
-
SubtitleLeaveEvent
public SubtitleLeaveEvent(BaseNativeEvent nativeEvent, Subtitle item)
Creates the event with subtitle related to the leave- Parameters:
nativeEvent- native event of this custom eventitem- subtitle related to the leave
-
-
Method Detail
-
dispatch
protected void dispatch(EventHandler handler)
Description copied from class:EventImplemented by subclasses to dispatch event on the handler.
-
getItem
public final T getItem()
Returns the title related to the click- Returns:
- the title related to the click
-
-