public final class SankeyDataPoint extends AbstractDataPoint
| Constructor and Description |
|---|
SankeyDataPoint()
Creates the object with an empty native object.
|
SankeyDataPoint(Key from,
Key to,
double flow)
Creates the object with the passed point values.
|
SankeyDataPoint(Key from,
String to,
double flow)
Creates the object with the passed point values.
|
SankeyDataPoint(String from,
Key to,
double flow)
Creates the object with the passed point values.
|
SankeyDataPoint(String from,
String to,
double flow)
Creates the object with the passed point values.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getFlow()
Returns flow value.
|
String |
getFrom()
Returns from value as string.
|
Key |
getFromAsKey()
Returns from value as
Key. |
String |
getTo()
Returns to value as string.
|
Key |
getToAsKey()
Returns to value as
Key. |
void |
setFlow(double flow)
Sets flow value.
|
void |
setFrom(Key from)
Sets from value as key.
|
void |
setFrom(String from)
Sets from value as string.
|
void |
setTo(Key to)
Sets to value as key.
|
void |
setTo(String to)
Sets to value as string.
|
getAttribute, getAttributeAsDate, getAttributeAsObject, getAttributeAsString, setAttribute, setAttribute, setAttribute, setAttributecheckDefaultValuesArgument, 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, typepublic SankeyDataPoint()
public SankeyDataPoint(Key from, Key to, double flow)
from - from value of data pointto - to value of data pointflow - value of the data pointpublic SankeyDataPoint(String from, Key to, double flow)
from - from value of data pointto - to value of data pointflow - value of the data pointpublic SankeyDataPoint(Key from, String to, double flow)
from - from value of data pointto - to value of data pointflow - value of the data pointpublic void setFlow(double flow)
flow - flow value.public double getFlow()
public void setFrom(String from)
from - from value as stringpublic void setFrom(Key from)
from - from value as keypublic String getFrom()
Undefined.STRING if is not setpublic Key getFromAsKey()
Key.Key or null if is not setpublic void setTo(String to)
to - to value as stringpublic void setTo(Key to)
to - to value as keypublic String getTo()
Undefined.STRING if is not set