May 2003
Intermediate to advanced
566 pages
27h 29m
English
NSMovieView — Mac OS X 10.0
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 ... |
Read now
Unlock full access