NSComboBoxCell

Authors

Gerrit van Dyk( gerritvd@decillion.net )

Copyright: (C) 1999 Free Software Foundation, Inc.

Software documentation for the NSComboBoxCell class

NSComboBoxCell : NSTextFieldCell

Declared: AppKit/NSComboBoxCell.h

addItemWithObjectValue:

- (void) addItemWithObjectValue: (id)object;


addItemsWithObjectValues:

- (void) addItemsWithObjectValues: (NSArray*)objects;


completedString:

- (NSString*) completedString: (NSString*)substring;


completes

- (BOOL) completes;


dataSource

- (id) dataSource;


deselectItemAtIndex:

- (void) deselectItemAtIndex: (int)index;


hasVerticalScroller

- (BOOL) hasVerticalScroller;


indexOfItemWithObjectValue:

- (int) indexOfItemWithObjectValue: (id)object;


indexOfSelectedItem

- (int) indexOfSelectedItem;


insertItemWithObjectValue:atIndex:

- (void) insertItemWithObjectValue: (id)object atIndex: (int)index;


intercellSpacing

- (NSSize) intercellSpacing;


itemHeight

- (float) itemHeight;


itemObjectValueAtIndex:

- (id) itemObjectValueAtIndex: (int)index;


noteNumberOfItemsChanged

- (void) noteNumberOfItemsChanged;


numberOfItems

- (int) numberOfItems;


numberOfVisibleItems

- (int) numberOfVisibleItems;


objectValueOfSelectedItem

- (id) objectValueOfSelectedItem;


objectValues

- (NSArray*) objectValues;


reloadData

- (void) reloadData;


removeAllItems

- (void) removeAllItems;


removeItemAtIndex:

- (void) removeItemAtIndex: (int)index;


removeItemWithObjectValue:

- (void) removeItemWithObjectValue: (id)object;


scrollItemAtIndexToTop:

- (void) scrollItemAtIndexToTop: (int)index;


scrollItemAtIndexToVisible:

- (void) scrollItemAtIndexToVisible: (int)index;


selectItemAtIndex:

- (void) selectItemAtIndex: (int)index;


selectItemWithObjectValue:

- (void) selectItemWithObjectValue: (id)object;


setCompletes:

- (void) setCompletes: (BOOL)completes;


setDataSource:

- (void) setDataSource: (id)aSource;


setHasVerticalScroller:

- (void) setHasVerticalScroller: (BOOL)flag;


setIntercellSpacing:

- (void) setIntercellSpacing: (NSSize)aSize;


setItemHeight:

- (void) setItemHeight: (float)itemHeight;


setNumberOfVisibleItems:

- (void) setNumberOfVisibleItems: (int)visibleItems;


setUsesDataSource:

- (void) setUsesDataSource: (BOOL)flag;


usesDataSource

- (BOOL) usesDataSource;


Software documentation for the NSObject(NSComboBoxCellDataSource) category

NSObject(NSComboBoxCellDataSource)

Declared: AppKit/NSComboBoxCell.h

comboBoxCell:completedString:

- (NSString*) comboBoxCell: (NSComboBoxCell*)aComboBoxCell completedString: (NSString*)uncompletedString;


comboBoxCell:indexOfItemWithStringValue:

- (unsigned int) comboBoxCell: (NSComboBoxCell*)aComboBoxCell indexOfItemWithStringValue: (NSString*)string;


comboBoxCell:objectValueForItemAtIndex:

- (id) comboBoxCell: (NSComboBoxCell*)aComboBoxCell objectValueForItemAtIndex: (int)index;


numberOfItemsInComboBoxCell:

- (int) numberOfItemsInComboBoxCell: (NSComboBoxCell*)comboBoxCell;