com.vaadin.flow.component.charts.model.
Enum NodeLayout
- java.lang.Object
-
- java.lang.Enum<NodeLayout>
-
- com.vaadin.flow.component.charts.model.NodeLayout
-
All Implemented Interfaces:
public enum NodeLayout extends Enum<NodeLayout> implements ChartEnum
See Also:
-
-
Method Summary
All Methods Modifier and Type Method Description String
toString()
static NodeLayout
valueOf​(String name)
Returns the enum constant of this type with the specified name.
static NodeLayout[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NORMAL
public static final NodeLayout NORMAL
-
HANGING
public static final NodeLayout HANGING
-
-
Method Detail
-
values
public static NodeLayout[] 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 (NodeLayout c : NodeLayout.values()) System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NodeLayout 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<NodeLayout>
-
-