Package com.iizix.prop.ui.chart.axis2d
Enum Class AxisNumber
- All Implemented Interfaces:
IPropCnrNumber
,Serializable
,Comparable<AxisNumber>
,Constable
The Axis2D number settings the can be set or retrieved.
- Author:
- Christopher Mindus
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Enum Constant Summary
Enum ConstantDescriptionThe "from" value forces the chart to render data visible from this value, not defined by default as Double.NaN.The amount to skip before a major tick is drawn.The maximum value or Double.NaN for default, i.e.The amount to skip before a micro tick is drawn.The minimum value or Double.NaN for default, i.e.The amount to skip before a minor tick is drawn.The "to" value forces the chart to render data visible to this value or, not defined by default as Double.NaN.Method Summary
Modifier and TypeMethodDescriptiondouble
Gets the default value when the property is not set.Returns the name of the property, usually starting with '$'.static AxisNumber
Returns the enum constant of this class with the specified name.static AxisNumber[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface com.iizix.prop.IPropCnrNumber
validate
Enum Constant Details
MINIMUM
The minimum value or Double.NaN for default, i.e. automatic.MAXIMUM
The maximum value or Double.NaN for default, i.e. automatic.FROM
The "from" value forces the chart to render data visible from this value, not defined by default as Double.NaN.TO
The "to" value forces the chart to render data visible to this value or, not defined by default as Double.NaN.MAJOR_TICK_STEP
The amount to skip before a major tick is drawn. When not set the major ticks step is computed from the data range.Default 4.0.
MINOR_TICK_STEP
The amount to skip before a minor tick is drawn. When not set the minor ticks step is computed from the data range.Default 2.0.
MICRO_TICK_STEP
The amount to skip before a micro tick is drawn. When not set the micro ticks step is computed from. the data range.Default 1.0.
Method Details
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
getDefaultValue
public double getDefaultValue()Gets the default value when the property is not set.- Specified by:
getDefaultValue
in interfaceIPropCnrNumber
getPropName
Returns the name of the property, usually starting with '$'.- Specified by:
getPropName
in interfaceIPropCnrNumber