com.vaadin.flow.component.charts.model.
Enum VerticalAlign
- java.lang.Object
-
- java.lang.Enum<VerticalAlign>
-
- com.vaadin.flow.component.charts.model.VerticalAlign
-
All Implemented Interfaces:
public enum VerticalAlign extends Enum<VerticalAlign> implements ChartEnum
Alignment of the title relative to the axis values and more generically vertical alignment.
-
-
Method Summary
All Methods Modifier and Type Method Description String
toString()
static VerticalAlign
valueOf​(String name)
Returns the enum constant of this type with the specified name.
static VerticalAlign[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BOTTOM
public static final VerticalAlign BOTTOM
-
LOW
public static final VerticalAlign LOW
-
MIDDLE
public static final VerticalAlign MIDDLE
-
HIGH
public static final VerticalAlign HIGH
-
TOP
public static final VerticalAlign TOP
-
-
Method Detail
-
values
public static VerticalAlign[] 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 (VerticalAlign c : VerticalAlign.values()) System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VerticalAlign 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
-
toString
public String toString()
Overrides:
toString
in classEnum<VerticalAlign>
-
-