Public Member Functions | |
(id) | - initWithPickerMask:colorPanel: [implementation] |
(CPColorPanel) | - colorPanel [implementation] |
(CPImage) | - provideNewButtonImage [implementation] |
(void) | - setMode: [implementation] |
(void) | - setColor: [implementation] |
setPickerMode:
method. The simplest way to implement your own color picker is to create a subclass of CPColorPicker.
Definition at line 30 of file CPColorPicker.j.
- (CPColorPanel) colorPanel | [implementation] |
Returns the color panel that owns this picker
Definition at line 54 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 41 of file CPColorPicker.j.
- (CPImage) provideNewButtonImage | [implementation] |
Definition at line 64 of file CPColorPicker.j.
- (void) setColor: | (CPColor) | aColor | [implementation] |
Sets the picker's color.
aColor | the new color for the picker |
Definition at line 82 of file CPColorPicker.j.
- (void) setMode: | (CPColorPanelMode) | mode | [implementation] |
Sets the color picker's mode.
mode | the color panel mode |
Definition at line 73 of file CPColorPicker.j.