public enum AxisOrientation extends Enum<AxisOrientation>
Orientation of the timeline axis: 'top', 'bottom' (default), 'both', or 'none'. If orientation is 'bottom', the time axis is drawn at the bottom. When 'top', the axis is drawn on top. When 'both', two axes are drawn, both on top and at the bottom. In case of 'none', no axis is drawn at all.
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
static AxisOrientation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AxisOrientation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AxisOrientation TOP
public static final AxisOrientation BOTTOM
public static final AxisOrientation NONE
public static final AxisOrientation BOTH
public static AxisOrientation[] values()
for (AxisOrientation c : AxisOrientation.values()) System.out.println(c);
public static AxisOrientation valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getName()
Copyright © 2021–2026 Vaadin Ltd. All rights reserved.