DekGenius.com
[ Team LiB ] Previous Section Next Section

NSComboBoxCell Mac OS X 10.0

This class is the subclass of NSCell that provides the look and feel of the NSComboBox control.

figs/cocn_1522.gif

@interface NSComboBoxCell : NSTextFieldCell
 // Initializers
   - (id)initWithCoder:(NSCoder *)coder;
 // Accessor Methods
   - (void)setNumberOfVisibleItems:(int)visibleItems;
   - (int)numberOfVisibleItems;
   - (void)setHasVerticalScroller:(BOOL)flag;
   - (BOOL)hasVerticalScroller;
   - (void)setIntercellSpacing:(NSSize)aSize;
   - (NSSize)intercellSpacing;
   - (void)setItemHeight:(float)itemHeight;
   - (float)itemHeight;
   - (void)setDataSource:(id)aSource;
   - (id)dataSource;
   - (void)setUsesDataSource:(BOOL)flag;
   - (BOOL)usesDataSource;
   - (void)setCompletes:(BOOL)completes;
   - (BOOL)completes;
 // Instance Methods
   - (void)addItemsWithObjectValues:(NSArray *)objects;
   - (void)addItemWithObjectValue:(id)object;
   - (NSString *)completedString:(NSString *)string;
   - (void)deselectItemAtIndex:(int)index;
   - (void)encodeWithCoder:(NSCoder *)coder;
   - (int)indexOfItemWithObjectValue:(id)object;
   - (int)indexOfSelectedItem;
   - (void)insertItemWithObjectValue:(id)object atIndex:(int)index;
   - (id)itemObjectValueAtIndex:(int)index;
   - (void)noteNumberOfItemsChanged;
   - (int)numberOfItems;
   - (id)objectValueOfSelectedItem;
   - (NSArray *)objectValues;
   - (void)reloadData;
   - (void)removeAllItems;
   - (void)removeItemAtIndex:(int)index;
   - (void)removeItemWithObjectValue:(id)object;
   - (void)scrollItemAtIndexToTop:(int)index;
   - (void)scrollItemAtIndexToVisible:(int)index;
   - (void)selectItemAtIndex:(int)index;
   - (void)selectItemWithObjectValue:(id)object;

    [ Team LiB ] Previous Section Next Section