Package org.pepstock.charba.client.enums
Enum DefaultPluginId
- java.lang.Object
- 
- java.lang.Enum<DefaultPluginId>
- 
- org.pepstock.charba.client.enums.DefaultPluginId
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<DefaultPluginId>,- Key
 
 public enum DefaultPluginId extends Enum<DefaultPluginId> implements Key Contains the GLOBAL plugin IDs of the default CHART.JS plugins, provided out of the box.- Author:
- Andrea "Stock" Stocchero
 
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description COLORSCHART.JS plugin to manage the auto colors.DECIMATIONCHART.JS plugin to be used with line charts to automatically decimate data at the start of the chart lifecycle.FILLERCHART.JS plugin to manage color filling on the chart.LEGENDCHART.JS plugin to manage the legend.SUBTITLECHART.JS plugin to manage the subtitle.TITLECHART.JS plugin to manage the title.TOOLTIPCHART.JS plugin to manage the tooltips.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static booleanis(String pluginId)Returnstrueif the argument is equals to a default plugin id.static booleanis(Key pluginId)Returnstrueif the argument is equals to a default plugin id.
 TheFILLERis not considered a default plugin because does not have a specific namespace in the options.Stringvalue()Returns the name value of propertystatic DefaultPluginIdvalueOf(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.
 
- 
- 
- 
Enum Constant Detail- 
COLORSpublic static final DefaultPluginId COLORS CHART.JS plugin to manage the auto colors.
 - 
LEGENDpublic static final DefaultPluginId LEGEND CHART.JS plugin to manage the legend.
 - 
FILLERpublic static final DefaultPluginId FILLER CHART.JS plugin to manage color filling on the chart.
 - 
DECIMATIONpublic static final DefaultPluginId DECIMATION CHART.JS plugin to be used with line charts to automatically decimate data at the start of the chart lifecycle.
 - 
TITLEpublic static final DefaultPluginId TITLE CHART.JS plugin to manage the title.
 - 
SUBTITLEpublic static final DefaultPluginId SUBTITLE CHART.JS plugin to manage the subtitle.
 - 
TOOLTIPpublic static final DefaultPluginId TOOLTIP CHART.JS plugin to manage the tooltips.
 
- 
 - 
Method Detail- 
valuespublic static DefaultPluginId[] values() Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DefaultPluginId c : DefaultPluginId.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static DefaultPluginId valueOf(String name) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum type has no constant with the specified name
- NullPointerException- if the argument is null
 
 - 
valuepublic String value() Description copied from interface:KeyReturns the name value of property
 - 
ispublic static boolean is(Key pluginId) Returnstrueif the argument is equals to a default plugin id.
 TheFILLERis not considered a default plugin because does not have a specific namespace in the options.- Parameters:
- pluginId- the plugin id to check
- Returns:
- trueif the argument is equals to a default plugin id
 
 - 
ispublic static boolean is(String pluginId) Returnstrueif the argument is equals to a default plugin id.- Parameters:
- pluginId- the plugin id to check
- Returns:
- trueif the argument is equals to a default plugin id
 
 
- 
 
-