Enum DefaultPluginId

    • Enum Constant Detail

      • COLORS

        public static final DefaultPluginId COLORS
        CHART.JS plugin to manage the auto colors.
      • LEGEND

        public static final DefaultPluginId LEGEND
        CHART.JS plugin to manage the legend.
      • FILLER

        public static final DefaultPluginId FILLER
        CHART.JS plugin to manage color filling on the chart.
      • DECIMATION

        public static final DefaultPluginId DECIMATION
        CHART.JS plugin to be used with line charts to automatically decimate data at the start of the chart lifecycle.
      • TITLE

        public static final DefaultPluginId TITLE
        CHART.JS plugin to manage the title.
      • SUBTITLE

        public static final DefaultPluginId SUBTITLE
        CHART.JS plugin to manage the subtitle.
      • TOOLTIP

        public static final DefaultPluginId TOOLTIP
        CHART.JS plugin to manage the tooltips.
    • Method Detail

      • values

        public 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
      • valueOf

        public 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
      • value

        public String value()
        Description copied from interface: Key
        Returns the name value of property
        Specified by:
        value in interface Key
        Returns:
        the name value of property
      • is

        public 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.
        Parameters:
        pluginId - the plugin id to check
        Returns:
        true if the argument is equals to a default plugin id
      • is

        public static boolean is​(String pluginId)
        Returns true if the argument is equals to a default plugin id.
        Parameters:
        pluginId - the plugin id to check
        Returns:
        true if the argument is equals to a default plugin id