CPColorPicker Class Reference

List of all members.

Public Member Functions

(id) - initWithPickerMask:colorPanel: [implementation]
(CPColorPanel- colorPanel [implementation]
(CPImage- provideNewButtonImage [implementation]
(void) - setMode: [implementation]
(void) - setColor: [implementation]


Detailed Description

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 30 of file CPColorPicker.j.


Member Function Documentation

- (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.

Parameters:
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.

Parameters:
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.

Parameters:
mode the color panel mode

Definition at line 73 of file CPColorPicker.j.


The documentation for this class was generated from the following file:

Generated on Thu Dec 11 01:55:49 2008 for Cappuccino by  doxygen 1.5.7.1