Up
Authors
- Scott Christley (
scottc@net-community.com
)
-
- Felipe A. Rodriguez (
far@ix.netcom.com
)
-
The button cell class
Copyright: (C) 1996-1999 Free Software Foundation, Inc.
- Declared in:
- AppKit/NSButtonCell.h
Availability: OpenStep
Instance Variables
Method summary
- (
NSImage*)
alternateImage;
Availability: OpenStep
- (
NSString*)
alternateMnemonic;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (unsigned)
alternateMnemonicLocation;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (
NSString*)
alternateTitle;
Availability: OpenStep
Returns the NSButtonCell's alternate title (used
when highlighted).
See Also:
-setAlternateTitle:
- (
NSAttributedString*)
attributedAlternateTitle;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (
NSAttributedString*)
attributedTitle;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (
NSColor*)
backgroundColor;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (
NSBezelStyle)
bezelStyle;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
drawBezelWithFrame: (
NSRect)cellFrame
inView: (
NSView*)controlView;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void)
drawImage: (
NSImage*)anImage
withFrame: (
NSRect)aRect
inView: (
NSView*)controlView;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void)
drawTitle: (
NSAttributedString*)titleToDisplay
withFrame: (
NSRect)frame
inView: (
NSView*)control;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void)
getPeriodicDelay: (float*)delay
interval: (float*)interval;
Availability: OpenStep
- (
NSGradientType)
gradientType;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (int)
highlightsBy;
Availability: OpenStep
Returns a mask describing how the button cell is
highlighted :
NSNoCellMask,
NSContentsCellMask,NSPushInCellMask,NSChangeGrayCellMask, NSChangeBackgroundCellMask
See Also :
-setHighlightsBy:
- (BOOL)
imageDimsWhenDisabled;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (BOOL)
isTransparent;
Availability: OpenStep
- (
NSString*)
keyEquivalent;
Availability: OpenStep
- (
NSFont*)
keyEquivalentFont;
Availability: OpenStep
- (unsigned int)
keyEquivalentModifierMask;
Availability: OpenStep
- (void)
mouseEntered: (
NSEvent*)event;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
mouseExited: (
NSEvent*)event;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
setAlternateImage: (
NSImage*)anImage;
Availability: OpenStep
Sets the NSButtonCell's alternate image to
anImage.
See Also:
-alternateImage
- (void)
setAlternateMnemonicLocation: (unsigned)location;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
setAlternateTitle: (
NSString*)aString;
Availability: OpenStep
Sets the NSButtonCell's alternate title (used when
highlighted) to aString and update
the cell if it contains a NSControl view.
See Also:
-alternateTitle
- (void)
setAlternateTitleWithMnemonic: (
NSString*)aString;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
setAttributedAlternateTitle: (
NSAttributedString*)aString;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
setAttributedTitle: (
NSAttributedString*)aString;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
setBackgroundColor: (
NSColor*)color;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void)
setBezelStyle: (
NSBezelStyle)bezelStyle;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
setButtonType: (
NSButtonType)buttonType;
Availability: OpenStep
Description forthcoming.
- (void)
setFont: (
NSFont*)fontObject;
Availability: OpenStep
- (void)
setGradientType: (
NSGradientType)gradientType;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
setHighlightsBy: (int)mask;
Availability: OpenStep
Sets a mask describing how the button
cell is highlighted :
NSNoCellMask,
NSContentsCellMask,NSPushInCellMask,NSChangeGrayCellMask, NSChangeBackgroundCellMask
See Also :
-highlightsBy
- (void)
setImageDimsWhenDisabled: (BOOL)flag;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
setKeyEquivalent: (
NSString*)key;
Availability: OpenStep
- (void)
setKeyEquivalentFont: (
NSFont*)fontObj;
Availability: OpenStep
- (void)
setKeyEquivalentFont: (
NSString*)fontName
size: (float)fontSize;
Availability: OpenStep
- (void)
setKeyEquivalentModifierMask: (unsigned int)mask;
Availability: OpenStep
- (void)
setPeriodicDelay: (float)delay
interval: (float)interval;
Availability: OpenStep
- (void)
setShowsBorderOnlyWhileMouseInside: (BOOL)show;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
setShowsStateBy: (int)mask;
Availability: OpenStep
Description forthcoming.
- (void)
setSound: (
NSSound*)aSound;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
setTitle: (
NSString*)aString;
Availability: OpenStep
- (void)
setTitleWithMnemonic: (
NSString*)aString;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
setTransparent: (BOOL)flag;
Availability: OpenStep
- (BOOL)
showsBorderOnlyWhileMouseInside;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (int)
showsStateBy;
Availability: OpenStep
Description forthcoming.
- (
NSSound*)
sound;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (
NSString*)
title;
Availability: OpenStep
Instance Variables for NSButtonCell Class
@protected NSString* _altContents;
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 NSImage* _altImage;
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 NSColor* _backgroundColor;
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 NSBezelStyle _bezel_style;
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 float _delayInterval;
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 NSGradientType _gradient_type;
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 unsigned int _highlightsByMask;
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 NSString* _keyEquivalent;
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 NSFont* _keyEquivalentFont;
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 unsigned int _keyEquivalentModifierMask;
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 float _repeatInterval;
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 unsigned int _showAltStateMask;
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 NSSound* _sound;
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.
Up