DekGenius.com
[ Team LiB ] Previous Section Next Section

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.

figs/cocn_1553.gif

@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:(BOOL)adjustSize;
   - (NSSize)sizeForMagnification:(float)magnification;
   - (void)start:(id)sender;
   - (void)stepBack:(id)sender;
   - (void)stepForward:(id)sender;
   - (void)stop:(id)sender;

    [ Team LiB ] Previous Section Next Section