|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdiva.canvas.CanvasLayer
jsky.image.graphics.ImageLayer
public class ImageLayer
Defines a Diva canvas layer for displaying an image.
Field Summary | |
---|---|
protected DivaGraphicsImageDisplay |
imageDisplay
Image display canvas |
protected boolean |
visible
If the flag is false, then the object will not be painted on the screen. |
Constructor Summary | |
---|---|
ImageLayer(DivaGraphicsImageDisplay imageDisplay)
Construct an ImageLayer. |
Method Summary | |
---|---|
boolean |
isVisible()
Test the visibility flag of this object. |
void |
paint(java.awt.Graphics2D g2d)
Paint this object onto a 2D graphics object. |
void |
paint(java.awt.Graphics2D g2D,
java.awt.geom.Rectangle2D region)
Paint this object onto a 2D graphics object, within the given region. |
void |
setVisible(boolean flag)
Set the visibility flag of this object. |
Methods inherited from class diva.canvas.CanvasLayer |
---|
getCanvasPane, getLayerBounds, getParent, getToolTipText, getTransformContext, repaint, repaint, setParent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface diva.canvas.CanvasComponent |
---|
getParent, getTransformContext, repaint, repaint |
Field Detail |
---|
protected DivaGraphicsImageDisplay imageDisplay
protected boolean visible
Constructor Detail |
---|
public ImageLayer(DivaGraphicsImageDisplay imageDisplay)
imageDisplay
- the image display windowMethod Detail |
---|
public boolean isVisible()
isVisible
in interface diva.canvas.VisibleComponent
public void paint(java.awt.Graphics2D g2d)
paint
in interface diva.canvas.VisibleComponent
public void paint(java.awt.Graphics2D g2D, java.awt.geom.Rectangle2D region)
paint
in interface diva.canvas.VisibleComponent
public void setVisible(boolean flag)
setVisible
in interface diva.canvas.VisibleComponent
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |