|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.chart.axis.TickUnit
org.jfree.chart.axis.NumberTickUnit
A numerical tick unit.
Constructor Summary | |
NumberTickUnit(double size)
Creates a new number tick unit. |
|
NumberTickUnit(double size,
java.text.NumberFormat formatter)
Creates a new number tick unit. |
Method Summary | |
boolean |
equals(java.lang.Object obj)
Tests this formatter for equality with an arbitrary object. |
int |
hashCode()
Returns a hash code for this instance. |
java.lang.String |
valueToString(double value)
Converts a value to a string. |
Methods inherited from class org.jfree.chart.axis.TickUnit |
compareTo, getSize |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NumberTickUnit(double size)
size
- the size of the tick unit.public NumberTickUnit(double size, java.text.NumberFormat formatter)
size
- the size of the tick unit.formatter
- a number formatter for the tick unit (null
not permitted).Method Detail |
public java.lang.String valueToString(double value)
valueToString
in class TickUnit
value
- the value.
public boolean equals(java.lang.Object obj)
equals
in class TickUnit
obj
- the object (null
permitted).
public int hashCode()
hashCode
in class TickUnit
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |