#import <CPScroller.h>
Class Methods | |
(CPString) | + defaultThemeClass |
(float) | + scrollerOverlay |
(float) | + scrollerWidth |
(float) | + scrollerWidthForControlSize: |
(float) | + scrollerWidthInStyle: |
(CPDictionary) | + themeAttributes |
Class Methods inherited from CPControl | |
(void) | + initialize |
Class Methods inherited from CPView | |
(Class) | + animatorClass |
(CAAnimation) | + defaultAnimationForKey: |
(CPMenu) | + defaultMenu |
(BOOL) | + isHighDPIDrawingEnabled |
(CPSet) | + keyPathsForValuesAffectingBounds |
(CPSet) | + keyPathsForValuesAffectingFrame |
(void) | + setHighDPIDrawingEnabled: |
Definition at line 2 of file CPScroller.h.
|
implementation |
Synthesized accessor method.
Provided by category CPScroller(CPSynthesizedAccessors).
Definition at line 866 of file CPScroller.j.
|
implementation |
Definition at line 780 of file CPScroller.j.
|
implementation |
Check if there's enough space in the scroller to display the knob
Definition at line 342 of file CPScroller.j.
Reimplemented from CPView.
Definition at line 505 of file CPScroller.j.
|
implementation |
Definition at line 491 of file CPScroller.j.
|
implementation |
Definition at line 703 of file CPScroller.j.
|
implementation |
Reimplemented from CPView.
Definition at line 102 of file CPScroller.j.
|
implementation |
Draws the specified arrow and sets the highlight.
anArrow | the arrow to draw |
shouldHighlight | sets whether the arrow should be highlighted |
Definition at line 473 of file CPScroller.j.
|
implementation |
Draws the knob
Definition at line 480 of file CPScroller.j.
|
implementation |
Draws the knob's slot
Definition at line 487 of file CPScroller.j.
|
implementation |
Caches images for the scroll arrow and knob.
Definition at line 540 of file CPScroller.j.
|
implementation |
Archives the view to a coder.
aCoder | the object into which the view's data will be archived. |
Reimplemented from CPControl.
Provided by category CPScroller(CPCoding).
Definition at line 827 of file CPScroller.j.
|
implementation |
Display the scroller
Definition at line 445 of file CPScroller.j.
|
implementation |
Start the fade out anination
Definition at line 459 of file CPScroller.j.
|
implementation |
Returns the part of the scroller that was hit.
Definition at line 552 of file CPScroller.j.
|
implementation |
Initializes the view from an archive.
aCoder | the coder from which to initialize |
Reimplemented from CPControl.
Provided by category CPScroller(CPCoding).
Definition at line 793 of file CPScroller.j.
|
implementation |
Initializes the receiver for usage with the specified bounding rectangle
Reimplemented from CPControl.
Definition at line 167 of file CPScroller.j.
|
implementation |
Synthesized accessor method.
Provided by category CPScroller(CPSynthesizedAccessors).
Definition at line 858 of file CPScroller.j.
|
implementation |
Return's the knob's proportion
Definition at line 245 of file CPScroller.j.
|
implementation |
Reimplemented from CPView.
Definition at line 514 of file CPScroller.j.
|
implementation |
Reimplemented from CPControl.
Definition at line 713 of file CPScroller.j.
|
implementation |
Reimplemented from CPControl.
Definition at line 733 of file CPScroller.j.
|
implementation |
Reimplemented from CPControl.
Definition at line 750 of file CPScroller.j.
|
implementation |
Reimplemented from CPView.
Definition at line 500 of file CPScroller.j.
|
implementation |
Definition at line 295 of file CPScroller.j.
|
implementation |
Returns the CPScroller's overlay value.
Definition at line 146 of file CPScroller.j.
|
implementation |
Definition at line 124 of file CPScroller.j.
|
implementation |
Returns the width of a CPScroller for the specified CPControlSize.
aControlSize | the size of a controller to return the width for |
Definition at line 158 of file CPScroller.j.
|
implementation |
Returns the CPScroller's width for a CPRegularControlSize.
Definition at line 132 of file CPScroller.j.
|
implementation |
Sets the position and proportion of the knob.
aValue | the knob position (ranges from 0.0 to 1.0) |
aProportion | the knob's proportion (ranges from 0.0 to 1.0) |
Provided by category CPScroller(Deprecated).
Definition at line 845 of file CPScroller.j.
|
implementation |
Sets the receiver's frame size. If aSize
is the same as the frame's current dimensions, this method simply returns. The method posts a CPViewFrameDidChangeNotification to the default notification center if the receiver is configured to do so.
aSize | the new size for the frame |
Reimplemented from CPView.
Definition at line 691 of file CPScroller.j.
|
implementation |
Set the knob's proportion
aProportion | the desired proportion |
Definition at line 254 of file CPScroller.j.
|
implementation |
Sets the receiver's object value.
Reimplemented from CPControl.
Definition at line 237 of file CPScroller.j.
|
implementation |
Set the scroller's control size
aStyle | the scroller style: CPScrollerStyleLegacy or CPScrollerStyleOverlay |
Definition at line 215 of file CPScroller.j.
|
implementation |
Returns the scroller's style
Definition at line 206 of file CPScroller.j.
|
implementation |
Returns the part of the scroller that would be hit by aPoint
.
aPoint | the simulated point hit |
Definition at line 308 of file CPScroller.j.
|
implementation |
Reimplemented from CPControl.
Definition at line 107 of file CPScroller.j.
|
implementation |
|
implementation |
Tracks the scroll button.
anEvent | the input event |
Definition at line 605 of file CPScroller.j.
|
implementation |
Returns all the parts of the scroller that are usable for displaying.
Definition at line 437 of file CPScroller.j.