public abstract class AbstractPluginOptions extends NativeObjectContainer
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractPluginOptions(String pluginId)
Creates new plugin options with plugin ID.
|
protected |
AbstractPluginOptions(String pluginId,
NativeObject nativeObject) |
| 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 NativeObjectContainer> |
loadGlobalsPluginOptions(NativeObjectContainerFactory<T> factory)
Loads the default plugin options from defaults.
|
void |
store()
Stores this options into default global plugins options.
|
void |
store(IsChart chart)
Stores this options into chart plugins options.
|
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, typeprotected AbstractPluginOptions(String pluginId)
pluginId - plugin IDprotected AbstractPluginOptions(String pluginId, NativeObject nativeObject)
public final int getId()
public final String getPluginId()
protected final <T extends NativeObjectContainer> T loadGlobalsPluginOptions(NativeObjectContainerFactory<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 instance