2000-03-05 17:39:16 +00:00
|
|
|
<html><head>
|
2001-03-03 10:07:01 +00:00
|
|
|
<title>NSBox</title>
|
2000-03-05 17:39:16 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
2001-03-03 10:07:01 +00:00
|
|
|
<a href ="NSBitmapImageRep.html">[Previous]</a>
|
|
|
|
<a href ="Gui.html">[Up]</a>
|
|
|
|
<a href ="NSBrowser.html">[Next]</a>
|
2000-03-05 17:39:16 +00:00
|
|
|
<h1>NSBox</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">NSBox</a></h2>
|
|
|
|
<h2><a name ="NSBox">NSBox</a></h2>
|
|
|
|
<p><b>Declared in: </b> Gui/NSBox.h</p>
|
|
|
|
<p><b>Inherits from: </b> NSView</p>
|
|
|
|
<p><b>Conforms to: </b> NSCoding
|
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>
|
|
|
|
<li><a href ="NSBox.html#method-0">-borderRect</a>
|
|
|
|
<li><a href ="NSBox.html#method-1">-borderType</a>
|
|
|
|
<li><a href ="NSBox.html#method-2">-contentView</a>
|
|
|
|
<li><a href ="NSBox.html#method-3">-contentViewMargins</a>
|
|
|
|
<li><a href ="NSBox.html#method-4">-setBorderType:</a>
|
|
|
|
<li><a href ="NSBox.html#method-5">-setContentView:</a>
|
|
|
|
<li><a href ="NSBox.html#method-6">-setContentViewMargins:</a>
|
|
|
|
<li><a href ="NSBox.html#method-7">-setFrameFromContentFrame:</a>
|
|
|
|
<li><a href ="NSBox.html#method-8">-setTitle:</a>
|
|
|
|
<li><a href ="NSBox.html#method-9">-setTitleFont:</a>
|
|
|
|
<li><a href ="NSBox.html#method-10">-setTitlePosition:</a>
|
|
|
|
<li><a href ="NSBox.html#method-11">-setTitleWithMnemonic:</a>
|
|
|
|
<li><a href ="NSBox.html#method-12">-sizeToFit</a>
|
|
|
|
<li><a href ="NSBox.html#method-13">-title</a>
|
|
|
|
<li><a href ="NSBox.html#method-14">-titleCell</a>
|
|
|
|
<li><a href ="NSBox.html#method-15">-titleFont</a>
|
|
|
|
<li><a href ="NSBox.html#method-16">-titlePosition</a>
|
|
|
|
<li><a href ="NSBox.html#method-17">-titleRect</a>
|
|
|
|
</ul>
|
|
|
|
<hr><h2>Instances Methods </h2>
|
|
|
|
<h3><a name ="method-0">borderRect</a></h3>
|
|
|
|
- (NSRect) <b>borderRect</b>;<br>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
|
|
|
|
2001-03-03 10:07:01 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-1">borderType</a></h3>
|
|
|
|
- (NSBorderType) <b>borderType</b>;<br>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
|
|
|
|
2001-03-03 10:07:01 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-2">contentView</a></h3>
|
|
|
|
- (id) <b>contentView</b>;<br>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
|
|
|
|
2001-03-03 10:07:01 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-3">contentViewMargins</a></h3>
|
|
|
|
- (NSSize) <b>contentViewMargins</b>;<br>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
|
|
|
|
2001-03-03 10:07:01 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-4">setBorderType:</a></h3>
|
|
|
|
- (void) <b>setBorderType:</b> (NSBorderType)aType;<br>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
|
|
|
|
2001-03-03 10:07:01 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-5">setContentView:</a></h3>
|
|
|
|
- (void) <b>setContentView:</b> (NSView*)aView;<br>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
|
|
|
|
2001-03-03 10:07:01 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-6">setContentViewMargins:</a></h3>
|
|
|
|
- (void) <b>setContentViewMargins:</b> (NSSize)offsetSize;<br>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
|
|
|
|
2001-03-03 10:07:01 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-7">setFrameFromContentFrame:</a></h3>
|
|
|
|
- (void) <b>setFrameFromContentFrame:</b> (NSRect)contentFrame;<br>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
|
|
|
|
2001-03-03 10:07:01 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-8">setTitle:</a></h3>
|
|
|
|
- (void) <b>setTitle:</b> (NSString*)aString;<br>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
|
|
|
|
2001-03-03 10:07:01 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-9">setTitleFont:</a></h3>
|
|
|
|
- (void) <b>setTitleFont:</b> (NSFont*)aFont;<br>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
|
|
|
|
2001-03-03 10:07:01 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-10">setTitlePosition:</a></h3>
|
|
|
|
- (void) <b>setTitlePosition:</b> (NSTitlePosition)aPosition;<br>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
|
|
|
|
2001-03-03 10:07:01 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-11">setTitleWithMnemonic:</a></h3>
|
|
|
|
- (void) <b>setTitleWithMnemonic:</b> (NSString*)aString;<br>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
|
|
|
|
2001-03-03 10:07:01 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-12">sizeToFit</a></h3>
|
|
|
|
- (void) <b>sizeToFit</b>;<br>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
|
|
|
|
2001-03-03 10:07:01 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-13">title</a></h3>
|
|
|
|
- (NSString*) <b>title</b>;<br>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
|
|
|
|
2001-03-03 10:07:01 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-14">titleCell</a></h3>
|
|
|
|
- (id) <b>titleCell</b>;<br>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
|
|
|
|
2001-03-03 10:07:01 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-15">titleFont</a></h3>
|
|
|
|
- (NSFont*) <b>titleFont</b>;<br>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
|
|
|
|
2001-03-03 10:07:01 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-16">titlePosition</a></h3>
|
|
|
|
- (NSTitlePosition) <b>titlePosition</b>;<br>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
|
|
|
|
2001-03-03 10:07:01 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-17">titleRect</a></h3>
|
|
|
|
- (NSRect) <b>titleRect</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>
|