org.jfree.chart.axis
public class NumberTickUnit extends TickUnit implements Serializable
Constructor Summary | |
---|---|
NumberTickUnit(double size)
Creates a new number tick unit.
| |
NumberTickUnit(double size, NumberFormat formatter)
Creates a new number tick unit.
| |
NumberTickUnit(double size, NumberFormat formatter, int minorTickCount)
Creates a new number tick unit.
|
Method Summary | |
---|---|
boolean | equals(Object obj)
Tests this formatter for equality with an arbitrary object.
|
int | hashCode()
Returns a hash code for this instance.
|
String | toString()
Returns a string representing this unit.
|
String | valueToString(double value)
Converts a value to a string.
|
Parameters: size the size of the tick unit.
Parameters: size the size of the tick unit. formatter a number formatter for the tick unit (null
not permitted).
Parameters: size the size of the tick unit. formatter a number formatter for the tick unit (null
not permitted). minorTickCount the number of minor ticks.
Since: 1.0.7
Parameters: obj the object (null
permitted).
Returns: A boolean.
Returns: A hash code.
Returns: A string.
Parameters: value the value.
Returns: The formatted string.