com.vaadin.flow.component.charts.model.
Enum AxisDimension
- java.lang.Object
-
- java.lang.Enum<AxisDimension>
-
- com.vaadin.flow.component.charts.model.AxisDimension
-
All Implemented Interfaces:
public enum AxisDimension extends Enum<AxisDimension>
Possible axis dimensions with their indexes in client-side
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COLOR_AXIS
X_AXIS
Y_AXIS
Z_AXIS
-
Method Summary
All Methods Modifier and Type Method Description int
getIndex()
static AxisDimension
valueOf​(String name)
Returns the enum constant of this type with the specified name.
static AxisDimension[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
X_AXIS
public static final AxisDimension X_AXIS
-
Y_AXIS
public static final AxisDimension Y_AXIS
-
Z_AXIS
public static final AxisDimension Z_AXIS
-
COLOR_AXIS
public static final AxisDimension COLOR_AXIS
-
-
Method Detail
-
values
public static AxisDimension[] 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 (AxisDimension c : AxisDimension.values()) System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AxisDimension 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
-
getIndex
public int getIndex()
-
-