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;

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.