[Previous] [Up] [Next]

NSComboBoxCell

Authors

Richard Frith-Macdonald

Version: $Revision$

Date: $Date$

NSComboBoxCell

NSComboBoxCell

Declared in: Gui/NSComboBoxCell.h

Inherits from: NSTextFieldCell

Conforms to: NSObject


Instance Variables

Methods


Instances Methods

addItemsWithObjectValues:

- (void) addItemsWithObjectValues: (id)objects;

addItemWithObjectValue:

- (void) addItemWithObjectValue: (id)anObject;

completedString:

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

completes

- (BOOL) completes;

dataSource

- (id) dataSource;

deselectItemAtIndex:

- (void) deselectItemAtIndex: (int)index;

encodeWithCoder:

- (void) encodeWithCoder: (NSCoder*)encoder;

hasVerticalScroller

- (BOOL) hasVerticalScroller;

indexOfItemWithObjectValue:

- (int) indexOfItemWithObjectValue: (id)anObject;

indexOfSelectedItem

- (int) indexOfSelectedItem;

initWithCoder:

- (id) initWithCoder: (NSCoder*)decoder;

insertItemWithObjectValue:

- (void) insertItemWithObjectValue: (id)anObject;

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)anObject;

scrollItemAtIndexToTop:

- (void) scrollItemAtIndexToTop: (int)index;

scrollItemAtIndexToVisible:

- (void) scrollItemAtIndexToVisible: (int)index;

selectItemAtIndex:

- (void) selectItemAtIndex: (int)index;

selectItemWithObjectValue:

- (void) selectItemWithObjectValue: (id)anObject;

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;