Up

NSScroller

Authors

Ovidiu Predescu (ovidiu@net-community.com)
Felipe A. Rodriguez (far@ix.netcom.com)
Richard Frith-Macdonald (richard@brainstorm.co.uk)

Copyright: (C) 1996 Free Software Foundation, Inc.

Software documentation for the NSScroller class

NSScroller : NSControl

Declared in:
AppKit/NSScroller.h
Conforms to:
NSCoding
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


Instance Variables

Method summary

scrollerWidth 

+ (float) scrollerWidth;
Availability: Not in OpenStep/MacOS-X

Subclasses can override this to provide different scrollbar width. But you may need to also override -drawParts .


scrollerWidthForControlSize: 

+ (float) scrollerWidthForControlSize: (NSControlSize)controlSize;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


arrowsPosition 

- (NSScrollArrowPosition) arrowsPosition;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


checkSpaceForParts 

- (void) checkSpaceForParts;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


controlSize 

- (NSControlSize) controlSize;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


controlTint 

- (NSControlTint) controlTint;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


drawArrow: highlight: 

- (void) drawArrow: (NSScrollerArrow)whichButton highlight: (BOOL)flag;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


drawKnob 

- (void) drawKnob;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


drawKnobSlot 

- (void) drawKnobSlot;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


drawParts 

- (void) drawParts;
Availability: Not in OpenStep/MacOS-X

Cache images for scroll arrows and knob. If you override +scrollerWidth you may need to override this as well (to provide images for the new width). However, if you do so, you must currently also override -drawArrow:highlight: and -drawKnob: .


highlight: 

- (void) highlight: (BOOL)flag;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


hitPart 

- (NSScrollerPart) hitPart;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


knobProportion 

- (float) knobProportion;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


rectForPart: 

- (NSRect) rectForPart: (NSScrollerPart)partCode;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


setArrowsPosition: 

- (void) setArrowsPosition: (NSScrollArrowPosition)where;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


setControlSize: 

- (void) setControlSize: (NSControlSize)controlSize;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


setControlTint: 

- (void) setControlTint: (NSControlTint)controlTint;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


setFloatValue: knobProportion: 

- (void) setFloatValue: (float)aFloat knobProportion: (float)ratio;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


testPart: 

- (NSScrollerPart) testPart: (NSPoint)thePoint;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


trackKnob: 

- (void) trackKnob: (NSEvent*)theEvent;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


trackScrollButtons: 

- (void) trackScrollButtons: (NSEvent*)theEvent;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


usableParts 

- (NSUsableScrollerParts) usableParts;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.




Instance Variables for NSScroller Class

_action

@protected SEL _action;

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.


_arrowsPosition

@protected NSScrollArrowPosition _arrowsPosition;

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.


_cacheValid

@protected BOOL _cacheValid;

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.


_floatValue

@protected float _floatValue;

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.


_hitPart

@protected NSScrollerPart _hitPart;

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.


_isEnabled

@protected BOOL _isEnabled;

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.


_isHorizontal

@protected BOOL _isHorizontal;

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.


_knobProportion

@protected float _knobProportion;

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.


_pendingKnobProportion

@protected float _pendingKnobProportion;

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.


_target

@protected id _target;

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.


_usableParts

@protected NSUsableScrollerParts _usableParts;

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.






Up