public abstract class AbstractChartEvent<H extends EventHandler> extends AbstractEvent<H>
GwtEvent.Type<H>
Constructor and Description |
---|
AbstractChartEvent(NativeEvent nativeEvent,
Chart functionContext,
Key key)
Creates the event with legend item related to the click
|
Modifier and Type | Method and Description |
---|---|
Chart |
getContext()
Returns the java script function context of CHART.JS events.
|
Key |
getKey()
Returns the options key where default function is stored.
|
getChart, getNativeEvent
assertLive, dispatch, getAssociatedType, getSource, isLive, kill, revive
setSource, toDebugString, toString
public AbstractChartEvent(NativeEvent nativeEvent, Chart functionContext, Key key)
nativeEvent
- native event of this custom eventfunctionContext
- function context provided by CHART.JSkey
- options key where default function is storedpublic final Chart getContext()
public final Key getKey()