- Inherits from:
- javax.swing.JPanel javax.swing.JComponent java.awt.Container : java.awt.Component :
Object
- Package:
- com.apple.client.eointerface
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. |
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.
- 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
public static boolean isQuickTimeAvailable()
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.public int canvasResizing()
For more information on the resizing constants, see "Constants".
public java.awt.Dimension getPreferredSize()
getPreferredSize in Sun's JComponent
class documentation.public Object movie()
public Object player()
public void setBounds(
int x,
int y,
int width,
int height)
setBounds in Sun's Component class
documentation.public void setCanvasResizing(int canvasResizing)
The default resizing behavior is QuickTimeCanvasAspectResizing. For more information on these constants, see "Constants".
public void setMovie(Object movie)
public void setMovieFromURL(String url)
public void setPlayer(Object player)