Class Column
- java.lang.Object
-
- org.pepstock.charba.client.commons.NativeObjectContainer
-
- org.pepstock.charba.client.sankey.Column
-
public final class Column extends NativeObjectContainer
Is a map to apply a different start or end position to sankey node.- Author:
- Andrea "Stock" Stocchero
-
-
Constructor Summary
Constructors Constructor Description Column()
Creates the object with an empty native object instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
get(String nodeKey)
Returns the stored value in the map, by its key of the node.int
get(Key nodeKey)
Returns the stored value in the map, by its key of the node.boolean
isConsistent()
Returnstrue
if there is at least a key, stored in the map.void
set(String nodeKey, int value)
Sets a value in the map, by its key of the node.void
set(Key nodeKey, int value)
Sets a value in the map, by its key of the node.-
Methods inherited from class org.pepstock.charba.client.commons.NativeObjectContainer
checkAndGetColor, 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, 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
-
-
-
-
Method Detail
-
isConsistent
public final boolean isConsistent()
Returnstrue
if there is at least a key, stored in the map.- Returns:
true
if there is at least a key, stored in the map
-
set
public final void set(String nodeKey, int value)
Sets a value in the map, by its key of the node.- Parameters:
nodeKey
- the key of sankey nodevalue
- the value to assign to the node.
-
set
public final void set(Key nodeKey, int value)
Sets a value in the map, by its key of the node.- Parameters:
nodeKey
- the key of sankey nodevalue
- the value to assign to the node.
-
get
public final int get(String nodeKey)
Returns the stored value in the map, by its key of the node.- Parameters:
nodeKey
- the key of sankey node- Returns:
- the value to assign to the node.
-
get
public final int get(Key nodeKey)
Returns the stored value in the map, by its key of the node.- Parameters:
nodeKey
- the key of sankey node- Returns:
- the value to assign to the node.
-
-