- All Implemented Interfaces:
Serializable
,Comparable<Graph.Axis.Dir>
- Enclosing class:
- Graph.Axis
The direction of an axis.
The direction an axis points is defined as a direction
in graph coordinate space.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAn axis pointing horizontally in the direction of a decreasing x coordinate.An axis pointing horizontally in the direction of an increasing x coordinate.An axis pointing vertically in the direction of a decreasing y coordinate.An axis pointing vertically in the direction of an increasing y coordinate. -
Method Summary
Modifier and TypeMethodDescriptionstatic Graph.Axis.Dir
Returns the enum constant of this type with the specified name.static Graph.Axis.Dir[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
VERTICAL_INCREASING
An axis pointing vertically in the direction of an increasing y coordinate. -
VERTICAL_DECREASING
An axis pointing vertically in the direction of a decreasing y coordinate. -
HORIZONTAL_DECREASING
An axis pointing horizontally in the direction of a decreasing x coordinate. -
HORIZONTAL_INCREASING
An axis pointing horizontally in the direction of an increasing x coordinate.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-