![]() 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>NSTextFieldCell</title> </head> <body> <font face="serif"> <a href="Gui.html">Up</a> <br /> <h1><a name="title$NSTextFieldCell">NSTextFieldCell</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 text field entry control </blockquote> <p><b>Copyright:</b> (C) 1996 Free Software Foundation, Inc.</p> <div> <hr width="50%" align="left" /> <h3>Contents -</h3> <ol> <li> <a href="#001000000000">Software documentation for the NSTextFieldCell class</a> </li> <li> <a href="#002000000000">Software documentation for the NSTextFieldCell(PrivateMethods) category</a> </li> </ol> <hr width="50%" align="left" /> </div> <h1><a name="001000000000"> Software documentation for the NSTextFieldCell class </a></h1> <h2><a name="class$NSTextFieldCell">NSTextFieldCell</a> : <a rel="gsdoc" href="NSActionCell.html#class$NSActionCell">NSActionCell</a></h2> <blockquote class="declared"> <dl> <dt><b>Declared in:</b></dt> <dd>AppKit/NSTextFieldCell.h</dd> </dl> </blockquote> <blockquote> <dl> <dt><b>Conforms to:</b></dt> <dd><a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSObject.html#protocol$(NSCoding)">NSCoding</a></dd> </dl> </blockquote> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="50%" align="left" /> <a href="#_NSTextFieldCell_ivars">Instance Variables</a> <br/><br/> <b>Method summary</b> <ul> <li><a rel="gsdoc" href="NSTextFieldCell.html#method$NSTextFieldCell(PrivateMethods)-_drawBackgroundWithFrame$inView$">-_drawBackgroundWithFrame:inView:</a></li> <li><a rel="gsdoc" href="NSTextFieldCell.html#method$NSTextFieldCell-backgroundColor">-backgroundColor</a></li> <li><a rel="gsdoc" href="NSTextFieldCell.html#method$NSTextFieldCell-bezelStyle">-bezelStyle</a></li> <li><a rel="gsdoc" href="NSTextFieldCell.html#method$NSTextFieldCell-drawsBackground">-drawsBackground</a></li> <li><a rel="gsdoc" href="NSTextFieldCell.html#method$NSTextFieldCell-placeholderAttributedString">-placeholderAttributedString</a></li> <li><a rel="gsdoc" href="NSTextFieldCell.html#method$NSTextFieldCell-placeholderString">-placeholderString</a></li> <li><a rel="gsdoc" href="NSTextFieldCell.html#method$NSTextFieldCell-setBackgroundColor$">-setBackgroundColor:</a></li> <li><a rel="gsdoc" href="NSTextFieldCell.html#method$NSTextFieldCell-setBezelStyle$">-setBezelStyle:</a></li> <li><a rel="gsdoc" href="NSTextFieldCell.html#method$NSTextFieldCell-setDrawsBackground$">-setDrawsBackground:</a></li> <li><a rel="gsdoc" href="NSTextFieldCell.html#method$NSTextFieldCell-setPlaceholderAttributedString$">-setPlaceholderAttributedString:</a></li> <li><a rel="gsdoc" href="NSTextFieldCell.html#method$NSTextFieldCell-setPlaceholderString$">-setPlaceholderString:</a></li> <li><a rel="gsdoc" href="NSTextFieldCell.html#method$NSTextFieldCell-setTextColor$">-setTextColor:</a></li> <li><a rel="gsdoc" href="NSTextFieldCell.html#method$NSTextFieldCell-textColor">-textColor</a></li> </ul> <hr width="50%" align="left" /> <div class="method"> <h3><a name="method$NSTextFieldCell-backgroundColor">backgroundColor </a></h3> - (<a rel="gsdoc" href="NSColor.html#class$NSColor">NSColor</a>*) <b>backgroundColor</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Returns the color used to draw the background </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSTextFieldCell-setBackgroundColor$"> -setBackgroundColor: </a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSTextFieldCell-bezelStyle">bezelStyle </a></h3> - (<a rel="gsdoc" href="TypesAndConstants.html#type$NSTextFieldBezelStyle">NSTextFieldBezelStyle</a>) <b>bezelStyle</b>;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.2.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSTextFieldCell-drawsBackground">drawsBackground </a></h3> - (BOOL) <b>drawsBackground</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Returns whether the NSTextFieldCell draw its background color </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSTextFieldCell-setBackgroundColor$"> -setBackgroundColor: </a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSTextFieldCell-placeholderAttributedString">placeholderAttributedString </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSAttributedString.html#class$NSAttributedString">NSAttributedString</a>*) <b>placeholderAttributedString</b>;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.3.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSTextFieldCell-placeholderString">placeholderString </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*) <b>placeholderString</b>;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.3.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSTextFieldCell-setBackgroundColor$">setBackgroundColor: </a></h3> - (void) <b>setBackgroundColor:</b> (<a rel="gsdoc" href="NSColor.html#class$NSColor">NSColor</a>*)aColor;<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$NSTextFieldCell-setBezelStyle$">setBezelStyle: </a></h3> - (void) <b>setBezelStyle:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSTextFieldBezelStyle">NSTextFieldBezelStyle</a>)style;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.2.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSTextFieldCell-setDrawsBackground$">setDrawsBackground: </a></h3> - (void) <b>setDrawsBackground:</b> (BOOL)flag;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Sets whether the NSTextFieldCell draw its background color </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSTextFieldCell-drawsBackground"> -drawsBackground </a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSTextFieldCell-setPlaceholderAttributedString$">setPlaceholderAttributedString: </a></h3> - (void) <b>setPlaceholderAttributedString:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSAttributedString.html#class$NSAttributedString">NSAttributedString</a>*)string;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.3.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSTextFieldCell-setPlaceholderString$">setPlaceholderString: </a></h3> - (void) <b>setPlaceholderString:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)string;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.3.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSTextFieldCell-setTextColor$">setTextColor: </a></h3> - (void) <b>setTextColor:</b> (<a rel="gsdoc" href="NSColor.html#class$NSColor">NSColor</a>*)aColor;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Sets the text color to <var>aColor</var> </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSTextFieldCell-textColor"> -textColor </a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSTextFieldCell-textColor">textColor </a></h3> - (<a rel="gsdoc" href="NSColor.html#class$NSColor">NSColor</a>*) <b>textColor</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Returns the text color </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSTextFieldCell-setTextColor$"> -setTextColor: </a> </p> <p> </div> <hr width="25%" align="left" /> </div> <a name="_NSTextFieldCell_ivars"/> <br/><hr width="50%" align="left" /> <h2>Instance Variables for NSTextFieldCell Class</h2> <h3><a name="ivariable$NSTextFieldCell*_background_color">_background_color</a></h3> @protected NSColor* <b>_background_color</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" /> <h3><a name="ivariable$NSTextFieldCell*_bezelStyle">_bezelStyle</a></h3> @protected unsigned int <b>_bezelStyle</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" /> <h3><a name="ivariable$NSTextFieldCell*_placeholder">_placeholder</a></h3> @protected id <b>_placeholder</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" /> <h3><a name="ivariable$NSTextFieldCell*_text_color">_text_color</a></h3> @protected NSColor* <b>_text_color</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/> <h1><a name="002000000000"> Software documentation for the NSTextFieldCell(PrivateMethods) category </a></h1> <h2><a rel="gsdoc" href="#class$NSTextFieldCell">NSTextFieldCell</a>(<a name="category$NSTextFieldCell(PrivateMethods)">PrivateMethods</a>)</h2> <blockquote class="declared"> <dl> <dt><b>Declared in:</b></dt> <dd>AppKit/NSTextFieldCell.h</dd> </dl> </blockquote> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Warning</em> this category is <em>private</em>, which means that the methods are for internal use by the package. You should not use them in external code. </div> <b>Method summary</b> <ul> <li><a rel="gsdoc" href="NSTextFieldCell.html#method$NSTextFieldCell(PrivateMethods)-_drawBackgroundWithFrame$inView$">-_drawBackgroundWithFrame:inView:</a></li> </ul> <hr width="50%" align="left" /> <div class="method"> <h3><a name="method$NSTextFieldCell(PrivateMethods)-_drawBackgroundWithFrame$inView$">_drawBackgroundWithFrame: inView: </a></h3> - (void) <b>_drawBackgroundWithFrame:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$NSRect">NSRect</a>)cellFrame<b> inView:</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>Warning</em> the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code. </div> <hr width="25%" align="left" /> </div> <br /> <a href="Gui.html">Up</a> </font> </body> </html>