2001-12-17 16:51:51 +00:00
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>NSComboBoxCell</title>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<h1>NSComboBoxCell</h1>
|
|
|
|
<h3>Authors</h3>
|
|
|
|
<dl>
|
|
|
|
<dt>Gerrit van Dyk(<a href="mailto:gerritvd@decillion.net"><code>
|
|
|
|
gerritvd@decillion.net
|
|
|
|
</code></a>)</dt>
|
|
|
|
<dd>
|
|
|
|
</dd>
|
|
|
|
</dl>
|
|
|
|
<p>Copyright: (C) 1999 Free Software Foundation, Inc.</p>
|
|
|
|
<h1>
|
|
|
|
Software documentation for the NSComboBoxCell class
|
|
|
|
</h1>
|
|
|
|
<h2><a name="class$NSComboBoxCell">NSComboBoxCell</a> : <a href="NSTextFieldCell.html#class$NSTextFieldCell">NSTextFieldCell</a></h2>
|
|
|
|
Declared: AppKit/NSComboBoxCell.h<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<h3>addItemWithObjectValue:</a></h3>
|
|
|
|
- (void) <b>addItemWithObjectValue:</b> (id)object;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>addItemsWithObjectValues:</a></h3>
|
|
|
|
- (void) <b>addItemsWithObjectValues:</b> (NSArray*)objects;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>completedString:</a></h3>
|
|
|
|
- (NSString*) <b>completedString:</b> (NSString*)substring;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>completes</a></h3>
|
|
|
|
- (BOOL) <b>completes</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>dataSource</a></h3>
|
|
|
|
- (id) <b>dataSource</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>deselectItemAtIndex:</a></h3>
|
|
|
|
- (void) <b>deselectItemAtIndex:</b> (int)index;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>hasVerticalScroller</a></h3>
|
|
|
|
- (BOOL) <b>hasVerticalScroller</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>indexOfItemWithObjectValue:</a></h3>
|
|
|
|
- (int) <b>indexOfItemWithObjectValue:</b> (id)object;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>indexOfSelectedItem</a></h3>
|
|
|
|
- (int) <b>indexOfSelectedItem</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>insertItemWithObjectValue:atIndex:</a></h3>
|
|
|
|
- (void) <b>insertItemWithObjectValue:</b> (id)object<b> atIndex:</b> (int)index;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>intercellSpacing</a></h3>
|
|
|
|
- (NSSize) <b>intercellSpacing</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>itemHeight</a></h3>
|
|
|
|
- (float) <b>itemHeight</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>itemObjectValueAtIndex:</a></h3>
|
|
|
|
- (id) <b>itemObjectValueAtIndex:</b> (int)index;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>noteNumberOfItemsChanged</a></h3>
|
|
|
|
- (void) <b>noteNumberOfItemsChanged</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>numberOfItems</a></h3>
|
|
|
|
- (int) <b>numberOfItems</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>numberOfVisibleItems</a></h3>
|
|
|
|
- (int) <b>numberOfVisibleItems</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>objectValueOfSelectedItem</a></h3>
|
|
|
|
- (id) <b>objectValueOfSelectedItem</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>objectValues</a></h3>
|
|
|
|
- (NSArray*) <b>objectValues</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>reloadData</a></h3>
|
|
|
|
- (void) <b>reloadData</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>removeAllItems</a></h3>
|
|
|
|
- (void) <b>removeAllItems</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>removeItemAtIndex:</a></h3>
|
|
|
|
- (void) <b>removeItemAtIndex:</b> (int)index;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>removeItemWithObjectValue:</a></h3>
|
|
|
|
- (void) <b>removeItemWithObjectValue:</b> (id)object;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>scrollItemAtIndexToTop:</a></h3>
|
|
|
|
- (void) <b>scrollItemAtIndexToTop:</b> (int)index;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>scrollItemAtIndexToVisible:</a></h3>
|
|
|
|
- (void) <b>scrollItemAtIndexToVisible:</b> (int)index;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>selectItemAtIndex:</a></h3>
|
|
|
|
- (void) <b>selectItemAtIndex:</b> (int)index;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>selectItemWithObjectValue:</a></h3>
|
|
|
|
- (void) <b>selectItemWithObjectValue:</b> (id)object;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>setCompletes:</a></h3>
|
|
|
|
- (void) <b>setCompletes:</b> (BOOL)completes;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>setDataSource:</a></h3>
|
|
|
|
- (void) <b>setDataSource:</b> (id)aSource;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>setHasVerticalScroller:</a></h3>
|
|
|
|
- (void) <b>setHasVerticalScroller:</b> (BOOL)flag;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>setIntercellSpacing:</a></h3>
|
|
|
|
- (void) <b>setIntercellSpacing:</b> (NSSize)aSize;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>setItemHeight:</a></h3>
|
|
|
|
- (void) <b>setItemHeight:</b> (float)itemHeight;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>setNumberOfVisibleItems:</a></h3>
|
|
|
|
- (void) <b>setNumberOfVisibleItems:</b> (int)visibleItems;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>setUsesDataSource:</a></h3>
|
|
|
|
- (void) <b>setUsesDataSource:</b> (BOOL)flag;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>usesDataSource</a></h3>
|
|
|
|
- (BOOL) <b>usesDataSource</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h1>
|
|
|
|
Software documentation for the
|
|
|
|
NSObject(NSComboBoxCellDataSource)
|
|
|
|
category
|
|
|
|
</h1>
|
|
|
|
<h2>NSObject(<a name="category$NSObject(NSComboBoxCellDataSource)">NSComboBoxCellDataSource</a>)</h2>
|
|
|
|
Declared: AppKit/NSComboBoxCell.h<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<h3>comboBoxCell:completedString:</a></h3>
|
|
|
|
- (NSString*) <b>comboBoxCell:</b> (<a href="#class$NSComboBoxCell">NSComboBoxCell</a>*)aComboBoxCell<b> completedString:</b> (NSString*)uncompletedString;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>comboBoxCell:indexOfItemWithStringValue:</a></h3>
|
|
|
|
- (unsigned int) <b>comboBoxCell:</b> (<a href="#class$NSComboBoxCell">NSComboBoxCell</a>*)aComboBoxCell<b> indexOfItemWithStringValue:</b> (NSString*)string;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>comboBoxCell:objectValueForItemAtIndex:</a></h3>
|
|
|
|
- (id) <b>comboBoxCell:</b> (<a href="#class$NSComboBoxCell">NSComboBoxCell</a>*)aComboBoxCell<b> objectValueForItemAtIndex:</b> (int)index;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>numberOfItemsInComboBoxCell:</a></h3>
|
|
|
|
- (int) <b>numberOfItemsInComboBoxCell:</b> (<a href="#class$NSComboBoxCell">NSComboBoxCell</a>*)comboBoxCell;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
</body>
|
|
|
|
</html>
|