public final class TooltipContext extends ChartContext
| Constructor and Description |
|---|
TooltipContext(NativeObject nativeObject)
Creates the object with native object instance to be wrapped.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkIfPropertyIsValid(Key property)
Checks if the key passed as argument is a key already used for other context properties.
|
List<TooltipItem> |
getItems()
Returns the model of tooltip.
|
TooltipModel |
getModel()
Returns the model of tooltip.
|
getAttribute, getAttribute, getAttribute, getAttribute, getAttributes, getChart, getType, hasAttributes, isConsistent, setAttribute, setAttribute, setAttribute, setAttribute, setAttributescheckDefaultValuesArgument, 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 TooltipContext(NativeObject nativeObject)
nativeObject - native object instance to be wrapped.public TooltipModel getModel()
public List<TooltipItem> getItems()
protected boolean checkIfPropertyIsValid(Key property)
ChartContextcheckIfPropertyIsValid in class ChartContextproperty - property to use to store a custom attributetrue if the property can be used to store an attribute.