PATH |
EOQuickTimeView
- Inherits from:
- javax.swing.JPanel : javax.swing.JComponent : java.awt.Container : java.awt.Component : Object
- Implements:
- javax.accessibility.Accessible
- java.io.Serializable
- Package:
- com.webobjects.eointerface.swing
Class Description
The EOQuickTimeView class is used to display QuickTime movies in Swing applications.
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.
Interfaces Implemented
- javax.accessibility.Accessible
- java.io.Serializable
Method Types
- All methods
- EOQuickTimeView
- isQuickTimeAvailable
- canvasResizing
- getPreferredSize
- movie
- player
- setBounds
- setCanvasResizing
- setMovie
- setMovieFromURL
- setPlayer
Constructors
EOQuickTimeView
public EOQuickTimeView()
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" (page 32).
getPreferredSize
public java.awt.Dimension getPreferredSize()
movie
public Object movie()
player
public Object player()
setBounds
public void setBounds( int x, int y, int width, int height)
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" (page 32).
setMovie
public void setMovie(Object movie)
setMovieFromURL
public void setMovieFromURL(String url)
setPlayer
public void setPlayer(Object player)
© 2001 Apple Computer, Inc. (Last Published April 21, 2001)