Enum AxisTransforms
- All Implemented Interfaces:
AxisTransform
,com.jfreechartextensions.axistransformations.BasicAxisTransform
,Serializable
,Comparable<AxisTransforms>
,java.lang.constant.Constable
public enum AxisTransforms extends Enum<AxisTransforms> implements AxisTransform, Serializable
Common
AxisTransform
s.-
Nested Class Summary
-
Enum Constant Summary
-
Method Summary
Modifier and Type Method Description static AxisTransform
axisTransform(String name)
Returns an axis transform.static String[]
axisTransformNames()
Returns the names of available axis transforms.double
inverseTransform(double axisValue)
boolean
isVisible(double dataValue)
double
transform(double dataValue)
static AxisTransforms
valueOf(String name)
Returns the enum constant of this type with the specified name.static AxisTransforms[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
transform
public double transform(double dataValue)- Specified by:
transform
in interfacecom.jfreechartextensions.axistransformations.BasicAxisTransform
-
inverseTransform
public double inverseTransform(double axisValue)- Specified by:
inverseTransform
in interfacecom.jfreechartextensions.axistransformations.BasicAxisTransform
-
isVisible
public boolean isVisible(double dataValue)- Specified by:
isVisible
in interfacecom.jfreechartextensions.axistransformations.BasicAxisTransform
-
axisTransform
Returns an axis transform.- Parameters:
name
- case insensitive transform name.- Returns:
- requested axis transform.
- Throws:
IllegalArgumentException
-name
must not be null.
-
axisTransformNames
Returns the names of available axis transforms.- Returns:
- an array of the available axis transform names.
-