Enum Graph.Axis.Dir

java.lang.Object
java.lang.Enum<Graph.Axis.Dir>
org.bzdev.graphs.Graph.Axis.Dir
All Implemented Interfaces:
Serializable, Comparable<Graph.Axis.Dir>
Enclosing class:
Graph.Axis

public static enum Graph.Axis.Dir extends Enum<Graph.Axis.Dir>
The direction of an axis. The direction an axis points is defined as a direction in graph coordinate space.
  • Enum Constant Details

    • VERTICAL_INCREASING

      public static final Graph.Axis.Dir VERTICAL_INCREASING
      An axis pointing vertically in the direction of an increasing y coordinate.
    • VERTICAL_DECREASING

      public static final Graph.Axis.Dir VERTICAL_DECREASING
      An axis pointing vertically in the direction of a decreasing y coordinate.
    • HORIZONTAL_DECREASING

      public static final Graph.Axis.Dir HORIZONTAL_DECREASING
      An axis pointing horizontally in the direction of a decreasing x coordinate.
    • HORIZONTAL_INCREASING

      public static final Graph.Axis.Dir HORIZONTAL_INCREASING
      An axis pointing horizontally in the direction of an increasing x coordinate.
  • Method Details

    • values

      public static Graph.Axis.Dir[] 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 Graph.Axis.Dir 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