|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.jfree.chart.axis.Tick
Represents the dimensions of a tick on an axis (used during the process of drawing a chart, but not retained).
Constructor Summary | |
Tick(java.lang.Object value,
java.lang.String text,
float x,
float y)
Standard constructor: creates a Tick with the specified properties. |
|
Tick(java.lang.String text,
float x,
float y)
Standard constructor: creates a Tick with the specified properties. |
Method Summary | |
double |
getNumericalValue()
Returns the numerical value of the tick, or null if the value is not a number. |
java.lang.String |
getText()
Returns the text version of the tick value. |
float |
getX()
Returns the x-coordinate of the tick label. |
float |
getY()
Returns the y-coordinate of the tick label. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Tick(java.lang.Object value, java.lang.String text, float x, float y)
value
- the tick value.text
- the formatted version of the tick value.x
- the x-coordinate of the tick label.y
- the y-coordinate of the tick label.public Tick(java.lang.String text, float x, float y)
text
- the formatted version of the tick value.x
- the x-coordinate of the tick.y
- the y-coordinate of the tick.Method Detail |
public double getNumericalValue()
public java.lang.String getText()
public float getX()
public float getY()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |