#import <CPColorPicker.h>
Inheritance diagram for CPColorPicker:Additional Inherited Members | |
Class Methods inherited from CPObject | |
| (BOOL) | + accessInstanceVariablesDirectly |
| (id) | + alloc |
| (id) | + allocWithCoder: |
| (BOOL) | + automaticallyNotifiesObserversForKey: |
| (void) | + cancelPreviousPerformRequestsWithTarget: |
| (void) | + cancelPreviousPerformRequestsWithTarget:selector:object: |
| (Class) | + class |
| (BOOL) | + conformsToProtocol: |
| (void) | + exposeBinding: |
| (void) | + initialize |
| (IMP) | + instanceMethodForSelector: |
| (BOOL) | + instancesImplementSelector: |
| (BOOL) | + instancesRespondToSelector: |
| (BOOL) | + isBindingExclusive: |
| (BOOL) | + isSubclassOfClass: |
| (CPSet) | + keyPathsForValuesAffectingValueForKey: |
| (void) | + load |
| (id) | + new |
| (void) | + object:performSelector:withObject:afterDelay:inModes: |
| (void) | + setVersion: |
| (Class) | + superclass |
| (int) | + version |
CPColorPicker is an abstract superclass for all color picker subclasses. If you want a particular color picker, use CPColorPanel's +setPickerMode: method. The simplest way to implement your own color picker is to create a subclass of CPColorPicker.
Definition at line 2 of file CPColorPicker.h.
|
implementation |
Returns the color panel that owns this picker
Definition at line 61 of file CPColorPicker.j.
|
implementation |
Initializes the color picker.
| aMask | a unique unsigned int identifying your color picker |
| aPanel | the color panel that owns this picker |
Reimplemented in CPColorWheelColorPicker, and CPSliderColorPicker.
Definition at line 47 of file CPColorPicker.j.
|
implementation |
Reimplemented in CPColorWheelColorPicker, and CPSliderColorPicker.
Definition at line 71 of file CPColorPicker.j.
|
implementation |
Sets the picker's color.
| aColor | the new color for the picker |
Reimplemented in CPColorWheelColorPicker, and CPSliderColorPicker.
Definition at line 88 of file CPColorPicker.j.
|
implementation |
Sets the color picker's mode.
| mode | the color panel mode |
Definition at line 80 of file CPColorPicker.j.