O'Reilly logo

Cocoa in a Nutshell by James Duncan Davidson, Michael Beam

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

NSFormCell — Mac OS X 10.0

Synopsis

This class is a subclass of NSActionCell that represents a labeled text entry field. The left of the cell consists of a title, while the right of the cell is an editable text entry field. NSFormCells are used to implement NSForm controls.

image with no caption

@interface NSFormCell : NSActionCell
                                  // Initializers
   - (id)initTextCell:(NSString *)aString;
                                  // Accessor Methods
   - (void)setAttributedTitle:(NSAttributedString *)obj;
   - (NSAttributedString *)attributedTitle;
   - (void)setTitleWidth:(float)width;
   - (float)titleWidth;
   - (void)setTitleAlignment:(NSTextAlignment)mode;
   - (NSTextAlignment)titleAlignment;
   - (void)setTitleFont:(NSFont *)fontObj;
   - (NSFont *)titleFont;
   - (void)setTitle:(NSString *)aString;
   - (NSString *)title;
                                  // Instance Methods
   - (BOOL)isOpaque;
   - (float)titleWidth:(NSSize)aSize;

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required