NSFormCell

NSFormCell Mac OS X 10.0

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.

figs/cocn_1536.gif

@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;



    Part II: API Quick Reference
    Chapter 13. Foundation Classes