Class TitleEnterEvent
- java.lang.Object
-
- org.pepstock.charba.client.events.Event
-
- org.pepstock.charba.client.events.AbstractEvent
-
- org.pepstock.charba.client.events.TitleEnterEvent
-
- All Implemented Interfaces:
HasNativeEvent
public final class TitleEnterEvent extends AbstractEvent
Event which is fired when the user enters on the title of the chart.- Author:
- Andrea "Stock" Stocchero
-
-
Constructor Summary
Constructors Constructor Description TitleEnterEvent(NativeAbstractMouseEvent nativeEvent, Title item)
Creates the event with title related to the enter
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
dispatch(EventHandler handler)
Implemented by subclasses to dispatch event on the handler.T
getItem()
Returns the title related to the clickNativeAbstractMouseEvent
getNativeMouseEvent()
Returns the native event asNativeMouseEvent
.-
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
-
TitleEnterEvent
public TitleEnterEvent(NativeAbstractMouseEvent nativeEvent, Title item)
Creates the event with title related to the enter- Parameters:
nativeEvent
- native event of this custom eventitem
- title related to the enter
-
-
Method Detail
-
dispatch
protected void dispatch(EventHandler handler)
Description copied from class:Event
Implemented 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
-
getNativeMouseEvent
public final NativeAbstractMouseEvent getNativeMouseEvent()
Returns the native event asNativeMouseEvent
.- Returns:
- the native event as
NativeMouseEvent
.
-
-