org.jfree.chart.axis
Class NumberTickUnit
- Comparable, Serializable
A numerical tick unit.
NumberTickUnit(double size)- Creates a new number tick unit.
|
NumberTickUnit(double size, NumberFormat formatter)- Creates a new number tick unit.
|
boolean | equals(Object obj)- Tests this formatter for equality with an arbitrary object.
|
int | hashCode()- Returns a hash code for this instance.
|
String | valueToString(double value)- Converts a value to a string.
|
NumberTickUnit
public NumberTickUnit(double size)
Creates a new number tick unit.
size - the size of the tick unit.
NumberTickUnit
public NumberTickUnit(double size,
NumberFormat formatter) Creates a new number tick unit.
size - the size of the tick unit.formatter - a number formatter for the tick unit (null
not permitted).
equals
public boolean equals(Object obj)
Tests this formatter for equality with an arbitrary object.
- equals in interface TickUnit
obj - the object (null permitted).