![]() |
API
0.9.6
|
#import <CPScroller.h>
Inheritance diagram for CPScroller:Class Methods | |
| (CPString) | + defaultThemeClass |
| (float) | + scrollerOverlay |
| (float) | + scrollerWidth |
| (float) | + scrollerWidthForControlSize: |
| (float) | + scrollerWidthInStyle: |
| (id) | + themeAttributes |
Class Methods inherited from CPControl | |
| (void) | + initialize |
Class Methods inherited from CPView | |
| (CPMenu) | + defaultMenu |
| (CPSet) | + keyPathsForValuesAffectingBounds |
| (CPSet) | + keyPathsForValuesAffectingFrame |
Class Methods inherited from CPObject | |
| (BOOL) | + accessInstanceVariablesDirectly |
| (id) | + alloc |
| (id) | + allocWithCoder: |
| (BOOL) | + automaticallyNotifiesObserversForKey: |
| (Class) | + class |
| (void) | + exposeBinding: |
| (IMP) | + instanceMethodForSelector: |
| (BOOL) | + instancesRespondToSelector: |
| (BOOL) | + isSubclassOfClass: |
| (CPSet) | + keyPathsForValuesAffectingValueForKey: |
| (void) | + load |
| (id) | + new |
| (void) | + setVersion: |
| (Class) | + superclass |
| (int) | + version |
Additional Inherited Members | |
Instance Variables inherited from CPObject | |
| Class | isa |
Definition at line 2 of file CPScroller.h.
|
implementation |
Synthesized accessor method.
Provided by category CPScroller(CPSynthesizedAccessors).
Definition at line 870 of file CPScroller.j.
|
implementation |
Definition at line 781 of file CPScroller.j.
|
implementation |
Check if there's enough space in the scroller to display the knob
Definition at line 350 of file CPScroller.j.
|
implementation |
Returns the scroller's control size
Definition at line 230 of file CPScroller.j.
Reimplemented from CPView.
Definition at line 514 of file CPScroller.j.
|
implementation |
Definition at line 500 of file CPScroller.j.
|
implementation |
Reimplemented from CPView.
Definition at line 716 of file CPScroller.j.
|
implementation |
Reimplemented from CPView.
Definition at line 98 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 482 of file CPScroller.j.
|
implementation |
Draws the knob
Definition at line 489 of file CPScroller.j.
|
implementation |
Draws the knob's slot
Definition at line 496 of file CPScroller.j.
|
implementation |
Caches images for the scroll arrow and knob.
Definition at line 548 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 831 of file CPScroller.j.
|
implementation |
Display the scroller
Definition at line 451 of file CPScroller.j.
|
implementation |
Start the fade out anination
Definition at line 465 of file CPScroller.j.
|
implementation |
Returns the part of the scroller that was hit.
Definition at line 560 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 794 of file CPScroller.j.
|
implementation |
Initializes the receiver for usage with the specified bounding rectangle
Reimplemented from CPControl.
Definition at line 158 of file CPScroller.j.
|
implementation |
Synthesized accessor method.
Provided by category CPScroller(CPSynthesizedAccessors).
Definition at line 862 of file CPScroller.j.
|
implementation |
Return's the knob's proportion
Definition at line 253 of file CPScroller.j.
|
implementation |
Reimplemented from CPView.
Definition at line 523 of file CPScroller.j.
|
implementation |
Notifies the receiver that the user has clicked the mouse down in its area.
| anEvent | contains information about the click |
Reimplemented from CPControl.
Definition at line 726 of file CPScroller.j.
|
implementation |
Reimplemented from CPControl.
Definition at line 744 of file CPScroller.j.
|
implementation |
Notifies the receiver that the mouse exited the receiver's area.
| anEvent | contains information about the exit |
Reimplemented from CPControl.
Definition at line 761 of file CPScroller.j.
|
implementation |
Reimplemented from CPView.
Definition at line 509 of file CPScroller.j.
|
implementation |
Definition at line 303 of file CPScroller.j.
|
implementation |
Returns the CPScroller's overlay value.
Definition at line 140 of file CPScroller.j.
|
implementation |
Definition at line 120 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 149 of file CPScroller.j.
|
implementation |
Returns the CPScroller's width for a CPRegularControlSize.
Definition at line 128 of file CPScroller.j.
|
implementation |
Sets the scroller's size.
| aControlSize | the scroller's size |
Definition at line 239 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 849 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 704 of file CPScroller.j.
|
implementation |
Set the knob's proportion
| aProportion | the desired proportion |
Definition at line 262 of file CPScroller.j.
|
implementation |
Sets the receiver's object value.
Reimplemented from CPControl.
Definition at line 222 of file CPScroller.j.
|
implementation |
Set the scroller's control size
| aStyle | the scroller style: CPScrollerStyleLegacy or CPScrollerStyleOverlay |
Definition at line 201 of file CPScroller.j.
|
implementation |
Returns the scroller's style
Definition at line 192 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 316 of file CPScroller.j.
|
implementation |
Reimplemented from CPControl.
Definition at line 103 of file CPScroller.j.
|
implementation |
|
implementation |
Tracks the scroll button.
| anEvent | the input event |
Definition at line 613 of file CPScroller.j.
|
implementation |
Returns all the parts of the scroller that are usable for displaying.
Definition at line 443 of file CPScroller.j.