Enum LabelOrientation
- java.lang.Object
-
- java.lang.Enum<LabelOrientation>
-
- org.jzy3d.plot3d.primitives.axis.layout.LabelOrientation
-
- All Implemented Interfaces:
Serializable
,Comparable<LabelOrientation>
public enum LabelOrientation extends Enum<LabelOrientation>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HORIZONTAL
Default orientation of a labelPARALLEL_TO_AXIS
Process the labelled axis orientation in order to let the text be drawn along the axis.VERTICAL
Default orientation of a label
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LabelOrientation
valueOf(String name)
Returns the enum constant of this type with the specified name.static LabelOrientation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HORIZONTAL
public static final LabelOrientation HORIZONTAL
Default orientation of a label
-
VERTICAL
public static final LabelOrientation VERTICAL
Default orientation of a label
-
PARALLEL_TO_AXIS
public static final LabelOrientation PARALLEL_TO_AXIS
Process the labelled axis orientation in order to let the text be drawn along the axis. Do not use for Z axis as it is always vertical ifCameraMode.ORTHOGONAL
is enabled (CameraMode.PERSPECTIVE
makes Z axis not vertical on the screen) Setting Vertical for Z axis label is more efficient.
-
-
Method Detail
-
values
public static LabelOrientation[] 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 (LabelOrientation c : LabelOrientation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LabelOrientation 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 nameNullPointerException
- if the argument is null
-
-