- java.lang.Object
-
- java.lang.Enum<ChartJsFillMode>
-
- nl.crashdata.chartjs.data.ChartJsFillMode
-
- All Implemented Interfaces:
Serializable,Comparable<ChartJsFillMode>
public enum ChartJsFillMode extends Enum<ChartJsFillMode>
The 'mode' of the fill-property value. Does not correspond directly to an actual json value in the config. See chartjs docs for thedata.datasets[].fill-property.- Author:
- haster
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABSOLUTE_DATASET_INDEXBOUNDARYDISABLEDRELATIVE_DATASET_INDEX
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ChartJsFillModevalueOf(String name)Returns the enum constant of this type with the specified name.static ChartJsFillMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ABSOLUTE_DATASET_INDEX
public static final ChartJsFillMode ABSOLUTE_DATASET_INDEX
-
RELATIVE_DATASET_INDEX
public static final ChartJsFillMode RELATIVE_DATASET_INDEX
-
BOUNDARY
public static final ChartJsFillMode BOUNDARY
-
DISABLED
public static final ChartJsFillMode DISABLED
-
-
Method Detail
-
values
public static ChartJsFillMode[] 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 (ChartJsFillMode c : ChartJsFillMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ChartJsFillMode 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 nameNullPointerException- if the argument is null
-
-