public final class ChartPointerOptions extends AbstractPluginOptions
ChartPointer.ID
plugin.Modifier and Type | Field and Description |
---|---|
static Style.Cursor |
DEFAULT_CURSOR_POINTER
Default cursor type when the cursor is over the dataset item,
Style.Cursor.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 |
---|---|
Style.Cursor |
getCursorPointer()
Returns the cursor type when the cursor is over the dataset item.
|
List<PointerElement> |
getElements()
Returns the chart elements in scope to
ChartPointer.ID plugin. |
void |
setCursorPointer(Style.Cursor 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. |
getId, getPluginId, loadGlobalsPluginOptions, store, store, store, store
checkValue, empty, getArrayValue, getNativeObject, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, has, has, keys, remove, remove, removeIfExists, setArrayValue, setArrayValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, type
public static final Style.Cursor DEFAULT_CURSOR_POINTER
Style.Cursor.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 List<PointerElement> getElements()
ChartPointer.ID
plugin.ChartPointer.ID
pluginpublic final void setCursorPointer(Style.Cursor cursor)
cursor
- cursor typeStyle.Cursor
public final Style.Cursor getCursorPointer()
Style.Cursor