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.
- (
NSUInteger)
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: MacOS-X 10.4.0
Description forthcoming.
- (
NSBezelStyle)
bezelStyle;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
drawBezelWithFrame: (
NSRect)cellFrame
inView: (
NSView*)controlView;
Availability: MacOS-X 10.4.0
Description forthcoming.
- (void)
drawImage: (
NSImage*)imageToDisplay
withFrame: (
NSRect)cellFrame
inView: (
NSView*)controlView;
Availability: MacOS-X 10.4.0
Description forthcoming.
- (void)
getPeriodicDelay: (float*)delay
interval: (float*)interval;
Availability: OpenStep
- (
NSGradientType)
gradientType;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (
NSInteger)
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.
- (
NSImageScaling)
imageScaling;
Availability: MacOS-X 10.5.0
Description forthcoming.
- (BOOL)
isTransparent;
Availability: OpenStep
- (
NSString*)
keyEquivalent;
Availability: OpenStep
- (
NSFont*)
keyEquivalentFont;
Availability: OpenStep
- (
NSUInteger)
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: (
NSUInteger)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: MacOS-X 10.4.0
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: (
NSInteger)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)
setImageScaling: (
NSImageScaling)scaling;
Availability: MacOS-X 10.5.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: (
NSUInteger)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: (
NSInteger)mask;
Availability: OpenStep
Description forthcoming.
- (void)
setSound: (
NSSound*)aSound;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
setTitle: (
NSString*)aString;
Availability: OpenStep
Sets the NSButtonCell's title to aString.
- (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.
- (
NSInteger)
showsStateBy;
Availability: OpenStep
Description forthcoming.
- (
NSSound*)
sound;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (
NSString*)
title;
Availability: OpenStep
Returns the NSButtonCell's title.
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 NSInteger _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 NSImageScaling _imageScaling;
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 NSUInteger _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 NSInteger _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