2001-12-17 16:51:51 +00:00
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>NSScroller</title>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<h1>NSScroller</h1>
|
|
|
|
<h3>Authors</h3>
|
|
|
|
<dl>
|
|
|
|
<dt>Ovidiu Predescu(<a href="mailto:ovidiu@net-community.com"><code>
|
|
|
|
ovidiu@net-community.com
|
|
|
|
</code></a>)</dt>
|
|
|
|
<dd>
|
|
|
|
</dd>
|
|
|
|
<dt>Felipe A. Rodriguez(<a href="mailto:far@ix.netcom.com"><code>
|
|
|
|
far@ix.netcom.com
|
|
|
|
</code></a>)</dt>
|
|
|
|
<dd>
|
|
|
|
</dd>
|
|
|
|
<dt>Richard Frith-Macdonald(<a href="mailto:richard@brainstorm.co.uk"><code>
|
|
|
|
richard@brainstorm.co.uk
|
|
|
|
</code></a>)</dt>
|
|
|
|
<dd>
|
|
|
|
</dd>
|
|
|
|
</dl>
|
|
|
|
<p>Copyright: (C) 1996 Free Software Foundation, Inc.</p>
|
|
|
|
<h1>
|
|
|
|
Software documentation for the NSScroller class
|
|
|
|
</h1>
|
|
|
|
<h2><a name="class$NSScroller">NSScroller</a> : <a href="NSControl.html#class$NSControl">NSControl</a></h2>
|
|
|
|
Declared: AppKit/NSScroller.h<br />
|
|
|
|
Conform: NSCoding<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<h3>scrollerWidth</a></h3>
|
|
|
|
+ (float) <b>scrollerWidth</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>scrollerWidthForControlSize:</a></h3>
|
|
|
|
+ (float) <b>scrollerWidthForControlSize:</b> (NSControlSize)controlSize;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>arrowsPosition</a></h3>
|
|
|
|
- (NSScrollArrowPosition) <b>arrowsPosition</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>checkSpaceForParts</a></h3>
|
|
|
|
- (void) <b>checkSpaceForParts</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>controlSize</a></h3>
|
|
|
|
- (NSControlSize) <b>controlSize</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>controlTint</a></h3>
|
|
|
|
- (NSControlTint) <b>controlTint</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>drawArrow:highlight:</a></h3>
|
|
|
|
- (void) <b>drawArrow:</b> (NSScrollerArrow)whichButton<b> highlight:</b> (BOOL)flag;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>drawKnob</a></h3>
|
|
|
|
- (void) <b>drawKnob</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>drawKnobSlot</a></h3>
|
|
|
|
- (void) <b>drawKnobSlot</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>drawParts</a></h3>
|
|
|
|
- (void) <b>drawParts</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>highlight:</a></h3>
|
|
|
|
- (void) <b>highlight:</b> (BOOL)flag;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>hitPart</a></h3>
|
|
|
|
- (NSScrollerPart) <b>hitPart</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>knobProportion</a></h3>
|
|
|
|
- (float) <b>knobProportion</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>rectForPart:</a></h3>
|
|
|
|
- (NSRect) <b>rectForPart:</b> (NSScrollerPart)partCode;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>setArrowsPosition:</a></h3>
|
|
|
|
- (void) <b>setArrowsPosition:</b> (NSScrollArrowPosition)where;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>setControlSize:</a></h3>
|
|
|
|
- (void) <b>setControlSize:</b> (NSControlSize)controlSize;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>setControlTint:</a></h3>
|
|
|
|
- (void) <b>setControlTint:</b> (NSControlTint)controlTint;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>setFloatValue:knobProportion:</a></h3>
|
|
|
|
- (void) <b>setFloatValue:</b> (float)aFloat<b> knobProportion:</b> (float)ratio;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>testPart:</a></h3>
|
|
|
|
- (NSScrollerPart) <b>testPart:</b> (NSPoint)thePoint;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>trackKnob:</a></h3>
|
|
|
|
- (void) <b>trackKnob:</b> (<a href="NSEvent.html#class$NSEvent">NSEvent</a>*)theEvent;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>trackScrollButtons:</a></h3>
|
|
|
|
- (void) <b>trackScrollButtons:</b> (<a href="NSEvent.html#class$NSEvent">NSEvent</a>*)theEvent;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>usableParts</a></h3>
|
|
|
|
- (NSUsableScrollerParts) <b>usableParts</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
</body>
|
|
|
|
</html>
|