Name
NSMovieView — Mac OS X 10.0
Synopsis
This class provides a means to display an NSMovie
in an Cocoa view. NSMovieView
has provisions to
display in the view controls to control playback and editing of the
represented movie. Additionally, action methods declared in the
interface allow you to build custom interfaces for controlling movie
playback and editing.
|
@interface NSMovieView : NSView
|
// Accessor Methods
|
- (void)setMuted:(BOOL)mute; |
- (void)setRate:(float)rate; |
- (float)rate;
|
- (void)setLoopMode:(NSQTMovieLoopMode)mode; |
- (NSQTMovieLoopMode)loopMode;
|
- (void)setVolume:(float)volume; |
- (float)volume;
|
- (void)setPlaysEveryFrame:(BOOL)flag; |
- (BOOL)playsEveryFrame;
|
- (void)setPlaysSelectionOnly:(BOOL)flag; |
- (BOOL)playsSelectionOnly;
|
- (void)setEditable:(BOOL)editable; |
// Instance Methods
|
- (void)cut:(id)sender; |
- (void)clear:(id)sender; |
- (void)gotoBeginning:(id)sender; |
- (NSMovie*)movie;
|
- (void* /*MovieController*/)movieController;
|
- (NSRect)movieRect;
|
- (void)setMovie:(NSMovie*)movie; |
- (void)copy:(id)sender; |
- (void)gotoEnd:(id)sender; |
- (void)gotoPosterFrame:(id)sender; |
- (BOOL)isControllerVisible;
|
- (BOOL)isEditable;
|
- (BOOL)isMuted;
|
- (BOOL)isPlaying;
|
- (void)paste:(id)sender; |
- (void)resizeWithMagnification:(float)magnification; |
- (void)selectAll:(id)sender; |
- (void)showController:(BOOL)show adjustingSize ... |
Get Cocoa in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.