Package org.pepstock.charba.client.items
Class PluginDatasetArgument
- java.lang.Object
-
- org.pepstock.charba.client.commons.NativeObjectContainer
-
- org.pepstock.charba.client.items.PluginUpdateArgument
-
- org.pepstock.charba.client.items.PluginDatasetArgument
-
public final class PluginDatasetArgument extends PluginUpdateArgument
This is a wrapper of java script object which represents a dataset.
This object is used in the plugins methods of CHART.JS.- Author:
- Andrea "Stock" Stocchero
-
-
Constructor Summary
Constructors Constructor Description PluginDatasetArgument(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 DatasetItem
getDatasetItem()
Returns the dataset item.int
getIndex()
Returns the index of the data inside the dataset.-
Methods inherited from class org.pepstock.charba.client.items.PluginUpdateArgument
getMode
-
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, setValue, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, type
-
-
-
-
Constructor Detail
-
PluginDatasetArgument
public PluginDatasetArgument(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
-
getIndex
public int getIndex()
Returns the index of the data inside the dataset.- Returns:
- the index of the data inside the dataset.
-
getDatasetItem
public DatasetItem getDatasetItem()
Returns the dataset item.- Returns:
- the dataset item.
-
-