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.
|
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 "cursorpointer" 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 "cursorpointer" plugin.
|
getId, getPluginId, loadGlobalsPluginOptions, store, store
checkValue, getArrayValue, getNativeObject, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, 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 void setElements(PointerElement... elements)
elements
- the chart elements in scope to "cursorpointer" pluginpublic List<PointerElement> getElements()
public void setCursorPointer(Style.Cursor cursor)
cursor
- cursor typeStyle.Cursor
public Style.Cursor getCursorPointer()
Style.Cursor