Up
Authors
- Scott Christley (
scottc@net-community.com
)
-
Date: Generated at 2025-07-12 14:18:56 +0000
System generic color panel
Copyright: (C) 1996 Free Software Foundation, Inc.
- Declared in:
- AppKit/NSColorPanel.h
Availability: OpenStep
Instance Variables
+ (BOOL)
dragColor: (
NSColor*)aColor
withEvent: (
NSEvent*)anEvent
fromView: (
NSView*)sourceView;
Availability: OpenStep
+ (void)
setPickerMask: (int)mask;
Availability: OpenStep
Description forthcoming.
+ (void)
setPickerMode: (int)mode;
Availability: OpenStep
Description forthcoming.
+ (
NSColorPanel*)
sharedColorPanel;
Availability: OpenStep
Creates (if needed) and returns the shared
NSColorPanel.
+ (BOOL)
sharedColorPanelExists;
Availability: OpenStep
Returns whether the NSColorPanel has been already
created.
- (
NSView*)
accessoryView;
Availability: OpenStep
Returns the NSColorPanel's accessory view if it
exists, nil
otherwise.
See Also:
-setAccessoryView:
- (CGFloat)
alpha;
Availability: OpenStep
Returns the alpha value of the NSColorPanel.
Returns 1.0 if the NSColorPanel does not show
alpha
See Also:
-showsAlpha
-setShowsAlpha:
- (void)
attachColorList: (
NSColorList*)aColorList;
Availability: OpenStep
Description forthcoming.
- (
NSColor*)
color;
Availability: OpenStep
Returns the current NSColor displayed by the
NSColorPanel.
See Also :
-setColor:
- (void)
detachColorList: (
NSColorList*)aColorList;
Availability: OpenStep
Description forthcoming.
- (BOOL)
isContinuous;
Availability: OpenStep
Returns whether the NSColorPanel continuously
sends its action message.
See Also: -setContinuous:-setAction:
-setTarget:
- (int)
mode;
Availability: OpenStep
Returns the current mode of the NSColorPanel.
See Also:
-setMode:
- (void)
setAccessoryView: (
NSView*)aView;
Availability: OpenStep
Sets the accessoryView to a view. The old view (if
exists) will be removed (and released). You need
to retain it if you want to use it later
See Also:
-accessoryView
- (void)
setAction: (SEL)aSelector;
Availability: OpenStep
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
shown, when the alpha is changed or when one of
the color wells at the bottom is selected.
- (void)
setColor: (
NSColor*)aColor;
Availability: OpenStep
Sets the NSColor displayed to aColor.
This method posts a
NSColorPanelColorDidChangeNotification
notification if needed.
See Also: -color
[NSColorWell -setColor:]
- (void)
setContinuous: (BOOL)flag;
Availability: OpenStep
Sets whether the NSColorPanel sends continuously
action messages
See Also:
-isContinuous
- (void)
setMode: (int)mode;
Availability: OpenStep
Set the NSColorPanel mode to
mode.
See Also: -mode
- (void)
setShowsAlpha: (BOOL)flag;
Availability: OpenStep
Sets whether the NSColorPanel shows alpha values and
the alpha slider.
See Also:
-showsAlpha
- (void)
setTarget: (id)anObject;
Availability: OpenStep
Sets the target object to anObject
- (BOOL)
showsAlpha;
Availability: OpenStep
Returns whether the NSColorPanel shows alpha
values and the alpha slider
See Also:
-setShowsAlpha:
Instance Variables for NSColorPanel Class
@protected NSView*
_accessoryView;
Availability: OpenStep
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.
@protected SEL
_action;
Availability: OpenStep
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.
@protected NSSlider*
_alphaSlider;
Availability: OpenStep
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.
@protected NSColorWell*
_colorWell;
Availability: OpenStep
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.
@protected id
_currentPicker;
Availability: OpenStep
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.
@protected BOOL _isContinuous;
Availability: OpenStep
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.
@protected NSButton* _magnifyButton;
Availability: OpenStep
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.
@protected NSBox* _pickerBox;
Availability: OpenStep
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.
@protected NSMatrix* _pickerMatrix;
Availability: OpenStep
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.
@protected NSMutableArray* _pickers;
Availability: OpenStep
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.
@protected BOOL _showsAlpha;
Availability: OpenStep
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.
@protected NSSplitView* _splitView;
Availability: OpenStep
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.
@protected id _target;
Availability: OpenStep
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.
@protected NSView* _topView;
Availability: OpenStep
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.
- Declared in:
- AppKit/NSColorPanel.h
Availability: OpenStep
Description forthcoming.
- (void)
orderFrontColorPanel: (id)sender;
Availability: OpenStep
Description forthcoming.
Up