2001-12-17 16:51:51 +00:00
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>NSTextContainer</title>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<h1>NSTextContainer</h1>
|
|
|
|
<h3>Authors</h3>
|
|
|
|
<dl>
|
|
|
|
<dt>Jonathan Gapen(<a href="mailto:jagapen@smithlab.chem.wisc.edu"><code>
|
|
|
|
jagapen@smithlab.chem.wisc.edu
|
|
|
|
</code></a>)</dt>
|
|
|
|
<dd>
|
|
|
|
</dd>
|
|
|
|
</dl>
|
|
|
|
<p>Copyright: (C) 1999 Free Software Foundation, Inc.</p>
|
|
|
|
<h1>
|
|
|
|
Software documentation for the NSTextContainer class
|
|
|
|
</h1>
|
|
|
|
<h2><a name="class$NSTextContainer">NSTextContainer</a> : NSObject</h2>
|
|
|
|
Declared: AppKit/NSTextContainer.h<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<h3>containerSize</a></h3>
|
|
|
|
- (NSSize) <b>containerSize</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>containsPoint:</a></h3>
|
|
|
|
- (BOOL) <b>containsPoint:</b> (NSPoint)aPoint;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>heightTracksTextView</a></h3>
|
|
|
|
- (BOOL) <b>heightTracksTextView</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>initWithContainerSize:</a></h3>
|
|
|
|
- (id) <b>initWithContainerSize:</b> (NSSize)aSize;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>isSimpleRectangularTextContainer</a></h3>
|
|
|
|
- (BOOL) <b>isSimpleRectangularTextContainer</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>layoutManager</a></h3>
|
|
|
|
- (<a href="NSLayoutManager.html#class$NSLayoutManager">NSLayoutManager</a>*) <b>layoutManager</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>lineFragmentPadding</a></h3>
|
|
|
|
- (float) <b>lineFragmentPadding</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>lineFragmentRectForProposedRect:sweepDirection:movementDirection:remainingRect:</a></h3>
|
|
|
|
- (NSRect) <b>lineFragmentRectForProposedRect:</b> (NSRect)proposedRect<b> sweepDirection:</b> (NSLineSweepDirection)sweepDir<b> movementDirection:</b> (NSLineMovementDirection)moveDir<b> remainingRect:</b> (NSRect*)remainingRect;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>replaceLayoutManager:</a></h3>
|
|
|
|
- (void) <b>replaceLayoutManager:</b> (<a href="NSLayoutManager.html#class$NSLayoutManager">NSLayoutManager</a>*)newLayoutManager;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>setContainerSize:</a></h3>
|
|
|
|
- (void) <b>setContainerSize:</b> (NSSize)aSize;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>setHeightTracksTextView:</a></h3>
|
|
|
|
- (void) <b>setHeightTracksTextView:</b> (BOOL)flag;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>setLayoutManager:</a></h3>
|
|
|
|
- (void) <b>setLayoutManager:</b> (<a href="NSLayoutManager.html#class$NSLayoutManager">NSLayoutManager</a>*)aLayoutManager;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>setLineFragmentPadding:</a></h3>
|
|
|
|
- (void) <b>setLineFragmentPadding:</b> (float)aFloat;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>setTextView:</a></h3>
|
|
|
|
- (void) <b>setTextView:</b> (<a href="NSTextView.html#class$NSTextView">NSTextView</a>*)aTextView;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>setWidthTracksTextView:</a></h3>
|
|
|
|
- (void) <b>setWidthTracksTextView:</b> (BOOL)flag;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>textView</a></h3>
|
|
|
|
- (<a href="NSTextView.html#class$NSTextView">NSTextView</a>*) <b>textView</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>widthTracksTextView</a></h3>
|
|
|
|
- (BOOL) <b>widthTracksTextView</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
</body>
|
|
|
|
</html>
|