public final class ActiveDatasetElement extends NativeObjectContainer
Modifier and Type | Field and Description |
---|---|
static org.pepstock.charba.client.items.ActiveDatasetElement.ActiveDatasetElementFactory |
FACTORY
Factory instance to create active data set elements.
|
Constructor and Description |
---|
ActiveDatasetElement()
Creates an empty data set element.
|
ActiveDatasetElement(int datasetIndex,
int dataIndex)
Creates a data set element, setting data set and data element indexes.
|
Modifier and Type | Method and Description |
---|---|
int |
getDatasetIndex()
Returns the index of the data set.
|
int |
getIndex()
Returns the index of the data element.
|
void |
setDatasetIndex(int datasetIndex)
Sets the index of the data set.
|
void |
setIndex(int dataIndex)
Sets the index of the data element.
|
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
public static final org.pepstock.charba.client.items.ActiveDatasetElement.ActiveDatasetElementFactory FACTORY
public ActiveDatasetElement(int datasetIndex, int dataIndex)
datasetIndex
- the index of the data set.dataIndex
- the index of the data elementpublic ActiveDatasetElement()
public void setDatasetIndex(int datasetIndex)
datasetIndex
- the index of the data set.public int getDatasetIndex()
public void setIndex(int dataIndex)
dataIndex
- the index of the data elementpublic int getIndex()