public static enum Axis.Orientation extends Enum<Axis.Orientation>
The choice of the tick orientation induce the orientation of the axis.
Enum Constant and Description |
---|
BOTTOM
Ticks as below the horizontal axis.
|
LEFT
Ticks as on the left of the vertical axis.
|
RIGHT
Ticks as on the right of the vertical axis.
|
TOP
Ticks as above the horizontal axis.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isHorizontalAxis() |
boolean |
isVerticalAxis() |
static Axis.Orientation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Axis.Orientation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Axis.Orientation TOP
public static final Axis.Orientation BOTTOM
public static final Axis.Orientation LEFT
public static final Axis.Orientation RIGHT
public static Axis.Orientation[] values()
for (Axis.Orientation c : Axis.Orientation.values()) System.out.println(c);
public static Axis.Orientation valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic boolean isVerticalAxis()
public boolean isHorizontalAxis()
Copyright © 2015 gwt-d3. All rights reserved.