Name

NSForm — Mac OS X 10.0

Synopsis

This subclass of NSMatrix implements an interface component that is a stack of NSFormCells, which are a type of cell that represents a titled text entry field.

image with no caption

@interface NSForm : NSMatrix
                                  // Accessor Methods
   - (void)setTitleAlignment:(NSTextAlignment)mode;
   - (void)setEntryWidth:(float)width;
   - (void)setInterlineSpacing:(float)spacing;
   - (void)setBordered:(BOOL)flag;
   - (void)setBezeled:(BOOL)flag;
   - (void)setTitleFont:(NSFont *)fontObj;
   - (void)setTextFont:(NSFont *)fontObj;
   - (void)setTextAlignment:(int)mode;
                                  // Instance Methods
   - (NSFormCell *)addEntry:(NSString *)title;
   - (NSFormCell *)insertEntry:(NSString *)title 
                                 atIndex:(int)index;
   - (id)cellAtIndex:(int)index;
   - (int)indexOfCellWithTag:(int)aTag;
   - (int)indexOfSelectedItem;
   - (void)removeEntryAtIndex:(int)index;
   - (void)selectTextAtIndex:(int)index;
   - (void)drawCellAtIndex:(int)index;

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.