Deprecated NSScroller Methods
A method identified as deprecated has been superseded and may become unsupported in the future.
Deprecated in OS X v10.5
setFloatValue:knobProportion:
Sets the position of the knob to aFloat, which is a value from 0.0 (indicating the top or left end) to 1.0 (the bottom or right end). (Deprecated in OS X v10.5. Code that targets OS X v10.5 and later should use setKnobProportion: and setDoubleValue:.)
Discussion
Also sets the proportion of the knob slot filled by the knob to knobProp, also a value from 0.0 (minimal size) to 1.0 (fills the slot).
Availability
- Available in OS X v10.0 and later.
- Deprecated in OS X v10.5.
See Also
-
floatValue(NSControl) -
– knobProportion
Declared In
NSScroller.hDeprecated in OS X v10.7
drawParts
Caches images for the scroll buttons and knob. (Deprecated in OS X v10.7.)
Discussion
It’s invoked only once when the scroller is created. You may want to override this method if you alter the look of the scroller, but you should never invoke it directly.
Availability
- Available in OS X v10.0 and later.
- Deprecated in OS X v10.7.
Declared In
NSScroller.h© 2011 Apple Inc. All Rights Reserved. (Last updated: 2011-05-01)