PATH  Documentation > WebObjects 4.5 > EOInterface Reference

Table of Contents

EOQuickTimeView


Inherits from:
javax.swing.JPanel javax.swing.JComponent java.awt.Container : java.awt.Component :
Object
Package:
com.apple.client.eointerface


Class Description


The EOQuickTimeView class is used to display QuickTime movies in Java Client applications.
Note: This class doesn't exist in the com.apple.yellow.eointerface package.




Constants


EOQuickTimeView defines the following int constants to identify resizing behavior:

These same constants are also defined in quicktime.app.display.QTCanvas. They are duplicated in EOQuickTimeView for convenience. For information on the resizing behavior associated with these constants, see the QTCanvas documentation.



Method Types


Determining if the QuickTime system is available
isQuickTimeAvailable
Setting the QuickTime movie and player
movie
setMovie
setMovieFromURL
player
setPlayer
Configuring resizing behavior
setCanvasResizing
canvasResizing
Painting
getPreferredSize
setBounds


Static Methods



isQuickTimeAvailable

public static boolean isQuickTimeAvailable()

Returns true if the QuickTime for Java classes are in the class path and are loaded; false otherwise. If the classes are in the class path but aren't loaded, this method attempts to load them.


Instance Methods



canvasResizing

public int canvasResizing()

Returns an integer that identifies the receiver's resizing behavior. The return value is one of the following constants (defined in EOQuickTimeView):

For more information on the resizing constants, see "Constants".



getPreferredSize

public java.awt.Dimension getPreferredSize()

See the method description for getPreferredSize in Sun's JComponent class documentation.

movie

public Object movie()

Returns the receiver's QuickTime movie, a quicktime.std.movies.Movie.

player

public Object player()

Returns the receiver's QuickTime player, a quicktime.app.players.QTPlayer.

setBounds

public void setBounds( int x, int y, int width, int height)

See the method description for setBounds in Sun's Component class documentation.

setCanvasResizing

public void setCanvasResizing(int canvasResizing)

Sets the resizing behavior of the receiver. The canvasResizing argument should be one of the following constants (defined in EOQuickTimeView):

The default resizing behavior is QuickTimeCanvasAspectResizing. For more information on these constants, see "Constants".



setMovie

public void setMovie(Object movie)

Sets the receiver's QuickTime movie to movie, a quicktime.std.movies.Movie.

setMovieFromURL

public void setMovieFromURL(String url)

Sets the receiver's QuickTime movie to the movie at url.

setPlayer

public void setPlayer(Object player)

Sets the receiver's QuickTime player to player, a quicktime.app.players.QTPlayer.


Table of Contents