public class NumberTickUnit extends TickUnit implements Serializable
| Constructor and Description |
|---|
NumberTickUnit(double size)
Creates a new number tick unit.
|
NumberTickUnit(double size,
NumberFormat formatter)
Creates a new number tick unit.
|
NumberTickUnit(double size,
NumberFormat formatter,
int minorTickCount)
Creates a new number tick unit.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Tests this formatter for equality with an arbitrary object.
|
int |
hashCode()
Returns a hash code for this instance.
|
String |
toString()
Returns a string representing this unit.
|
String |
valueToString(double value)
Converts a value to a string.
|
compareTo, getMinorTickCount, getSizepublic NumberTickUnit(double size)
size - the size of the tick unit.public NumberTickUnit(double size,
NumberFormat formatter)
size - the size of the tick unit.formatter - a number formatter for the tick unit (null
not permitted).public NumberTickUnit(double size,
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.public String valueToString(double value)
valueToString in class TickUnitvalue - the value.public boolean equals(Object obj)
public String toString()
Copyright © 2001–2017 JFree.org. All rights reserved.