com.vaadin.flow.component.charts.model.
Enum FlagShape
- java.lang.Object
-
- java.lang.Enum<FlagShape>
-
- com.vaadin.flow.component.charts.model.FlagShape
-
All Implemented Interfaces:
public enum FlagShape extends Enum<FlagShape> implements ChartEnum
The name of a symbol to use for the border in
ChartType.FLAGS
series.
-
-
Method Summary
All Methods Modifier and Type Method and Description String
toString()
static FlagShape
valueOf(String name)
Returns the enum constant of this type with the specified name.
static FlagShape[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CALLOUT
public static final FlagShape CALLOUT
-
FLAG
public static final FlagShape FLAG
-
CIRCLEPIN
public static final FlagShape CIRCLEPIN
-
SQUAREPIN
public static final FlagShape SQUAREPIN
-
-
Method Detail
-
values
public static FlagShape[] 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 (FlagShape c : FlagShape.values()) System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FlagShape 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
-
-