Package tech.tablesaw.plotly.components
Enum Axis.Constrain
- java.lang.Object
-
- java.lang.Enum<Axis.Constrain>
-
- tech.tablesaw.plotly.components.Axis.Constrain
-
- All Implemented Interfaces:
Serializable
,Comparable<Axis.Constrain>
- Enclosing class:
- Axis
public static enum Axis.Constrain extends Enum<Axis.Constrain>
If this axis needs to be compressed (either due to its own `scaleanchor` and `scaleratio` or those of the other axis), determines how that happens: by increasing the "range" (default), or by decreasing the "domain".
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
static Axis.Constrain
valueOf(String name)
Returns the enum constant of this type with the specified name.static Axis.Constrain[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RANGE
public static final Axis.Constrain RANGE
-
DOMAIN
public static final Axis.Constrain DOMAIN
-
-
Method Detail
-
values
public static Axis.Constrain[] 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.Constrain c : Axis.Constrain.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.Constrain 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.Constrain>
-
-