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:
- QuickTimeCanvasNoResizing
- QuickTimeCanvasAspectResizing
- QuickTimeCanvasFreeResizing
- QuickTimeCanvasIntegralResizing
- QuickTimeCanvasPerformanceResizing
- QuickTimeCanvasHorizontalResizing
- QuickTimeCanvasVerticalResizing
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
()
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
()
- QuickTimeCanvasNoResizing
- QuickTimeCanvasAspectResizing
- QuickTimeCanvasFreeResizing
- QuickTimeCanvasIntegralResizing
- QuickTimeCanvasPerformanceResizing
- QuickTimeCanvasHorizontalResizing
- QuickTimeCanvasVerticalResizing
For more information on the resizing constants, see "Constants".
getPreferredSize
public java.awt.Dimension
getPreferredSize
()
getPreferredSize
in Sun's JComponent
class documentation.movie
public Object
movie
()
player
public Object
player
()
setBounds
public void
setBounds
(
int x,
int y,
int width,
int height)
setBounds
in Sun's Component class
documentation.setCanvasResizing
public void
setCanvasResizing
(int canvasResizing)
- QuickTimeCanvasNoResizing
- QuickTimeCanvasAspectResizing
- QuickTimeCanvasFreeResizing
- QuickTimeCanvasIntegralResizing
- QuickTimeCanvasPerformanceResizing
- QuickTimeCanvasHorizontalResizing
- QuickTimeCanvasVerticalResizing
The default resizing behavior is QuickTimeCanvasAspectResizing. For more information on these constants, see "Constants".
setMovie
public void
setMovie
(Object movie)
setMovieFromURL
public void
setMovieFromURL
(String url)
setPlayer
public void
setPlayer
(Object player)