|
|||||||||
| 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
org.jfree.chart.axis.SymbolicTickUnit
public class SymbolicTickUnit
A symbolic tick unit.
| Constructor Summary | |
|---|---|
SymbolicTickUnit(double size,
java.lang.String[] sv)
Creates a new symbolic tick unit. |
|
| Method Summary | |
|---|---|
int |
getSymbolCount()
Returns the number of symbols in this unit. |
java.lang.String |
valueToString(double value)
Converts a value to a string, using the list of symbolic values. |
| Methods inherited from class org.jfree.chart.axis.TickUnit |
|---|
compareTo, equals, getSize |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SymbolicTickUnit(double size,
java.lang.String[] sv)
size - the size of the tick unit.sv - the list of symbolic value to display instead of the numeric value.| Method Detail |
|---|
public java.lang.String valueToString(double value)
valueToString in class NumberTickUnitvalue - value to convert.
public int getSymbolCount()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||