Package org.pepstock.charba.client.items
Class PluginEventArgument
- java.lang.Object
-
- org.pepstock.charba.client.commons.NativeObjectContainer
-
- org.pepstock.charba.client.items.PluginEventArgument
-
public final class PluginEventArgument extends NativeObjectContainer
This is a wrapper of java script object which represents a event.
This object is used in the plugins methods of CHART.JS.- Author:
- Andrea "Stock" Stocchero
-
-
Constructor Summary
Constructors Constructor Description PluginEventArgument(PluginsEnvelop<NativeObject> envelop)
Creates the item using an envelop of the native java script object which contains all properties.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChartEventContext
getEventContext()
Returns the event context in the CHART.JS event.boolean
isReplay()
Returnstrue
if this event is replayed fromIsChart.update()
.-
Methods inherited from class org.pepstock.charba.client.commons.NativeObjectContainer
checkDefaultValuesArgument, empty, getArrayValue, getElement, getIncrementalId, getNativeChart, getNativeEvent, getNativeObject, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, has, has, isType, keys, loadNativeObject, remove, remove, setArrayValue, setArrayValue, setArrayValue, setElement, setEmptyValue, setNewIncrementalId, setNewIncrementalId, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, type
-
-
-
-
Constructor Detail
-
PluginEventArgument
public PluginEventArgument(PluginsEnvelop<NativeObject> envelop)
Creates the item using an envelop of the native java script object which contains all properties.- Parameters:
envelop
- envelop of the native java script object which contains all properties.
-
-
Method Detail
-
getEventContext
public ChartEventContext getEventContext()
Returns the event context in the CHART.JS event.- Returns:
- the native event in the CHART.JS event or
null
if doen't not exist.
-
isReplay
public boolean isReplay()
Returnstrue
if this event is replayed fromIsChart.update()
.- Returns:
true
if this event is replayed fromIsChart.update()
-
-