(Preliminary Documentation) Copyright ã1994 by NeXT Computer, Inc.  All Rights Reserved.

1

Application Kit

Classes

NSActionCell 

Inherits From:	NSCell : NSObject 

Declared In:	appkit/NSActionCell.h 

Configuring an NSActionCell 

- (void)setEnabled:(BOOL)flag	Sets whether the NSActionCell reacts to mouse and keyboard events. 
- (void)setBezeled:(BOOL)flag	Adds or removes the NSActionCell's bezel. 
- (void)setBordered:(BOOL)flag	Adds or removes the NSActionCell's border. 
- (void)setAlignment:(NSTextAlignment)mode	Sets the NSActionCell's text alignment to mode. 
- (void)setFloatingPointFormat:(BOOL)autoRange	 
left:(unsigned int)leftDigits	Sets the NSActionCell's floating point format. 
right:(unsigned int)rightDigits
- (void)setFont:(NSFont *)fontObject	Sets the NSActionCell's font to fontObject. 
- (void)setImage:(NSImage *)image	Sets the NSActionCell's icon to image.

Manipulating NSActionCell Values 

- (double)doubleValue	Returns the NSActionCell's contents as a double. 
- (float)floatValue	Returns the NSActionCell's contents as a float. 
- (int)intValue	Returns the NSActionCell's contents as an int. 
- (void)setStringValue:(NSString *)aString	Sets the NSActionCell's contents to a copy of aString. 
- (NSString *)stringValue	Returns the NSActionCell's contents as a string.

Displaying 

- (void)drawWithFrame:(NSRect)cellFrame	Draws the NSActionCell in the rectangle cellFrame of 
inView:(NSView *)controlView		controlView. 
- (NSControl *)controlView	Returns the control in which the NSActionCell was first drawn. 

Target and Action 

- (void)setAction:(SEL)aSelector	Sets the NSActionCell's action method to aSelector. 
- (SEL)action	Returns the NSActionCell's action method. 
- (void)setTarget:(id)anObject	Sets the NSActionCell's target object to anObject. 
- (id)target	Returns the NSActionCell's target object. 

Assigning a Tag 

- (void)setTag:(int)anInt	Sets the NSActionCell's tag to anInt. 
- (int)tag	Returns the NSActionCell's tag.