Package tech.tablesaw.plotly.components
Enum Axis.ConstrainToward
- java.lang.Object
-
- java.lang.Enum<Axis.ConstrainToward>
-
- tech.tablesaw.plotly.components.Axis.ConstrainToward
-
- All Implemented Interfaces:
Serializable
,Comparable<Axis.ConstrainToward>
- Enclosing class:
- Axis
public static enum Axis.ConstrainToward extends Enum<Axis.ConstrainToward>
If this axis needs to be compressed (either due to its own `scaleanchor` and `scaleratio` or those of the other axis), determines which direction we push the originally specified plot area. Options are "left", "center" (default), and "right" for x axes, and "top", "middle" (default), and "bottom" for y axes.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
static Axis.ConstrainToward
valueOf(String name)
Returns the enum constant of this type with the specified name.static Axis.ConstrainToward[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LEFT
public static final Axis.ConstrainToward LEFT
-
CENTER
public static final Axis.ConstrainToward CENTER
-
RIGHT
public static final Axis.ConstrainToward RIGHT
-
TOP
public static final Axis.ConstrainToward TOP
-
MIDDLE
public static final Axis.ConstrainToward MIDDLE
-
BOTTOM
public static final Axis.ConstrainToward BOTTOM
-
-
Method Detail
-
values
public static Axis.ConstrainToward[] 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 (Axis.ConstrainToward c : Axis.ConstrainToward.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Axis.ConstrainToward 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
-
toString
public String toString()
- Overrides:
toString
in classEnum<Axis.ConstrainToward>
-
-