Enum Class AxisValue

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

public enum AxisValue extends Enum<AxisValue>
Enumeration that indicates a logical location for an axis.

The location is dependent on the values of the other axis.

See Also:
  • Enum Constant Details

    • Minimum

      public static final AxisValue Minimum
      The minimum value.
    • Maximum

      public static final AxisValue Maximum
      The maximum value.
    • Zero

      public static final AxisValue Zero
      The zero value (if displayed).
    • Both

      public static final AxisValue Both
      At both sides (Minimum and Maximum).
  • Method Details

    • values

      public static AxisValue[] 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 AxisValue 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.