May 2003
Intermediate to advanced
566 pages
27h 29m
English
NSButtonCell — Mac OS X 10.0
This subclass of NSActionCell contains the
majority of the functionality of a button control.
NSButtonCell, like most NSCell
subclasses, is responsible for the appearance of the
NSButton control; NSButton
serves more as a view for NSButtonCell to draw in,
and most of NSButton’s API is
forwarded to NSButtonCell.
|
![]()
|
@interface NSButtonCell : NSActionCell
|
// Accessor Methods
|
- (void)setPeriodicDelay:(float)delay interval:(float)interval; |
- (void)setTitle:(NSString *)aString; |
- (NSString *)title;
|
- (void)setAlternateTitle:(NSString *)aString; |
- (NSString *)alternateTitle;
|
- (void)setImagePosition:(NSCellImagePosition)aPosition; |
- (NSCellImagePosition)imagePosition;
|
- (void)setHighlightsBy:(int)aType; |
- (int)highlightsBy;
|
- (void)setAttributedAlternateTitle:(NSAttributedString *)obj; |
- (NSAttributedString *)attributedAlternateTitle;
|
- (void)setAttributedTitle:(NSAttributedString *)obj; |
- (NSAttributedString *)attributedTitle;
|
- (void)setTransparent:(BOOL)flag; |
- (void)setSound:(NSSound *)aSound; |
- (NSSound *)sound;
|
- (void)setKeyEquivalent:(NSString *)aKeyEquivalent; |
- (NSString *)keyEquivalent;
|
- (void)setKeyEquivalentModifierMask:(unsigned int)mask; |
- (unsigned int)keyEquivalentModifierMask;
|
- (void)setKeyEquivalentFont:(NSFont *)fontObj; |
- (NSFont *)keyEquivalentFont;
|
- (void)setKeyEquivalentFont ... |
Read now
Unlock full access