|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--quicktime.app.image.QTEffect
|
+--quicktime.app.image.QTFilter
|
+--quicktime.app.image.QTTransition
QTTransistions are visual effects that are applied to a two images, transitioning from the source image to the destination image. Upon completion of the transition the source and destination images are swapped, so you can also transition back to the original source image or set a new desintation image.
The QTTransition can run in two modes - in time mode the doTransition method will run the effect in as close as time as possible to the time specified. In frames mode the effect will be run for the number of frames that are specified.
The doTransition method is provided as a means of running the transition according to the time or frames setting. The transition will run as effectively as possible from start to finish - it is a call that blocks the thread of execution that made this call whilst the transition is running.
If a transition should be run with more application control then the application can control the setting of the current frame of the transition and call redraw after setting each frame. The redraw method will redraw the current frame of the transition.
| Field Summary |
| Fields inherited from interface quicktime.app.image.Redrawable |
kMultiFrame, kSingleFrame |
| Constructor Summary | |
QTTransition()
Deprecated. since QTJava 6.1 |
|
QTTransition(java.awt.Dimension d)
Deprecated. since QTJava 4.0 |
|
QTTransition(QDDimension d)
Deprecated. since QTJava 6.1 |
|
| Method Summary | |
void |
doTime(boolean flag)
Deprecated. since QTJava 6.1 |
void |
doTransition()
Deprecated. since QTJava 6.1 |
ImageSpec |
getDestinationImage()
Deprecated. Returns the current destination image * @deprecated since QTJava 6.1 |
int |
getFramesPerSecond()
Deprecated. since QTJava 6.1 |
int |
getTime()
Deprecated. since QTJava 6.1 |
boolean |
isProfiled()
Deprecated. since QTJava 6.1 |
boolean |
isTime()
Deprecated. since QTJava 6.1 |
int |
profileDuration()
Deprecated. since QTJava 6.1 |
int |
profileFramesRendered()
Deprecated. since QTJava 6.1 |
void |
setCurrentFrame(int frame)
Deprecated. since QTJava 6.1 |
void |
setDestinationImage(ImageSpec image)
Deprecated. Sets the destination image of the Transition - the image that the transition will transition to. |
void |
setEffect(AtomContainer effectParams)
Deprecated. since QTJava 6.1 |
void |
setFrames(int frames)
Deprecated. Sets the maximum number of frames that an effect can run for.* @deprecated since QTJava 6.1 |
void |
setFramesPerSecond(int frames)
Deprecated. since QTJava 6.1 |
void |
setProfiled(boolean flag)
Deprecated. since QTJava 6.1 |
void |
setTime(int time)
Deprecated. since QTJava 6.1 |
protected boolean |
setUpSequence()
Deprecated. since QTJava 6.1 |
void |
swapImages()
Deprecated. since QTJava 6.1 |
| Methods inherited from class quicktime.app.image.QTFilter |
getOriginalSize, getSourceImage, setSourceImage |
| Methods inherited from class quicktime.app.image.QTEffect |
addedTo, checkForEffect, getClip, getCurrentFrame, getDescription, getDisplayBounds, getDSequence, getEffect, getFrames, getGraphicsMode, getGWorld, getImage, getInitialSize, getMatrix, isRedrawing, isSingleFrame, redraw, removedFrom, setClip, setDisplayBounds, setGraphicsMode, setGWorld, setLocation, setMatrix, setRedrawing |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public QTTransition()
throws QTException
public QTTransition(java.awt.Dimension d)
throws QTException
public QTTransition(QDDimension d)
throws QTException
| Method Detail |
public void setEffect(AtomContainer effectParams)
throws QTException
setEffect in class QTFiltereffectParams - the parameters that determine the effect that is run
QTException
public void setDestinationImage(ImageSpec image)
throws QTException
QTExceptionpublic ImageSpec getDestinationImage()
protected boolean setUpSequence()
throws QTException
setUpSequence in class QTFilterQTException
public void doTransition()
throws QTException
QTException
public void swapImages()
throws QTException
QTException
public void setFrames(int frames)
throws QTException
QTException
public void setFramesPerSecond(int frames)
throws QTException
QTExceptionpublic int getFramesPerSecond()
public void setCurrentFrame(int frame)
frame - the frame to be rendered
public void setTime(int time)
throws QTException
time - the time in milliseconds for the effect to run for in time mode
QTExceptionpublic int getTime()
public void doTime(boolean flag)
flag - a booleanpublic boolean isTime()
public void setProfiled(boolean flag)
flag - if true will profilepublic boolean isProfiled()
public int profileFramesRendered()
public int profileDuration()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||