Technical: QuickTime: Java
Advanced Search
Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

QuickTime for Java Application Framework

The classes in this framework are built entirely on top of the QuickTime for Java native binding classes; as such, there are no direct native calls in these packages.

The QuickTime Application Framework Packages



The quicktime.app package.
This package contains the QTFactory class. It enables the creation of quicktime.app.display.Drawable objects from a File or an URL that specifies a file. The Sample Code QTSimpleApplet shows a common usage of this - where any media file format that QuickTime can present or import is represented by an object that implements the quicktime.app.display.QTDrawable interface.

Back to top



The quicktime.app.actions package.
This package contains Controller classes for mouse drags and some action classes that can be used with objects that implement the quicktime.app.image.Transformable interface.

Back to top



The quicktime.app.anim package.
This package contains classes that present the functionality of the Sprite and SpriteWorld.

Back to top



The quicktime.app.audio package.
This package contains classes that deal with the audio capabilities of QuickTime. It contains the AudioSpec interface that any audio capable QuickTime object can implement. This would allow dealing with a variety of QT objects as audio objects (for example to build an AudioMixer).

Back to top



The quicktime.app.display package.
This package contains classes that negotiate with java.awt to allow the presentation of QuickTime content within a java window or display space. The primary class here is the QTCanvas and the QTDrawable interface. Various objects within the application framework implement this interface and thus can be displayed within the confines of the QTCanvas. This package also contains two objects that allow the program to group other QTDrawable objects to present a composited drawing. DirectGroup contains groups of objects that draw directly to the screen, Compositor contains groups of objects that will render first to an offscreen buffer before a composited image is drawn to the screen.

Back to top



The quicktime.app.image package.
Classes within this package handle the presentation of images within a java display space. There are utility routines for setting transparent colors in images, applying visual effects, objects for handling sequences of images and QTDrawable objects that read image data from a file or load the data into memory. There is also a QTImageDrawer that allows Java drawing commands into a java.awt.Graphics which is drawn by QuickTime and a QTImageProducer that allows any kind of QTDrawable object to be a source object for pixel data using the Image Consumer and Producer API of the java.awt.image package.

Back to top



The quicktime.app.players package.
This package contains the QTPlayer and MoviePlayer that present QuickTime movies in the QTCanvas (they implement the QTDrawable interface).

Back to top



The quicktime.app.spaces package.
This package contains a set of classes and interfaces that provide a uniform and standard means of dealing with a collection of objects in QuickTime for Java. The Space interface is a DynamicCollection of members, with a Timer and a collection of Controllers that provide differing mechanisms for controlling the members of the Space.

Back to top



The quicktime.app.sg package.
Provides a SGDrawable object for presenting the SequenceGrabber component and SGChannel (video) in the QTCanvas.

Back to top



The quicktime.app.time package.
The Taskable and Tasker objects can be used to give tasking time. Certain QuickTime objects (like the QTPlayer, SpriteDisplays) need to be given regular slices of time in order to perform their work. The Timer and Ticklish objects can be use to receive and act upon a time base. The SpriteDisplay and Compositor both use a Timer to schedule their actions.

Back to top