com.vaadin.flow.component.charts.model.
Enum TreeMapLayoutAlgorithm
- java.lang.Object
-
- java.lang.Enum<TreeMapLayoutAlgorithm>
-
- com.vaadin.flow.component.charts.model.TreeMapLayoutAlgorithm
-
All Implemented Interfaces:
public enum TreeMapLayoutAlgorithm extends Enum<TreeMapLayoutAlgorithm> implements ChartEnum
The layout algorithm used by
ChartType.TREEMAP
charts.
-
-
Enum Constant Summary
Enum Constants Enum Constant and Description SLICEANDDICE
SQUARIFIED
STRIP
STRIPES
-
Method Summary
All Methods Modifier and Type Method and Description String
toString()
static TreeMapLayoutAlgorithm
valueOf(String name)
Returns the enum constant of this type with the specified name.
static TreeMapLayoutAlgorithm[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SLICEANDDICE
public static final TreeMapLayoutAlgorithm SLICEANDDICE
-
STRIPES
public static final TreeMapLayoutAlgorithm STRIPES
-
SQUARIFIED
public static final TreeMapLayoutAlgorithm SQUARIFIED
-
STRIP
public static final TreeMapLayoutAlgorithm STRIP
-
-
Method Detail
-
values
public static TreeMapLayoutAlgorithm[] 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 (TreeMapLayoutAlgorithm c : TreeMapLayoutAlgorithm.values()) System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TreeMapLayoutAlgorithm 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<TreeMapLayoutAlgorithm>
-
-