|
Venice 0.7beta | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.mov.chart.DrawnLine
public class DrawnLine
| Constructor Summary | |
|---|---|
DrawnLine()
|
|
DrawnLine(Coordinate start,
Coordinate end)
Construct a new DrawnLine with a pair of end points |
|
| Method Summary | |
|---|---|
boolean |
compareTo(Coordinate start,
Coordinate end)
Direct comparison between this line and a specified one |
boolean |
compareTo(DrawnLine l)
Direct comparison between this line and a specified one |
Coordinate |
getEnd()
Return the coordinate of the last point of the line |
Coordinate |
getStart()
Return the coordinate of the first point of the line |
void |
setEnd(Coordinate p)
Set the end point of the line |
void |
setStart(Coordinate p)
Set the start point of the line |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DrawnLine()
public DrawnLine(Coordinate start,
Coordinate end)
start - The first end pointend - The second end point| Method Detail |
|---|
public Coordinate getStart()
public Coordinate getEnd()
public void setStart(Coordinate p)
p - The Coordinate of the first point in the linepublic void setEnd(Coordinate p)
p - The Coordinate of the end point in the linepublic boolean compareTo(DrawnLine l)
The - line to compare this one to
public boolean compareTo(Coordinate start,
Coordinate end)
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 | ||||||||