|
||||||||||
| 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
public class 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. |
|
NumberTickUnit(double size,
java.text.NumberFormat formatter,
int minorTickCount)
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 |
toString()
Returns a string representing this unit. |
java.lang.String |
valueToString(double value)
Converts a value to a string. |
| Methods inherited from class org.jfree.chart.axis.TickUnit |
|---|
compareTo, getMinorTickCount, getSize |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, 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).
public NumberTickUnit(double size,
java.text.NumberFormat formatter,
int minorTickCount)
size - the size of the tick unit.formatter - a number formatter for the tick unit (null
not permitted).minorTickCount - the number of minor ticks.| Method Detail |
|---|
public java.lang.String valueToString(double value)
valueToString in class TickUnitvalue - the value.
public boolean equals(java.lang.Object obj)
equals in class TickUnitobj - the object (null permitted).
public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class TickUnit
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||