NSComboBox

Authors

Gerrit van Dyk( gerritvd@decillion.net )

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

Software documentation for the NSComboBox class

NSComboBox : NSTextField

Declared: AppKit/NSComboBox.h

addItemWithObjectValue:

- (void) addItemWithObjectValue: (id)object;


addItemsWithObjectValues:

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


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(NSComboBoxDataSource) category

NSObject(NSComboBoxDataSource)

Declared: AppKit/NSComboBox.h

comboBox:completedString:

- (NSString*) comboBox: (NSComboBox*)aComboBox completedString: (NSString*)aString;


comboBox:indexOfItemWithStringValue:

- (unsigned int) comboBox: (NSComboBox*)aComboBox indexOfItemWithStringValue: (NSString*)string;


comboBox:objectValueForItemAtIndex:

- (id) comboBox: (NSComboBox*)aComboBox objectValueForItemAtIndex: (int)index;


numberOfItemsInComboBox:

- (int) numberOfItemsInComboBox: (NSComboBox*)aComboBox;


Software documentation for the NSObject(NSComboBoxNotifications) category

NSObject(NSComboBoxNotifications)

Declared: AppKit/NSComboBox.h

comboBoxSelectionDidChange:

- (void) comboBoxSelectionDidChange: (NSNotification*)notification;


comboBoxSelectionIsChanging:

- (void) comboBoxSelectionIsChanging: (NSNotification*)notification;


comboBoxWillDismiss:

- (void) comboBoxWillDismiss: (NSNotification*)notification;


comboBoxWillPopUp:

- (void) comboBoxWillPopUp: (NSNotification*)notification;