![]() |
API
0.9.6
|
#import <CPColorWell.h>
Class Methods | |
(CPString) | + defaultThemeClass |
(id) | + themeAttributes |
![]() | |
(void) | + initialize |
![]() | |
(CPMenu) | + defaultMenu |
(CPSet) | + keyPathsForValuesAffectingBounds |
(CPSet) | + keyPathsForValuesAffectingFrame |
![]() | |
(BOOL) | + accessInstanceVariablesDirectly |
(id) | + alloc |
(id) | + allocWithCoder: |
(BOOL) | + automaticallyNotifiesObserversForKey: |
(Class) | + class |
(void) | + exposeBinding: |
(IMP) | + instanceMethodForSelector: |
(BOOL) | + instancesRespondToSelector: |
(BOOL) | + isSubclassOfClass: |
(CPSet) | + keyPathsForValuesAffectingValueForKey: |
(void) | + load |
(id) | + new |
(void) | + setVersion: |
(Class) | + superclass |
(int) | + version |
Additional Inherited Members | |
![]() | |
Class | isa |
CPColorWell is a CPControl for selecting and displaying a single color value. An example of a CPColorWell object (or simply color well) is found in CPColorPanel, which uses a color well to display the current color selection.
An application can have one or more active CPColorWells. You can activate multiple CPColorWells by invoking the -activate
: method with NO
as its argument. When a mouse-down event occurs on an CPColorWell's border, it becomes the only active color well. When a color well becomes active, it brings up the color panel also.
Definition at line 2 of file CPColorWell.h.
|
implementation |
Activates the color well, displays the color panel, and makes the panel's current color the same as its own. If exclusive is YES
, deactivates any other CPColorWells. NO
, keeps them active.
shouldBeExclusive | whether other color wells should be deactivated. |
Definition at line 161 of file CPColorWell.j.
|
implementation |
Definition at line 246 of file CPColorWell.j.
|
implementation |
Returns the color well's current color.
Definition at line 128 of file CPColorWell.j.
|
implementation |
Definition at line 206 of file CPColorWell.j.
|
implementation |
Definition at line 219 of file CPColorWell.j.
|
implementation |
Definition at line 213 of file CPColorWell.j.
|
implementation |
Definition at line 253 of file CPColorWell.j.
|
implementation |
Definition at line 239 of file CPColorWell.j.
Reimplemented from CPView.
Definition at line 275 of file CPColorWell.j.
|
implementation |
Deactivates the color well.
Definition at line 185 of file CPColorWell.j.
|
implementation |
Reimplemented from CPView.
Definition at line 52 of file CPColorWell.j.
|
implementation |
Archives this button into the provided coder.
aCoder | the coder to which the color well's instance data will be written. |
Reimplemented from CPControl.
Provided by category CPColorWell(CPCoding).
Definition at line 379 of file CPColorWell.j.
|
implementation |
Initializes the color well by unarchiving data from aCoder
.
aCoder | the coder containing the archived CPColorWell. |
Reimplemented from CPControl.
Provided by category CPColorWell(CPCoding).
Definition at line 359 of file CPColorWell.j.
|
implementation |
Initializes the receiver for usage with the specified bounding rectangle
Reimplemented from CPControl.
Definition at line 71 of file CPColorWell.j.
|
implementation |
Returns YES
if the color well is active.
Definition at line 201 of file CPColorWell.j.
|
implementation |
Returns whether the color well is bordered
Definition at line 118 of file CPColorWell.j.
|
implementation |
Reimplemented from CPView.
Definition at line 284 of file CPColorWell.j.
|
implementation |
Reimplemented from CPView.
Definition at line 260 of file CPColorWell.j.
|
implementation |
Sets whether the color well is bordered.
Definition at line 107 of file CPColorWell.j.
|
implementation |
Sets the color well's current color.
Definition at line 136 of file CPColorWell.j.
|
implementation |
Reimplemented from CPControl.
Definition at line 224 of file CPColorWell.j.
|
implementation |
Changes the color of the well to that of aSender
.
aSender | the object from which to retrieve the color |
Definition at line 150 of file CPColorWell.j.
|
implementation |
Reimplemented from CPControl.
Definition at line 57 of file CPColorWell.j.