com.ltu.smd116.beans
Class SeaChartBean
- public class SeaChartBean
The SeaChartBean class will draw the seachart.
- Author:
- Anna Nilsson
Method Summary |
void | makeChartImage() creates the picture of the SeaChart. |
void | reset() |
void | zoomOut() Will zoom out the SeaChart. |
void | zoomTo(int x, int y) Generates the coordinate to the metod makeChartImage
to draw the new zoom to picture. |
blSeaChart
private BLSeaChart blSeaChart
current
private ChartContainer current
SeaChartBean
public SeaChartBean()
- the constructor
makeChartImage
public void makeChartImage()
- creates the picture of the SeaChart.
reset
public void reset()
zoomOut
public void zoomOut()
- Will zoom out the SeaChart.
zoomTo
public void zoomTo(int x, int y)
- Generates the coordinate to the metod makeChartImage
to draw the new zoom to picture.- Parameters:
- x - is the new x-coordinate on the SeaChart.
- y - is the new y-coordinate on the SeaChart.
to Class com.ltu.smd116.containers.ChartContainer
to Class com.ltu.smd116.bl.seachart.BLSeaChart