![]() System : Linux absol.cf 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, Directory : /proc/self/root/usr/share/GNUstep/Documentation/Developer/Gui/Reference/ |
Upload File : |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>NSBrowserCell</title> </head> <body> <font face="serif"> <a href="Gui.html">Up</a> <br /> <h1><a name="title$NSBrowserCell">NSBrowserCell</a></h1> <h3>Authors</h3> <dl> <dt>Scott Christley (<a href="mailto:scottc@net-community.com"><code>scottc@net-community.com</code></a>)</dt> <dd> </dd> <dt>Nicola Pero (<a href="mailto:n.pero@mi.flashnet.it"><code>n.pero@mi.flashnet.it</code></a>)</dt> <dd> </dd> </dl> <blockquote> Cell class for the NSBrowser </blockquote> <p><b>Copyright:</b> (C) 1996, 1997, 1999 Free Software Foundation, Inc.</p> <div> </div> <h1><a name="001000000000"> Software documentation for the NSBrowserCell class </a></h1> <h2><a name="class$NSBrowserCell">NSBrowserCell</a> : <a rel="gsdoc" href="NSCell.html#class$NSCell">NSCell</a></h2> <blockquote class="declared"> <dl> <dt><b>Declared in:</b></dt> <dd>AppKit/NSBrowserCell.h</dd> </dl> </blockquote> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> TODO Description </p> <p> </div> <hr width="50%" align="left" /> <a href="#_NSBrowserCell_ivars">Instance Variables</a> <br/><br/> <b>Method summary</b> <ul> <li><a rel="gsdoc" href="NSBrowserCell.html#method$NSBrowserCell+branchImage">+branchImage</a></li> <li><a rel="gsdoc" href="NSBrowserCell.html#method$NSBrowserCell+highlightedBranchImage">+highlightedBranchImage</a></li> <li><a rel="gsdoc" href="NSBrowserCell.html#method$NSBrowserCell-alternateImage">-alternateImage</a></li> <li><a rel="gsdoc" href="NSBrowserCell.html#method$NSBrowserCell-highlightColorInView$">-highlightColorInView:</a></li> <li><a rel="gsdoc" href="NSBrowserCell.html#method$NSBrowserCell-isLeaf">-isLeaf</a></li> <li><a rel="gsdoc" href="NSBrowserCell.html#method$NSBrowserCell-isLoaded">-isLoaded</a></li> <li><a rel="gsdoc" href="NSBrowserCell.html#method$NSBrowserCell-reset">-reset</a></li> <li><a rel="gsdoc" href="NSBrowserCell.html#method$NSBrowserCell-set">-set</a></li> <li><a rel="gsdoc" href="NSBrowserCell.html#method$NSBrowserCell-setAlternateImage$">-setAlternateImage:</a></li> <li><a rel="gsdoc" href="NSBrowserCell.html#method$NSBrowserCell-setLeaf$">-setLeaf:</a></li> <li><a rel="gsdoc" href="NSBrowserCell.html#method$NSBrowserCell-setLoaded$">-setLoaded:</a></li> </ul> <hr width="50%" align="left" /> <div class="method"> <h3><a name="method$NSBrowserCell+branchImage">branchImage </a></h3> + (<a rel="gsdoc" href="NSImage.html#class$NSImage">NSImage</a>*) <b>branchImage</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Returns the default branch image. Currently, it's an arrow. </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSBrowserCell+highlightedBranchImage"> +highlightedBranchImage </a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSBrowserCell+highlightedBranchImage">highlightedBranchImage </a></h3> + (<a rel="gsdoc" href="NSImage.html#class$NSImage">NSImage</a>*) <b>highlightedBranchImage</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Returns the default hightlited branch image </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSBrowserCell+branchImage"> +branchImage </a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSBrowserCell-alternateImage">alternateImage </a></h3> - (<a rel="gsdoc" href="NSImage.html#class$NSImage">NSImage</a>*) <b>alternateImage</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Returns the alternate image in the NSBrowserCell (used when the cell is highlighted) </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSBrowserCell-setAlternateImage$"> -setAlternateImage: </a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSBrowserCell-highlightColorInView$">highlightColorInView: </a></h3> - (<a rel="gsdoc" href="NSColor.html#class$NSColor">NSColor</a>*) <b>highlightColorInView:</b> (<a rel="gsdoc" href="NSView.html#class$NSView">NSView</a>*)controlView;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSBrowserCell-isLeaf">isLeaf </a></h3> - (BOOL) <b>isLeaf</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Returns whether the browserCell is a leaf. A leaf cell has usually no image. This method is used by NSBrowser in several methods, for example to know if a column should be added; when the user selects a browser cell (a branch or a leaf) </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSBrowserCell-setLeaf$"> -setLeaf: </a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSBrowserCell-isLoaded">isLoaded </a></h3> - (BOOL) <b>isLoaded</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Returns whether the NSBrowseCell state is set and is ready for display </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSBrowserCell-setLoaded$"> -setLoaded: </a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSBrowserCell-reset">reset </a></h3> - (void) <b>reset</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Unhighlights the cell and sets the cell's state to <code>NO</code> </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSBrowserCell-set">-set</a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSBrowserCell-set">set </a></h3> - (void) <b>set</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Highlights the cell and sets the cell's state to <code>YES</code> </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSBrowserCell-reset">-reset</a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSBrowserCell-setAlternateImage$">setAlternateImage: </a></h3> - (void) <b>setAlternateImage:</b> (<a rel="gsdoc" href="NSImage.html#class$NSImage">NSImage</a>*)anImage;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Sets the altenate image (used when the cell is highlighted) to <var>anImage</var> </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSBrowserCell-alternateImage"> -alternateImage </a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSBrowserCell-setLeaf$">setLeaf: </a></h3> - (void) <b>setLeaf:</b> (BOOL)flag;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Sets whether the cell is a leaf. This method is usally used in the NSBrowser's delegate methods </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSBrowserCell-isLeaf"> -isLeaf </a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSBrowserCell-setLoaded$">setLoaded: </a></h3> - (void) <b>setLoaded:</b> (BOOL)flag;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Sets whether the NSBrowseCell state is set and is ready for display </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSBrowserCell-isLoaded"> -isLoaded </a> </p> <p> </div> <hr width="25%" align="left" /> </div> <a name="_NSBrowserCell_ivars"/> <br/><hr width="50%" align="left" /> <h2>Instance Variables for NSBrowserCell Class</h2> <h3><a name="ivariable$NSBrowserCell*_alternateImage">_alternateImage</a></h3> @protected NSImage* <b>_alternateImage</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Warning</em> the underscore at the start of the name of this instance variable indicates that, even though it is not technically <em>private</em>, it is intended for internal use within the package, and you should not use the variable in other code. </div> <hr width="25%" align="left" /> <br/><hr width="50%" align="left" /><br/> <br /> <a href="Gui.html">Up</a> </font> </body> </html>