Public Member Functions | |
| (CPColorPanel) | - colorPanel [implementation] |
| (id) | - initWithPickerMask:colorPanel: [implementation] |
| (CPImage) | - provideNewButtonImage [implementation] |
| (void) | - setColor: [implementation] |
| (void) | - setMode: [implementation] |
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 34 of file CPColorPicker.j.
| - (CPColorPanel) colorPanel | [implementation] |
Returns the color panel that owns this picker
Definition at line 58 of file CPColorPicker.j.
| - (id) initWithPickerMask: | (int) | aMask | ||
| colorPanel: | (CPColorPanel) | aPanel | ||
[implementation] |
Initializes the color picker.
| aMask | a unique unsigned int identifying your color picker | |
| aPanel | the color panel that owns this picker |
Definition at line 45 of file CPColorPicker.j.
| - (CPImage) provideNewButtonImage | [implementation] |
Definition at line 68 of file CPColorPicker.j.
| - (void) setColor: | (CPColor) | aColor | [implementation] |
Sets the picker's color.
| aColor | the new color for the picker |
Definition at line 86 of file CPColorPicker.j.
| - (void) setMode: | (CPColorPanelMode) | mode | [implementation] |
Sets the color picker's mode.
| mode | the color panel mode |
Definition at line 77 of file CPColorPicker.j.
1.6.1