2000-03-05 17:39:16 +00:00
|
|
|
<html><head>
|
2001-03-03 10:07:01 +00:00
|
|
|
<title>NSComboBoxCell</title>
|
2000-03-05 17:39:16 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
2001-11-08 18:26:39 +00:00
|
|
|
<a href ="NSComboBox.html">[Previous] </a>
|
|
|
|
<a href ="Gui.html">[Up] </a>
|
|
|
|
<a href ="NSControl.html">[Next] </a>
|
2000-03-05 17:39:16 +00:00
|
|
|
<h1>NSComboBoxCell</h1>
|
2001-03-03 10:07:01 +00:00
|
|
|
<h3>Authors </h3>
|
|
|
|
<dl>
|
|
|
|
<dt><a href ="http://www.gnustep.org/developers/whoiswho.html">Richard Frith-Macdonald</a>
|
2000-03-05 17:39:16 +00:00
|
|
|
<dd>
|
|
|
|
</dl>
|
2001-03-03 10:07:01 +00:00
|
|
|
<p>Version: $Revision$</p>
|
|
|
|
<p>Date: $Date$</p>
|
|
|
|
<h2><a name ="cont-0">NSComboBoxCell</a></h2>
|
|
|
|
<h2><a name ="NSComboBoxCell">NSComboBoxCell</a></h2>
|
|
|
|
<p><b>Declared in: </b> Gui/NSComboBoxCell.h</p>
|
|
|
|
<p><b>Inherits from: </b> NSTextFieldCell</p>
|
|
|
|
<p><b>Conforms to: </b> NSObject
|
2000-03-05 17:39:16 +00:00
|
|
|
</p>
|
|
|
|
<hr>
|
|
|
|
|
|
|
|
|
2001-03-03 10:07:01 +00:00
|
|
|
<h2>Instance Variables </h2>
|
2000-03-05 17:39:16 +00:00
|
|
|
<ul>
|
|
|
|
</ul>
|
2001-03-03 10:07:01 +00:00
|
|
|
<h2>Methods </h2>
|
|
|
|
<ul>
|
2001-11-08 18:26:39 +00:00
|
|
|
<li ><a href ="NSComboBoxCell.html#method-1">-addItemWithObjectValue:</a>
|
|
|
|
<li ><a href ="NSComboBoxCell.html#method-0">-addItemsWithObjectValues:</a>
|
|
|
|
<li ><a href ="NSComboBoxCell.html#method-2">-completedString:</a>
|
|
|
|
<li ><a href ="NSComboBoxCell.html#method-3">-completes</a>
|
|
|
|
<li ><a href ="NSComboBoxCell.html#method-4">-dataSource</a>
|
|
|
|
<li ><a href ="NSComboBoxCell.html#method-5">-deselectItemAtIndex:</a>
|
|
|
|
<li ><a href ="NSComboBoxCell.html#method-6">-encodeWithCoder:</a>
|
|
|
|
<li ><a href ="NSComboBoxCell.html#method-7">-hasVerticalScroller</a>
|
|
|
|
<li ><a href ="NSComboBoxCell.html#method-8">-indexOfItemWithObjectValue:</a>
|
|
|
|
<li ><a href ="NSComboBoxCell.html#method-9">-indexOfSelectedItem</a>
|
|
|
|
<li ><a href ="NSComboBoxCell.html#method-10">-initWithCoder:</a>
|
|
|
|
<li ><a href ="NSComboBoxCell.html#method-11">-insertItemWithObjectValue:</a>
|
|
|
|
<li ><a href ="NSComboBoxCell.html#method-12">-intercellSpacing</a>
|
|
|
|
<li ><a href ="NSComboBoxCell.html#method-13">-itemHeight</a>
|
|
|
|
<li ><a href ="NSComboBoxCell.html#method-14">-itemObjectValueAtIndex:</a>
|
|
|
|
<li ><a href ="NSComboBoxCell.html#method-15">-noteNumberOfItemsChanged</a>
|
|
|
|
<li ><a href ="NSComboBoxCell.html#method-16">-numberOfItems</a>
|
|
|
|
<li ><a href ="NSComboBoxCell.html#method-17">-numberOfVisibleItems</a>
|
|
|
|
<li ><a href ="NSComboBoxCell.html#method-18">-objectValueOfSelectedItem</a>
|
|
|
|
<li ><a href ="NSComboBoxCell.html#method-19">-objectValues</a>
|
|
|
|
<li ><a href ="NSComboBoxCell.html#method-20">-reloadData</a>
|
|
|
|
<li ><a href ="NSComboBoxCell.html#method-21">-removeAllItems</a>
|
|
|
|
<li ><a href ="NSComboBoxCell.html#method-22">-removeItemAtIndex:</a>
|
|
|
|
<li ><a href ="NSComboBoxCell.html#method-23">-removeItemWithObjectValue:</a>
|
|
|
|
<li ><a href ="NSComboBoxCell.html#method-24">-scrollItemAtIndexToTop:</a>
|
|
|
|
<li ><a href ="NSComboBoxCell.html#method-25">-scrollItemAtIndexToVisible:</a>
|
|
|
|
<li ><a href ="NSComboBoxCell.html#method-26">-selectItemAtIndex:</a>
|
|
|
|
<li ><a href ="NSComboBoxCell.html#method-27">-selectItemWithObjectValue:</a>
|
|
|
|
<li ><a href ="NSComboBoxCell.html#method-28">-setCompletes:</a>
|
|
|
|
<li ><a href ="NSComboBoxCell.html#method-29">-setDataSource:</a>
|
|
|
|
<li ><a href ="NSComboBoxCell.html#method-30">-setHasVerticalScroller:</a>
|
|
|
|
<li ><a href ="NSComboBoxCell.html#method-31">-setIntercellSpacing:</a>
|
|
|
|
<li ><a href ="NSComboBoxCell.html#method-32">-setItemHeight:</a>
|
|
|
|
<li ><a href ="NSComboBoxCell.html#method-33">-setNumberOfVisibleItems:</a>
|
|
|
|
<li ><a href ="NSComboBoxCell.html#method-34">-setUsesDataSource:</a>
|
|
|
|
<li ><a href ="NSComboBoxCell.html#method-35">-usesDataSource</a>
|
2001-03-03 10:07:01 +00:00
|
|
|
</ul>
|
|
|
|
<hr><h2>Instances Methods </h2>
|
|
|
|
<h3><a name ="method-0">addItemsWithObjectValues:</a></h3>
|
|
|
|
- (void) <b>addItemsWithObjectValues:</b> (id)objects;<br>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
|
|
|
|
2001-03-03 10:07:01 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-1">addItemWithObjectValue:</a></h3>
|
|
|
|
- (void) <b>addItemWithObjectValue:</b> (id)anObject;<br>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
|
|
|
|
2001-03-03 10:07:01 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-2">completedString:</a></h3>
|
|
|
|
- (NSString*) <b>completedString:</b> (NSString*)substring;<br>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
|
|
|
|
2001-03-03 10:07:01 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-3">completes</a></h3>
|
|
|
|
- (BOOL) <b>completes</b>;<br>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
|
|
|
|
2001-03-03 10:07:01 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-4">dataSource</a></h3>
|
|
|
|
- (id) <b>dataSource</b>;<br>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
|
|
|
|
2001-03-03 10:07:01 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-5">deselectItemAtIndex:</a></h3>
|
|
|
|
- (void) <b>deselectItemAtIndex:</b> (int)index;<br>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
|
|
|
|
2001-03-03 10:07:01 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-6">encodeWithCoder:</a></h3>
|
|
|
|
- (void) <b>encodeWithCoder:</b> (NSCoder*)encoder;<br>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
|
|
|
|
2001-03-03 10:07:01 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-7">hasVerticalScroller</a></h3>
|
|
|
|
- (BOOL) <b>hasVerticalScroller</b>;<br>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
|
|
|
|
2001-03-03 10:07:01 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-8">indexOfItemWithObjectValue:</a></h3>
|
|
|
|
- (int) <b>indexOfItemWithObjectValue:</b> (id)anObject;<br>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
|
|
|
|
2001-03-03 10:07:01 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-9">indexOfSelectedItem</a></h3>
|
|
|
|
- (int) <b>indexOfSelectedItem</b>;<br>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
|
|
|
|
2001-03-03 10:07:01 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-10">initWithCoder:</a></h3>
|
|
|
|
- (id) <b>initWithCoder:</b> (NSCoder*)decoder;<br>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
|
|
|
|
2001-03-03 10:07:01 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-11">insertItemWithObjectValue:</a></h3>
|
|
|
|
- (void) <b>insertItemWithObjectValue:</b> (id)anObject;<br>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
|
|
|
|
2001-03-03 10:07:01 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-12">intercellSpacing</a></h3>
|
|
|
|
- (NSSize) <b>intercellSpacing</b>;<br>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
|
|
|
|
2001-03-03 10:07:01 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-13">itemHeight</a></h3>
|
|
|
|
- (float) <b>itemHeight</b>;<br>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
|
|
|
|
2001-03-03 10:07:01 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-14">itemObjectValueAtIndex:</a></h3>
|
|
|
|
- (id) <b>itemObjectValueAtIndex:</b> (int)index;<br>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
|
|
|
|
2001-03-03 10:07:01 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-15">noteNumberOfItemsChanged</a></h3>
|
|
|
|
- (void) <b>noteNumberOfItemsChanged</b>;<br>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
|
|
|
|
2001-03-03 10:07:01 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-16">numberOfItems</a></h3>
|
|
|
|
- (int) <b>numberOfItems</b>;<br>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
|
|
|
|
2001-03-03 10:07:01 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-17">numberOfVisibleItems</a></h3>
|
|
|
|
- (int) <b>numberOfVisibleItems</b>;<br>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
|
|
|
|
2001-03-03 10:07:01 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-18">objectValueOfSelectedItem</a></h3>
|
|
|
|
- (id) <b>objectValueOfSelectedItem</b>;<br>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
|
|
|
|
2001-03-03 10:07:01 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-19">objectValues</a></h3>
|
|
|
|
- (NSArray*) <b>objectValues</b>;<br>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
|
|
|
|
2001-03-03 10:07:01 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-20">reloadData</a></h3>
|
|
|
|
- (void) <b>reloadData</b>;<br>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
|
|
|
|
2001-03-03 10:07:01 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-21">removeAllItems</a></h3>
|
|
|
|
- (void) <b>removeAllItems</b>;<br>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
|
|
|
|
2001-03-03 10:07:01 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-22">removeItemAtIndex:</a></h3>
|
|
|
|
- (void) <b>removeItemAtIndex:</b> (int)index;<br>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
|
|
|
|
2001-03-03 10:07:01 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-23">removeItemWithObjectValue:</a></h3>
|
|
|
|
- (void) <b>removeItemWithObjectValue:</b> (id)anObject;<br>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
|
|
|
|
2001-03-03 10:07:01 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-24">scrollItemAtIndexToTop:</a></h3>
|
|
|
|
- (void) <b>scrollItemAtIndexToTop:</b> (int)index;<br>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
|
|
|
|
2001-03-03 10:07:01 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-25">scrollItemAtIndexToVisible:</a></h3>
|
|
|
|
- (void) <b>scrollItemAtIndexToVisible:</b> (int)index;<br>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
|
|
|
|
2001-03-03 10:07:01 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-26">selectItemAtIndex:</a></h3>
|
|
|
|
- (void) <b>selectItemAtIndex:</b> (int)index;<br>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
|
|
|
|
2001-03-03 10:07:01 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-27">selectItemWithObjectValue:</a></h3>
|
|
|
|
- (void) <b>selectItemWithObjectValue:</b> (id)anObject;<br>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
|
|
|
|
2001-03-03 10:07:01 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-28">setCompletes:</a></h3>
|
|
|
|
- (void) <b>setCompletes:</b> (BOOL)completes;<br>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
|
|
|
|
2001-03-03 10:07:01 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-29">setDataSource:</a></h3>
|
|
|
|
- (void) <b>setDataSource:</b> (id)aSource;<br>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
|
|
|
|
2001-03-03 10:07:01 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-30">setHasVerticalScroller:</a></h3>
|
|
|
|
- (void) <b>setHasVerticalScroller:</b> (BOOL)flag;<br>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
|
|
|
|
2001-03-03 10:07:01 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-31">setIntercellSpacing:</a></h3>
|
|
|
|
- (void) <b>setIntercellSpacing:</b> (NSSize)aSize;<br>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
|
|
|
|
2001-03-03 10:07:01 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-32">setItemHeight:</a></h3>
|
|
|
|
- (void) <b>setItemHeight:</b> (float)itemHeight;<br>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
|
|
|
|
2001-03-03 10:07:01 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-33">setNumberOfVisibleItems:</a></h3>
|
|
|
|
- (void) <b>setNumberOfVisibleItems:</b> (int)visibleItems;<br>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
|
|
|
|
2001-03-03 10:07:01 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-34">setUsesDataSource:</a></h3>
|
|
|
|
- (void) <b>setUsesDataSource:</b> (BOOL)flag;<br>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
|
|
|
|
2001-03-03 10:07:01 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-35">usesDataSource</a></h3>
|
|
|
|
- (BOOL) <b>usesDataSource</b>;<br>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
|
|
|
|
2001-03-03 10:07:01 +00:00
|
|
|
<hr>
|
2000-03-05 17:39:16 +00:00
|
|
|
</body>
|
|
|
|
|
2001-03-03 10:07:01 +00:00
|
|
|
</html>
|