public final class ChartPointerOptions extends AbstractPluginOptions
ChartPointer.ID
plugin.Modifier and Type | Field and Description |
---|---|
static CursorType |
DEFAULT_CURSOR_POINTER
Default cursor type when the cursor is over,
CursorType.POINTER . |
Constructor and Description |
---|
ChartPointerOptions()
Builds the object with new java script object setting the default value of plugin.
The global plugin options is used, if exists, as defaults values. |
ChartPointerOptions(IsChart chart)
Builds the object with a chart instance in order to get the right defaults.
If the plugin options have not been set by chart type, it will use the global. |
Modifier and Type | Method and Description |
---|---|
default CursorType |
getCursorPointer()
Returns the cursor type when the cursor is over the dataset item.
|
CursorType |
getCursorPointer()
Returns the cursor type when the cursor is over the dataset item.
|
Set<PointerElement> |
getElements()
Returns the chart elements in scope to
ChartPointer.ID plugin. |
void |
setCursorPointer(CursorType cursor)
Sets the cursor type when the cursor is over the dataset item.
|
void |
setElements(PointerElement... elements)
Sets the chart elements in scope to
ChartPointer.ID plugin. |
void |
setElements(Set<PointerElement> elements)
Sets the chart elements in scope to
ChartPointer.ID plugin. |
applyingDefaults, applyingDefaults, getEvents, getId, getPluginId, loadGlobalsPluginOptions, setEvents, setEvents, store, store, store, store
checkAndAddToParent, getChildKey, getParentNode, getRootNode, retrieveRoot, setArrayValueAndAddToParent, setArrayValueAndAddToParent, setArrayValueAndAddToParent, setElementAndAddToParent, setInternalCallbackToModel, setInternalCallbackToModel, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent
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 CursorType DEFAULT_CURSOR_POINTER
CursorType.POINTER
.public ChartPointerOptions()
public ChartPointerOptions(IsChart chart)
chart
- chart instance related to the plugin optionspublic void setElements(PointerElement... elements)
ChartPointer.ID
plugin.elements
- the chart elements in scope to ChartPointer.ID
pluginpublic void setElements(Set<PointerElement> elements)
ChartPointer.ID
plugin.elements
- the chart elements in scope to ChartPointer.ID
pluginpublic Set<PointerElement> getElements()
ChartPointer.ID
plugin.ChartPointer.ID
pluginpublic CursorType getCursorPointer()
public final void setCursorPointer(CursorType cursor)
cursor
- cursor type when the cursor is over the dataset itempublic final CursorType getCursorPointer()