public enum DefaultPluginId extends Enum<DefaultPluginId> implements Key
Enum Constant and Description |
---|
DECIMATION
CHART.JS plugin to be used with line charts to automatically decimate data at the start of the chart lifecycle.
|
FILLER
CHART.JS plugin to manage color filling on the chart.
|
LEGEND
CHART.JS plugin to manage the legend.
|
SUBTITLE
CHART.JS plugin to manage the subtitle.
|
TITLE
CHART.JS plugin to manage the title.
|
TOOLTIP
CHART.JS plugin to manage the tooltips.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
is(Key pluginId)
Returns
true if the argument is equals to a default plugin id.The FILLER is not considered a default plugin because does not have a specific namespace in the options. |
static boolean |
is(String pluginId)
Returns
true if the argument is equals to a default plugin id. |
String |
value()
Returns the name value of property
|
static DefaultPluginId |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DefaultPluginId[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
checkAndGetIfValid, checkIfValid, compare, create, equals, getKeyByValue, getKeyByValue, hasKeyByValue, isValid
public static final DefaultPluginId LEGEND
public static final DefaultPluginId FILLER
public static final DefaultPluginId DECIMATION
public static final DefaultPluginId TITLE
public static final DefaultPluginId SUBTITLE
public static final DefaultPluginId TOOLTIP
public static DefaultPluginId[] values()
for (DefaultPluginId c : DefaultPluginId.values()) System.out.println(c);
public static DefaultPluginId valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String value()
Key
public static boolean is(Key pluginId)
true
if the argument is equals to a default plugin id.FILLER
is not considered a default plugin because does not have a specific namespace in the options.pluginId
- the plugin id to checktrue
if the argument is equals to a default plugin idpublic static boolean is(String pluginId)
true
if the argument is equals to a default plugin id.pluginId
- the plugin id to checktrue
if the argument is equals to a default plugin id