# NSColorWell

scottc@net-community.com
far@ix.netcom.com

Control for selecting and display a single color value.

1996 Free Software Foundation, Inc.
Software documentation for the NSColorWell class
AppKit/NSColorWell.h
NSCoding
Description forthcoming.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
activate:
exclusive

Activates the NSColorWell and displays the NSColorPanel with the current NSColorWell's color. The NSColorWell can take color from the NSColorPanel. If exclusive is `YES` other NSColorWells are desacivated (through notifications).

See Also: -deactivate

color

Returns the current NSColor of the NSColorWell.

See Also: -setColor:

deactivate

Deactivates the NSColorWell and marks self for display. It is usally call from an observer, when another NSColorWell is activate.

See Also: -activate:

drawWellInside:
insideRect

Draws the NSColorWell inside the rectangle insideRect.

See Also: [NSColor -drawSwatchInRect:]

encodeWithCoder:
aCoder
Description forthcoming.
initWithCoder:
aDecoder
Description forthcoming.
isActive

Returns whether the NSColorWell is active. By default a NSColorWell is not active.

See Also: -activate: -deactivate

isBordered

Returns whether the NSColorWell has border. By default a NSColorWell has border.

See Also: -setBordered:

setBordered:
bordered

Sets whether the NSColorWell has border and marks self for display. By default a NSColorWell has border.

See Also: -isBordered

setColor:
color

Sets the NSColorWell to color and marks self for display.
Sets the NSColorPanel if active.
Does NOT notify target of color change.

See Also: -color

takeColorFrom:
sender

Sets the NSColorWell's color to the sender color.

See Also: -setColor: