public final class EventPluginItem extends NativeObjectContainer
Constructor and Description |
---|
EventPluginItem(NativeObject nativeObject)
Creates the item using a native java script object which contains all properties.
|
Modifier and Type | Method and Description |
---|---|
ChartNativeEvent |
getEvent()
Returns the native event into the CHART.JS event.
|
String |
getType()
Returns the event type a string.
|
int |
getX()
Returns X value of event.
|
int |
getY()
Returns Y value of event.
|
checkValue, empty, getArrayValue, getNativeObject, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, has, has, keys, remove, remove, removeIfExists, setArrayValue, setArrayValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, type
public EventPluginItem(NativeObject nativeObject)
nativeObject
- native java script object which contains all properties.public ChartNativeEvent getEvent()
null
if doen't not exist.public int getX()
UndefinedValues.INTEGER
.public int getY()
UndefinedValues.INTEGER
.public String getType()
UndefinedValues.STRING
.