|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--quicktime.app.image.ImagePresenter
|
+--quicktime.app.image.QTEffectPresenter
The QTEffectPresenter is used to present typically a QTFilter or QTTransition as a member of a SWCompositor. It will create an Invalidator based on whether the effect is a single or multi-framed effect and the Invalidator will redraw the effect based on the effect's current isRedrawing value. If the effect is redrawn then the TwoDSprite that is presenting the effect in the SWCompositor will be invalidated to update the image it is presenting.
quicktime.app.display.SWCompositor| Constructor Summary | |
QTEffectPresenter(QTEffect ef)
Deprecated. since QTJava 6.1 |
|
QTEffectPresenter(QTEffect ef,
QDGraphics g)
Deprecated. since QTJava 6.1 |
|
| Method Summary | |
void |
addDrawingListener(DrawingListener listener)
Deprecated. since QTJava 6.1 |
Invalidator |
addedToCompositor(SWCompositor c,
TwoDSprite s)
Deprecated. since QTJava 6.1 |
void |
doTransition()
Deprecated. since QTJava 6.1 |
QTEffect |
getEffect()
Deprecated. since QTJava 6.1 |
void |
redraw(Region invalidRgn)
Deprecated. since QTJava 6.1 |
void |
removedFromCompositor(SWCompositor c)
Deprecated. since QTJava 6.1 |
void |
removeDrawingListener(DrawingListener listener)
Deprecated. since QTJava 6.1 |
| Methods inherited from class quicktime.app.image.ImagePresenter |
addedTo, doDraw, fromFile, fromGraphicsImporter, fromGraphicsImporterDrawer, fromGWorld, fromGWorld, fromImageSequence, fromImageSpec, fromPict, fromQTImage, getClip, getDescription, getDisplayBounds, getDSequence, getGraphicsMode, getGWorld, getImage, getInitialSize, getMatrix, getOriginalSize, isRedrawOptimised, removedFrom, removeImageData, setClip, setDisplayBounds, setGraphicsMode, setGWorld, setImageData, setImageData, setLocation, setMatrix, setRedrawOptimised, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface quicktime.app.image.Compositable |
getGraphicsMode, setGraphicsMode |
| Methods inherited from interface quicktime.app.image.ImageSpec |
getDescription, getImage |
| Constructor Detail |
public QTEffectPresenter(QTEffect ef)
throws QTException
ef - the effect that is rendered
public QTEffectPresenter(QTEffect ef,
QDGraphics g)
throws QTException
ef - the effect that is renderedg - the offscreen QDGraphics that the effect is rendered into.| Method Detail |
public void redraw(Region invalidRgn)
throws QTException
redraw in interface Drawableredraw in class ImagePresenterinvalidRgn - the invalidRgn that the client should redraw
QTExceptionpublic QTEffect getEffect()
public void doTransition()
throws QTException
QTException
public Invalidator addedToCompositor(SWCompositor c,
TwoDSprite s)
The Invalidators provided with objects that implement the DynamicImage interface will execute at the scale and period of the Compositor when they are created.
addedToCompositor in interface DynamicImagec - the Compositor in which the DynamicImage is a members - the TwoDSprite that is presenting the DynamicImage's image in
the Compositor. This is the sprite that must be invalidated.
quicktime.app.display.SWCompositorpublic void removedFromCompositor(SWCompositor c)
removedFromCompositor in interface DynamicImagec - the SWCompositor it is being removed frompublic void addDrawingListener(DrawingListener listener)
addDrawingListener in interface DrawingNotifierpublic void removeDrawingListener(DrawingListener listener)
removeDrawingListener in interface DrawingNotifier
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||