Name
NSButtonCell — Mac OS X 10.0
Synopsis
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 ... |
Get Cocoa in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.