|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A zoomable Raster.. ZoomRaster is a subclass of Raster that implements a zoomable image. It handles translation between logical coordinates and screen coordinates.
Method Summary | |
Object |
decreaseZoom()
Make the raster smaller. |
int |
getZoomFactor()
Get the current zoom factor. |
Object |
handleConfigureWidth$Height(int newWidth,
int newHeight)
Reconfigures the ZoomRaster when the window is resized. |
Object |
increaseZoom()
Make the raster bigger. |
Object |
setZoomFactor(int z)
Set the zoom factor. |
Methods inherited from interface swarm.gui.Raster |
draw$X$Y,
drawPointX$Y$Color,
drawSelf,
ellipseX0$Y0$X1$Y1$Width$Color,
erase,
fillRectangleX0$Y0$X1$Y1$Color,
lineX0$Y0$X1$Y1$Width$Color,
rectangleX0$Y0$X1$Y1$Width$Color,
setButton$Client$Message,
setColormap,
setWidth$Height |
Method Detail |
public Object increaseZoom()
public Object decreaseZoom()
public int getZoomFactor()
public Object setZoomFactor(int z)
public Object handleConfigureWidth$Height(int newWidth, int newHeight)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |