|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.cosylab.vdct.graphics.objects.ZoomPane
public final class ZoomPane
ZoomPane
enables blowing up zoomed objects. It provides
the image containing zoomed objects in scale 1.0;
Field Summary | |
---|---|
static ZoomPane |
panel
|
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Method Summary | |
---|---|
int |
getHeight()
Returns the height of the image. |
static ZoomPane |
getInstance()
|
int |
getLeftOffset()
Returns the left offset - distance from the left border to the most left object. |
int |
getRightOffset()
Returns the right offset - distance from the right border to the most right object. |
int |
getTopOffset()
Returns the top offset - distance from the top border to the object that is the closest to the top. |
int |
getWidth()
Returns the width of the image. |
boolean |
imageUpdate(java.awt.Image img,
int infoflags,
int x,
int y,
int width,
int height)
|
java.awt.Image |
startZooming(VisibleObject obj,
boolean clearImage)
Starts drawing objects and returns drawn image. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static ZoomPane panel
Method Detail |
---|
public static ZoomPane getInstance()
public int getLeftOffset()
public int getRightOffset()
public int getTopOffset()
public java.awt.Image startZooming(VisibleObject obj, boolean clearImage)
obj
- clearImage
-
public int getWidth()
public int getHeight()
public boolean imageUpdate(java.awt.Image img, int infoflags, int x, int y, int width, int height)
imageUpdate
in interface java.awt.image.ImageObserver
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |