# NSColorPanel

scottc@net-community.com

System generic color panel

1996 Free Software Foundation, Inc.
Software documentation for the NSColorPanel class
AppKit/NSColorPanel.h

TODO Description

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.
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.
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.
dragColor:
aColor
withEvent:
anEvent
fromView:
sourceView

Drags aColor frome sourceView at the location give by the event anEvent ( [NSView -convertPoint:fromView:]). The type declare into the pasteboard is NSColorPboardType

See Also: [NSView -convertPoint:fromView:] [NSView-dragImage:at:offset:event:pasteboard:source:slideBack:

setPickerMask:
mask
Description forthcoming.
setPickerMode:
mode
Description forthcoming.
sharedColorPanel

Creates (if needed) and returns the shared NSColorPanel.

sharedColorPanelExists

Returns whether the NSColorPanel has been already created.

accessoryView

Returns the NSColorPanel's accessory view if it exists, `nil` otherwise.

See Also: -setAccessoryView:

alpha

Returns the alpha value of the NSColorPanel. Returns 1.0 if the NSColorPanel does not show alpha

See Also: -showsAlpha -setShowsAlpha:

attachColorList:
aColorList
Description forthcoming.
color

Returns the current NSColor displayed by the NSColorPanel.

See Also : -setColor:

detachColorList:
aColorList
Description forthcoming.
isContinuous

Returns whether the NSColorPanel continuously sends its action message.

See Also: -setContinuous:-setAction: -setTarget:

mode

Returns the current mode of the NSColorPanel.

See Also: -setMode:

setAccessoryView:
aView

Sets the accessoryView to a view. The old view (if exists) will be remove (and release). You need to retain it if you want to use it later

See Also: -accessoryView

setAction:
aSelector

Sets the NSColorPanl action method to aSelector The action message is usally send in -setColor: , when the picker is updated, when a new picker is show, when the alpha is changed or when one of the color well at the bottom is selected.

setColor:
aColor

Sets the NSColor displayed to aColor. This method post a NSColorPanelColorChangedNotification notification if needed.

See Also: -color [NSColorWell -setColor:]

setContinuous:
flag

Sets whether the NSColorPanel sends continuously action messages

See Also: -isContinuous

setMode:
mode

Set the NSColorPanel mode to mode.

See Also: -mode

setShowsAlpha:
flag

Sets whether the NSColorPanel shows alpha values and the alpha slider.

See Also: -showsAlpha

setTarget:
anObject

Sets the target object to anObject

showsAlpha

Returns whether the NSColorPanel shows alpha values and the alpha slider

See Also: -setShowsAlpha:

Software documentation for the NSApplication(NSColorPanel) category
AppKit/NSColorPanel.h
Description forthcoming.
orderFrontColorPanel:
sender
Description forthcoming.