|
Header
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jfree.chart.axis.StandardTickUnitSource
public class StandardTickUnitSource
A source that can used by the NumberAxis
class to obtain a
suitable TickUnit
. Instances of this class are Serializable
from version 1.0.7 onwards. Cloning is not supported, because instances
are immutable.
Constructor Summary | |
---|---|
StandardTickUnitSource()
Default constructor. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Tests this instance for equality with an arbitrary object. |
TickUnit |
getCeilingTickUnit(double size)
Returns the tick unit in the collection that is greater than or equal to the specified size. |
TickUnit |
getCeilingTickUnit(TickUnit unit)
Returns the tick unit in the collection that is greater than or equal to (in size) the specified unit. |
TickUnit |
getLargerTickUnit(TickUnit unit)
Returns a tick unit that is larger than the supplied unit. |
int |
hashCode()
Returns a hash code for this instance. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StandardTickUnitSource()
Method Detail |
---|
public TickUnit getLargerTickUnit(TickUnit unit)
getLargerTickUnit
in interface TickUnitSource
unit
- the unit (null
not permitted).
public TickUnit getCeilingTickUnit(TickUnit unit)
getCeilingTickUnit
in interface TickUnitSource
unit
- the unit (null
not permitted).
public TickUnit getCeilingTickUnit(double size)
getCeilingTickUnit
in interface TickUnitSource
size
- the size.
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the object (null
permitted).
public int hashCode()
hashCode
in class java.lang.Object
|
Footer
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |