2000-03-05 17:39:16 +00:00
|
|
|
<html><head>
|
2001-03-03 10:07:01 +00:00
|
|
|
<title>NSTextContainer</title>
|
2000-03-05 17:39:16 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
2001-03-03 10:07:01 +00:00
|
|
|
<a href ="NSTextAttachmentCell.html">[Previous]</a>
|
|
|
|
<a href ="Gui.html">[Up]</a>
|
|
|
|
<a href ="NSTextField.html">[Next]</a>
|
2000-03-05 17:39:16 +00:00
|
|
|
<h1>NSTextContainer</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">NSTextContainer</a></h2>
|
|
|
|
<h2><a name ="NSTextContainer">NSTextContainer</a></h2>
|
|
|
|
<p><b>Declared in: </b> Gui/NSTextContainer.h</p>
|
|
|
|
<p><b>Inherits from: </b> NSObject</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>
|
|
|
|
<li><a href ="NSTextContainer.html#method-0">-containerSize</a>
|
|
|
|
<li><a href ="NSTextContainer.html#method-1">-containsPoint:</a>
|
|
|
|
<li><a href ="NSTextContainer.html#method-2">-heightTracksTextView</a>
|
|
|
|
<li><a href ="NSTextContainer.html#method-3">-initWithContainerSize:</a>
|
|
|
|
<li><a href ="NSTextContainer.html#method-4">-isSimpleRectangularTextContainer</a>
|
|
|
|
<li><a href ="NSTextContainer.html#method-5">-layoutManager</a>
|
|
|
|
<li><a href ="NSTextContainer.html#method-6">-lineFragmentPadding</a>
|
|
|
|
<li><a href ="NSTextContainer.html#method-7">-lineFragmentRectForProposedRect:sweepDirection:movementDirection:</a>
|
|
|
|
<li><a href ="NSTextContainer.html#method-8">-replaceLayoutManager:</a>
|
|
|
|
<li><a href ="NSTextContainer.html#method-9">-setContainerSize:</a>
|
|
|
|
<li><a href ="NSTextContainer.html#method-10">-setHeightTracksTextView:</a>
|
|
|
|
<li><a href ="NSTextContainer.html#method-11">-setLayoutManager:</a>
|
|
|
|
<li><a href ="NSTextContainer.html#method-12">-setLineFragmentPadding:</a>
|
|
|
|
<li><a href ="NSTextContainer.html#method-13">-setTextView:</a>
|
|
|
|
<li><a href ="NSTextContainer.html#method-14">-setWidthTracksTextView:</a>
|
|
|
|
<li><a href ="NSTextContainer.html#method-15">-textView</a>
|
|
|
|
<li><a href ="NSTextContainer.html#method-16">-widthTracksTextView</a>
|
|
|
|
</ul>
|
|
|
|
<hr><h2>Instances Methods </h2>
|
|
|
|
<h3><a name ="method-0">containerSize</a></h3>
|
|
|
|
- (NSSize) <b>containerSize</b>;<br>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
|
|
|
|
2001-03-03 10:07:01 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-1">containsPoint:</a></h3>
|
|
|
|
- (BOOL) <b>containsPoint:</b> (NSPoint)aPoint;<br>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
|
|
|
|
2001-03-03 10:07:01 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-2">heightTracksTextView</a></h3>
|
|
|
|
- (BOOL) <b>heightTracksTextView</b>;<br>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
|
|
|
|
2001-03-03 10:07:01 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-3">initWithContainerSize:</a></h3>
|
|
|
|
- (id) <b>initWithContainerSize:</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-4">isSimpleRectangularTextContainer</a></h3>
|
|
|
|
- (BOOL) <b>isSimpleRectangularTextContainer</b>;<br>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
|
|
|
|
2001-03-03 10:07:01 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-5">layoutManager</a></h3>
|
|
|
|
- (NSLayoutManager*) <b>layoutManager</b>;<br>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
|
|
|
|
2001-03-03 10:07:01 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-6">lineFragmentPadding</a></h3>
|
|
|
|
- (float) <b>lineFragmentPadding</b>;<br>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
|
|
|
|
2001-03-03 10:07:01 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-7">lineFragmentRectForProposedRect:sweepDirection:movementDirection:</a></h3>
|
|
|
|
- (NSRect) <b>lineFragmentRectForProposedRect:</b> (NSRect)proposedRect <b>sweepDirection:</b> (NSLineSweepDirection)sweepDirection <b>movementDirection:</b> (NSLineMovementDirection)movementDirection;<br>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
|
|
|
|
2001-03-03 10:07:01 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-8">replaceLayoutManager:</a></h3>
|
|
|
|
- (void) <b>replaceLayoutManager:</b> (NSLayoutManager*)aLayoutManager;<br>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
|
|
|
|
2001-03-03 10:07:01 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-9">setContainerSize:</a></h3>
|
|
|
|
- (void) <b>setContainerSize:</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-10">setHeightTracksTextView:</a></h3>
|
|
|
|
- (void) <b>setHeightTracksTextView:</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-11">setLayoutManager:</a></h3>
|
|
|
|
- (void) <b>setLayoutManager:</b> (NSLayoutManager*)aLayoutManager;<br>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
|
|
|
|
2001-03-03 10:07:01 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-12">setLineFragmentPadding:</a></h3>
|
|
|
|
- (void) <b>setLineFragmentPadding:</b> (float)aFloat;<br>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
|
|
|
|
2001-03-03 10:07:01 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-13">setTextView:</a></h3>
|
|
|
|
- (void) <b>setTextView:</b> (NSTextView*)aTextView;<br>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
|
|
|
|
2001-03-03 10:07:01 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-14">setWidthTracksTextView:</a></h3>
|
|
|
|
- (void) <b>setWidthTracksTextView:</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-15">textView</a></h3>
|
|
|
|
- (NSTextView*) <b>textView</b>;<br>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
|
|
|
|
2001-03-03 10:07:01 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-16">widthTracksTextView</a></h3>
|
|
|
|
- (BOOL) <b>widthTracksTextView</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>
|