[Previous] [Up] [Next]

NSScroller

Authors

Richard Frith-Macdonald

Version: $Revision$

Date: $Date$

NSScroller

NSScroller

Declared in: Gui/NSScroller.h

Inherits from: NSControl

Conforms to: NSCoding


Instance Variables

Methods


Class Methods

scrollerWidth

+ (float) scrollerWidth;


Instances Methods

arrowsPosition

- (NSScrollArrowPosition) arrowsPosition;

checkSpaceForParts

- (void) checkSpaceForParts;

drawArrow:highlight:

- (void) drawArrow: (NSScrollerArrow)arrow highlight: (BOOL)flag;

drawKnob

- (void) drawKnob;

drawParts

- (void) drawParts;

highlight:

- (void) highlight: (BOOL)flag;

hitPart

- (NSScrollerPart) hitPart;

initWithFrame:

- (id) initWithFrame: (NSRect)frameRect;

knobProportion

- (float) knobProportion;

rectForPart:

- (NSRect) rectForPart: (NSScrollerPart)aPart;

setArrowsPosition:

- (void) setArrowsPosition: (NSScrollArrowPosition)location;

setFloatValue:knobProportion:

- (void) setFloatValue: (float)aFloat knobProportion: (float)knobProp;

testPart:

- (NSScrollerPart) testPart: (NSPoint)aPoint;

trackKnob:

- (void) trackKnob: (NSEvent*)theEvent;

trackScrollButtons:

- (void) trackScrollButtons: (NSEvent*)theEvent;

usableParts

- (NSUsableScrollerParts) usableParts;