NSColorPanel

Authors

Scott Christley( scottc@net-community.com )
System generic color panel

Copyright: (C) 1996 Free Software Foundation, Inc.

Software documentation for the NSColorPanel class

NSColorPanel : NSPanel

Declared: AppKit/NSColorPanel.h

dragColor:withEvent:fromView:

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


setPickerMask:

+ (void) setPickerMask: (int)mask;


setPickerMode:

+ (void) setPickerMode: (int)mode;


sharedColorPanel

+ (NSColorPanel*) sharedColorPanel;


sharedColorPanelExists

+ (BOOL) sharedColorPanelExists;


accessoryView

- (NSView*) accessoryView;


alpha

- (float) alpha;


attachColorList:

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


color

- (NSColor*) color;


detachColorList:

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


isContinuous

- (BOOL) isContinuous;


mode

- (int) mode;


setAccessoryView:

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


setAction:

- (void) setAction: (SEL)aSelector;


setColor:

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


setContinuous:

- (void) setContinuous: (BOOL)flag;


setMode:

- (void) setMode: (int)mode;


setShowsAlpha:

- (void) setShowsAlpha: (BOOL)flag;


setTarget:

- (void) setTarget: (id)anObject;


showsAlpha

- (BOOL) showsAlpha;