|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.jrefinery.chart.Tick
public class Tick
Represents the dimensions of a tick on an axis (used during the process of drawing a chart, but not retained).
| Field Summary | |
|---|---|
protected java.lang.String |
text
A text version of the tick value. |
protected java.lang.Object |
value
The tick value. |
protected float |
x
The x-coordinate of the tick. |
protected float |
y
The y-coordinate of the tick. |
| 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. |
float |
getY()
Returns the y-coordinate of the tick. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.Object value
protected java.lang.String text
protected float x
protected float y
| Constructor Detail |
|---|
public Tick(java.lang.Object value,
java.lang.String text,
float x,
float y)
value - The tick value;formattedValue - The formatted version of the tick value;x - The x-coordinate of the tick;y - The y-coordinate of the tick;
public Tick(java.lang.String text,
float x,
float y)
formattedValue - 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 | |||||||