|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--quicktime.app.image.JImagePainter
This class implements the Paintable interface and is used in conjunction with a QTImageDrawer to capture the resulting pixel data of the specified java.awt.Image for QuickTime to render.
QTImageDrawer| Constructor Summary | |
JImagePainter(java.awt.Image image)
Deprecated. since QTJava 6.1 |
|
| Method Summary | |
void |
newSizeNotified(QTImageDrawer drawer,
java.awt.Dimension d)
Deprecated. since QTJava 6.1 |
java.awt.Rectangle[] |
paint(java.awt.Graphics g)
Deprecated. since QTJava 6.1 |
void |
prepareImage(java.awt.Component javaComponent)
Deprecated. since QTJava 6.1 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JImagePainter(java.awt.Image image)
image - the java.awt.Image to draw.QTImageDrawer| Method Detail |
public void prepareImage(java.awt.Component javaComponent)
javaComponent - the java.awt.Component
public void newSizeNotified(QTImageDrawer drawer,
java.awt.Dimension d)
After this call is received by the Paintable it should return in the paint method a rectangle that describes the complete size of the image.
newSizeNotified in interface Paintabledrawer - the QTImageDrawer that is notifiying the Paintable object that its size has changed.d - the new size of the offscreen image that the painter can paint into.public java.awt.Rectangle[] paint(java.awt.Graphics g)
paint in interface Paintableg - the graphics to paint on.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||