|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--quicktime.app.image.QTEffect
QTEffect forms the base class for visual effects that can be applied to images. Depending on the effect itself, visual effects can be applied over a length of time, or once only. They can be applied to no source images, a single image or multiple images.
The QTEffect class itself forms a base class that given a rectangular region will apply some visual effect (like fire/ripples). to its destination graphics. There are two subclasses - QTFilter which is an effect that is applied to a single source image and QTTransition which is an effect that is applied to two images, transitioning from the source image to the destination image.
| Field Summary |
| Fields inherited from interface quicktime.app.image.Redrawable |
kMultiFrame, kSingleFrame |
| Constructor Summary | |
QTEffect()
Deprecated. since QTJava 6.1 |
|
QTEffect(java.awt.Dimension d)
Deprecated. since QTJava 4.0 |
|
QTEffect(int multiFrameFlag)
Deprecated. since QTJava 6.1 |
|
QTEffect(int multiFrameFlag,
java.awt.Dimension d)
Deprecated. since QTJava 4.0 |
|
QTEffect(int multiFrameFlag,
QDDimension d)
Deprecated. since QTJava 6.1 |
|
| Method Summary | |
void |
addedTo(java.lang.Object interest)
Deprecated. since QTJava 6.1 |
void |
checkForEffect(int effectType)
Deprecated. since QTJava 6.1 |
Region |
getClip()
Deprecated. Returns the current clipping region of the effect or null if the effect is not clipped * @deprecated since QTJava 6.1 |
int |
getCurrentFrame()
Deprecated. since QTJava 6.1 |
ImageDescription |
getDescription()
Deprecated. since QTJava 6.1 |
QDRect |
getDisplayBounds()
Deprecated. since QTJava 6.1 |
DSequence |
getDSequence()
Deprecated. since QTJava 6.1 |
AtomContainer |
getEffect()
Deprecated. since QTJava 6.1 |
int |
getFrames()
Deprecated. Returns the current maximum number of frames that an effect will run for * @deprecated since QTJava 6.1 |
GraphicsMode |
getGraphicsMode()
Deprecated. since QTJava 6.1 |
QDGraphics |
getGWorld()
Deprecated. since QTJava 6.1 |
EncodedImage |
getImage()
Deprecated. since QTJava 6.1 |
java.awt.Dimension |
getInitialSize()
Deprecated. since QTJava 4.0 |
Matrix |
getMatrix()
Deprecated. since QTJava 6.1 |
QDDimension |
getOriginalSize()
Deprecated. since QTJava 6.1 |
boolean |
isRedrawing()
Deprecated. since QTJava 6.1 |
boolean |
isSingleFrame()
Deprecated. since QTJava 6.1 |
void |
redraw(Region invalidRgn)
Deprecated. since QTJava 6.1 |
void |
removedFrom(java.lang.Object interest)
Deprecated. since QTJava 6.1 |
void |
setClip(Region r)
Deprecated. since QTJava 6.1 |
void |
setDisplayBounds(QDRect bounds)
Deprecated. since QTJava 6.1 |
void |
setEffect(AtomContainer effectParams)
Deprecated. since QTJava 6.1 |
void |
setGraphicsMode(GraphicsMode mode)
Deprecated. since QTJava 6.1 |
void |
setGWorld(QDGraphics cgp)
Deprecated. since QTJava 6.1 |
void |
setLocation(int x,
int y)
Deprecated. since QTJava 6.1 |
void |
setMatrix(Matrix matrix)
Deprecated. since QTJava 6.1 |
void |
setRedrawing(boolean redrawFlag)
Deprecated. since QTJava 6.1 |
protected boolean |
setUpSequence()
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 QTEffect()
throws QTException
public QTEffect(java.awt.Dimension d)
throws QTException
d - the initialSize of the effect.
public QTEffect(int multiFrameFlag)
throws QTException
multiFrameFlag - is normally set to kMultiFrame. The setting of this flag
will also set the initial setting of the redrawing flag. QTEffects
require redrawing so the default value is kMultiFrame. Typically the QTFilters do
not require redrawing so their default value is kSingleFrame. QTTransitions are
multiframes and so do require redrawing.
public QTEffect(int multiFrameFlag,
java.awt.Dimension d)
throws QTException
multiFrameFlag - is normally set to kMultiFrame. The setting of this flag
will also set the initial setting of the redrawing flag. QTEffects
require redrawing so the default value is kMultiFrame. Typically the QTFilters do
not require redrawing so their default value is kSingleFrame. QTTransitions are
multiframes and so do require redrawing.d - the initialSize of the effect.()
public QTEffect(int multiFrameFlag,
QDDimension d)
throws QTException
multiFrameFlag - is normally set to kMultiFrame. The setting of this flag
will also set the initial setting of the redrawing flag. QTEffects
require redrawing so the default value is kMultiFrame. Typically the QTFilters do
not require redrawing so their default value is kSingleFrame. QTTransitions are
multiframes and so do require redrawing.d - the initialSize of the effect.| Method Detail |
public void setRedrawing(boolean redrawFlag)
setRedrawing in interface RedrawableredrawFlag - boolean indicating redraw behaviourpublic boolean isRedrawing()
isRedrawing in interface Redrawablepublic boolean isSingleFrame()
isSingleFrame in interface Redrawable
public void setGraphicsMode(GraphicsMode mode)
throws QTException
QTExceptionpublic GraphicsMode getGraphicsMode()
public void setClip(Region r)
throws StdQTException
setClip in interface QTDrawabler - the clipping region
StdQTExceptionpublic Region getClip()
getClip in interface QTDrawable
public AtomContainer getEffect()
throws StdQTException
StdQTException
public void setEffect(AtomContainer effectParams)
throws QTException
effectParams - the parameters that determine the effect that is run
QTException
protected boolean setUpSequence()
throws QTException
QTExceptionpublic int getFrames()
public int getCurrentFrame()
public void checkForEffect(int effectType)
throws QTException
effectType - the effect type to check for
QTExceptionpublic void addedTo(java.lang.Object interest)
addedTo in interface Listenerinterest - the object that is to be the source of interest for the
the object that implements this interface.public void removedFrom(java.lang.Object interest)
removedFrom in interface Listenerinterest - the object that was the source of interest for the
the object that implements this interface.
public void setGWorld(QDGraphics cgp)
throws QTException
setGWorld in interface QTDrawablecgp - a QDGraphics object
QTException
public QDGraphics getGWorld()
throws QTException
getGWorld in interface QTDrawableQTException
public void setDisplayBounds(QDRect bounds)
throws QTException
setDisplayBounds in interface Drawablebounds - the new size and location.
QTException
public void setLocation(int x,
int y)
throws QTException
setLocation in interface QTDrawablex - the new x locationy - the new y location
QTException
public QDRect getDisplayBounds()
throws QTException
getDisplayBounds in interface DrawableQTExceptionpublic DSequence getDSequence()
public EncodedImage getImage()
public ImageDescription getDescription()
throws QTException
QTException
public java.awt.Dimension getInitialSize()
throws QTException
QTException()
public QDDimension getOriginalSize()
throws QTException
getOriginalSize in interface TransformableQTException
public Matrix getMatrix()
throws QTException
getMatrix in interface TransformableQTException
public void setMatrix(Matrix matrix)
throws QTException
setMatrix in interface TransformableQTException
public void redraw(Region invalidRgn)
throws QTException
redraw in interface DrawableinvalidRgn - the invalidRgn that the client should redraw
QTException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||