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 SummaryEnum ConstantsEnum 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 SummaryModifier and TypeMethodDescription- doubleGets the default value when the property is not set.Returns the name of the property, usually starting with '$'.- static AxisNumberReturns 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- MINIMUMThe minimum value or Double.NaN for default, i.e. automatic.
- MAXIMUMThe maximum value or Double.NaN for default, i.e. automatic.
- FROMThe "from" value forces the chart to render data visible from this value, not defined by default as Double.NaN.
- TOThe "to" value forces the chart to render data visible to this value or, not defined by default as Double.NaN.
- MAJOR_TICK_STEPThe 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_STEPThe 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_STEPThe 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- valuesReturns 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
 
- valueOfReturns 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 name
- NullPointerException- if the argument is null
 
- getDefaultValuepublic double getDefaultValue()Gets the default value when the property is not set.- Specified by:
- getDefaultValuein interface- IPropCnrNumber
 
- getPropNameReturns the name of the property, usually starting with '$'.- Specified by:
- getPropNamein interface- IPropCnrNumber