DekGenius.com
[ Team LiB ] Previous Section Next Section

NSForm Mac OS X 10.0

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.

figs/cocn_1535.gif

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

    [ Team LiB ] Previous Section Next Section