|
Venice 0.7beta | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.mov.chart.ChartDrawingModel
public class ChartDrawingModel
| Constructor Summary | |
|---|---|
ChartDrawingModel()
|
|
| Method Summary | |
|---|---|
void |
createNewLine(Coordinate start)
Creates a new straight line drawn on the chart. |
DrawnLine |
getDrawnLine(int index)
Return a specific line drawn on the chart |
java.util.Vector |
getDrawnLines()
Return all the lines drawn on the chart. |
java.util.Vector |
getDrawnPoints()
Return the list of all points drawn on the chart |
DrawnLine |
getLastLine()
Return the last line drawn, or in the process of being drawn. |
java.util.HashMap |
getText()
Return all the text written on the chart |
void |
removeLine(Coordinate start,
Coordinate end)
Remove the drawn line corresponding at a specific set of start and end points |
void |
removePoint(Coordinate point)
Remove the point drawn on the chart at this coordinate |
void |
removeText(Coordinate point)
Remove the text at a specific point |
void |
setPoint(Coordinate point)
Place a point on the chart at a point |
void |
setText(Coordinate point,
java.lang.String str)
Put text on the chart at a specific point |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChartDrawingModel()
| Method Detail |
|---|
public void createNewLine(Coordinate start)
start - The first point on the line.public DrawnLine getLastLine()
public java.util.Vector getDrawnLines()
public DrawnLine getDrawnLine(int index)
index - The index to the list of lines
public void removeLine(Coordinate start,
Coordinate end)
start - The start point of the lineend - The end point of the linepublic void setPoint(Coordinate point)
point - The coordinate to place on the chartpublic java.util.Vector getDrawnPoints()
public void removePoint(Coordinate point)
point - The coordinate of the point to removepublic java.util.HashMap getText()
public void setText(Coordinate point,
java.lang.String str)
point - The coordinate on the chart of where the text is to placedstr - The string to write on the chart.public void removeText(Coordinate point)
point - The coordinate on the chart of where to delete the text
|
Venice 0.7beta | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||