Instance Method


Caches images for the scroll buttons and knob.


- (void)drawParts;


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.

See Also

Drawing Scroller Parts

- drawArrow:highlight:

Draws the scroll button indicated by arrow, which is either NSScrollerIncrementArrow (the down or right scroll button) or NSScrollerDecrementArrow (up or left).

- drawKnobSlotInRect:highlight:

Draws the portion of the scroller’s track, possibly including the line increment and decrement arrow buttons, that falls in the given rectangle.

- drawKnob

Draws the knob.

- highlight:

Highlights or unhighlights the scroll button the user clicked.