Enum AxisOrientation

java.lang.Object
java.lang.Enum<AxisOrientation>
com.vaadin.componentfactory.timeline.model.AxisOrientation
All Implemented Interfaces:
Serializable, Comparable<AxisOrientation>, java.lang.constant.Constable

public enum AxisOrientation extends Enum<AxisOrientation>
Per vis library documentation:

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.

  • Enum Constant Details

  • Method Details

    • values

      public static AxisOrientation[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static AxisOrientation 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 name
      NullPointerException - if the argument is null
    • getName

      public String getName()