|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.jrefinery.chart.TickUnit
com.jrefinery.chart.NumberTickUnit
public class NumberTickUnit
A numerical tick unit.
| Field Summary | |
|---|---|
protected java.text.NumberFormat |
formatter
A formatter for the tick unit. |
| Fields inherited from class com.jrefinery.chart.TickUnit |
|---|
size |
| Constructor Summary | |
|---|---|
NumberTickUnit(double size,
java.text.NumberFormat formatter)
Creates a new number tick unit. |
|
| Method Summary | |
|---|---|
java.lang.String |
valueToString(double value)
Converts the supplied value to a string. |
| Methods inherited from class com.jrefinery.chart.TickUnit |
|---|
compareTo, getSize |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.text.NumberFormat formatter
| Constructor Detail |
|---|
public NumberTickUnit(double size,
java.text.NumberFormat formatter)
size - The size of the tick unit.formatter - A number formatter for the tick unit.| Method Detail |
|---|
public java.lang.String valueToString(double value)
TickUnitSubclasses of TickUnit may implement special formatting by overriding this method.
valueToString in class TickUnit
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||