Enum Class Axis

java.lang.Object
java.lang.Enum<Axis>
eu.webtoolkit.jwt.chart.Axis
All Implemented Interfaces:
Serializable, Comparable<Axis>, Constable

public enum Axis extends Enum<Axis>
Enumeration that indicates a chart axis.
See Also:
  • Enum Constant Details

    • X

      public static final Axis X
      X axis.
    • Y

      public static final Axis Y
      First Y axis (== Y1).
    • Y2

      public static final Axis Y2
      Second Y Axis.
    • Ordinate

      public static final Axis Ordinate
      Ordinate axis (== Y1 for a 2D plot).
    • Y3D

      public static final Axis Y3D
  • Field Details

    • X3D

      public static Axis X3D
    • Z3D

      public static Axis Z3D
  • Method Details

    • values

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

      public static Axis valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public int getValue()
      Returns the numerical representation of this enum.