com.vaadin.flow.component.charts.model.
Enum TickmarkPlacement
- java.lang.Object
-
- java.lang.Enum<TickmarkPlacement>
-
- com.vaadin.flow.component.charts.model.TickmarkPlacement
-
All Implemented Interfaces:
public enum TickmarkPlacement extends Enum<TickmarkPlacement> implements ChartEnum
For categorized axes only. If ON the tick mark is placed in the center of the category, if BETWEEN the tick mark is placed between categories. Defaults to BETWEEN.
-
-
Method Summary
All Methods Modifier and Type Method Description String
toString()
static TickmarkPlacement
valueOf​(String name)
Returns the enum constant of this type with the specified name.
static TickmarkPlacement[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ON
public static final TickmarkPlacement ON
-
BETWEEN
public static final TickmarkPlacement BETWEEN
-
-
Method Detail
-
values
public static TickmarkPlacement[] 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 (TickmarkPlacement c : TickmarkPlacement.values()) System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TickmarkPlacement 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<TickmarkPlacement>
-
-