|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Specifies methods for drawing graphics objects over an image drawn on a component.
Method Summary | |
void |
addMouseListener(java.awt.event.MouseListener ml)
|
void |
addMouseMotionListener(java.awt.event.MouseMotionListener ml)
|
void |
eraseShapes()
|
java.awt.Graphics2D |
getDisplayedImageGC()
Use this method to check out the graphics context. |
java.awt.geom.AffineTransform |
getTransform()
Use this method to check out the current transformation. |
void |
removeMouseListener(java.awt.event.MouseListener ml)
|
void |
removeMouseMotionListener(java.awt.event.MouseMotionListener ml)
|
void |
repaint()
Repaints the graphical objects. |
void |
reset()
Resets the canvas |
void |
setTransform(java.awt.geom.AffineTransform atx)
Use this method to check in the current transformation. |
Method Detail |
public java.awt.Graphics2D getDisplayedImageGC()
public java.awt.geom.AffineTransform getTransform()
public void setTransform(java.awt.geom.AffineTransform atx)
atx
- the current transformation of the image canvas.public void eraseShapes()
public void repaint()
public void reset()
public void addMouseListener(java.awt.event.MouseListener ml)
public void removeMouseListener(java.awt.event.MouseListener ml)
public void addMouseMotionListener(java.awt.event.MouseMotionListener ml)
public void removeMouseMotionListener(java.awt.event.MouseMotionListener ml)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |