com.jidesoft.gauge
Enum DialLabelOrientation
java.lang.Object
java.lang.Enum<DialLabelOrientation>
com.jidesoft.gauge.DialLabelOrientation
- All Implemented Interfaces:
- Serializable, Comparable<DialLabelOrientation>
public enum DialLabelOrientation
- extends Enum<DialLabelOrientation>
The directions are named according to the direction in which you read the text
(assuming a language that reads left to right).
TANGENTIAL_CLOCKWISE
public static final DialLabelOrientation TANGENTIAL_CLOCKWISE
TANGENTIAL_ANTICLOCKWISE
public static final DialLabelOrientation TANGENTIAL_ANTICLOCKWISE
PERPENDICULAR_OUTWARD
public static final DialLabelOrientation PERPENDICULAR_OUTWARD
PERPENDICULAR_INWARD
public static final DialLabelOrientation PERPENDICULAR_INWARD
UPRIGHT
public static final DialLabelOrientation UPRIGHT
values
public static DialLabelOrientation[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (DialLabelOrientation c : DialLabelOrientation.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static DialLabelOrientation 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