public abstract class AbstractPluginOptions extends NativeObjectContainer
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractPluginOptions(String pluginId)
Creates new plugin options with plugin ID, creating new native options.
|
protected |
AbstractPluginOptions(String pluginId,
NativeObject nativeObject)
Creates new plugin options with plugin ID, using a native object instance.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getId()
Returns the unique ID of the options.
|
String |
getPluginId()
Returns the plugin id related to this options.
|
protected <T extends AbstractPluginOptions> |
loadGlobalsPluginOptions(AbstractPluginOptionsFactory<T> factory)
Loads the default plugin options from defaults.
|
void |
store()
Stores this options into default global plugins options.
|
void |
store(Dataset dataset)
Stores this options into dataset options.
|
void |
store(IsChart chart)
Stores this options into chart plugins options.
|
void |
store(Type type)
Stores this options into global chart plugins options.
|
checkValue, empty, getArrayValue, getNativeChart, 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, setArrayValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, typeprotected AbstractPluginOptions(String pluginId)
pluginId - plugin IDprotected AbstractPluginOptions(String pluginId, NativeObject nativeObject)
pluginId - plugin IDnativeObject - native object which represents the plugin options as native objectpublic final int getId()
public final String getPluginId()
protected final <T extends AbstractPluginOptions> T loadGlobalsPluginOptions(AbstractPluginOptionsFactory<T> factory)
null, returns null.T - type of native object containerfactory - factory to load optionsnull, returns null.public void store()
public final void store(IsChart chart)
chart - chart instancepublic final void store(Type type)
type - chart type to store options into global chart optionspublic final void store(Dataset dataset)
dataset - dataset instance to store options