[Previous] [Up] [Next]

NSColorPanel

Authors

Richard Frith-Macdonald

Version: $Revision$

Date: $Date$

NSColorPanel

NSColorPanel

Declared in: Gui/NSColorPanel.h

Inherits from: NSPanel

Conforms to: NSCoding


Instance Variables

Methods


Class Methods

dragColor:withEvent:fromView:

+ (BOOL) dragColor: (NSColor*)color withEvent: (NSEvent*)anEvent fromView: (NSView*)sourceView;

setPickerMask:

+ (void) setPickerMask: (int)mask;

setPickerMode:

+ (void) setPickerMode: (int)mode;

sharedColorPanel

+ (NSColorPanel*) sharedColorPanel;

sharedColorPanelExists

+ (BOOL) sharedColorPanelExists;


Instances Methods

accessoryView

- (NSView*) accessoryView;

alpha

- (float) alpha;

attachColorList:

- (void) attachColorList: (NSColorList*)colorList;

color

- (NSColor*) color;

detachColorList:

- (void) detachColorList: (NSColorList*)colorList;

isContinuous

- (BOOL) isContinuous;

mode

- (int) mode;

setAccessoryView:

- (void) setAccessoryView: (NSView*)aView;

setAction:

- (void) setAction: (SEL)action;

setColor:

- (void) setColor: (NSColor*)color;

setContinuous:

- (void) setContinuous: (BOOL)flag;

setMode:

- (void) setMode: (int)mode;

setShowsAlpha:

- (void) setShowsAlpha: (BOOL)flag;

setTarget:

- (void) setTarget: (id)target;

showsAlpha

- (BOOL) showsAlpha;

changeColor:

- (void) changeColor: (id)sender;