|
Venice 0.7beta | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.mov.chart.Coordinate
public class Coordinate
Field Summary | |
---|---|
protected static int |
BREAK
|
Constructor Summary | |
---|---|
Coordinate()
Constrcut a Coordinate, as a null coordinate initially |
|
Coordinate(java.lang.Comparable x,
java.lang.Double y,
java.lang.Integer yCoord)
Construct a new coordinate defined in the chart space |
|
Coordinate(java.lang.Comparable x,
java.lang.Double y,
java.lang.Integer yCoord,
int level)
Construct a new coordinate defined in the chart space |
Method Summary | |
---|---|
boolean |
compareTo(Coordinate c)
Direct comparison between this coordinate and a specified one |
int |
getLevel()
Return the graph level the y coordinate |
java.lang.Comparable |
getXData()
Return the X value of this coordinate |
java.lang.Integer |
getYCoord()
Return the absolute y coordinate of this coordinate |
java.lang.Double |
getYData()
Return the Y value of this coordinate |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected static final int BREAK
Constructor Detail |
---|
public Coordinate(java.lang.Comparable x, java.lang.Double y, java.lang.Integer yCoord)
x
- The X value of the coordinate (a data value)y
- The Y value of the coordinate (a data value)yCoord
- The screen value of the yCoordinatepublic Coordinate(java.lang.Comparable x, java.lang.Double y, java.lang.Integer yCoord, int level)
x
- The X value of the coordinate (a data value)y
- The Y value of the coordinate (a data value)yCoord
- The screen value of the yCoordinatelevel
- The chart level of the yCoordinatepublic Coordinate()
Method Detail |
---|
public java.lang.Comparable getXData()
public java.lang.Double getYData()
public java.lang.Integer getYCoord()
public int getLevel()
public boolean compareTo(Coordinate c)
The
- line to compare this one to
public java.lang.String toString()
toString
in class java.lang.Object
|
Venice 0.7beta | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |