#import <CPScrollView.h>
Class Methods | |
(CGSize) | + contentSizeForFrameSize:hasHorizontalScroller:hasVerticalScroller:borderType: |
(CPString) | + defaultThemeClass |
(CGSize) | + frameSizeForContentSize:hasHorizontalScroller:hasVerticalScroller:borderType: |
(int) | + globalScrollerStyle |
(void) | + initialize |
(void) | + setGlobalScrollerStyle: |
(CPDictionary) | + themeAttributes |
![]() | |
(Class) | + animatorClass |
(CAAnimation) | + defaultAnimationForKey: |
(CPMenu) | + defaultMenu |
(BOOL) | + isHighDPIDrawingEnabled |
(CPSet) | + keyPathsForValuesAffectingBounds |
(CPSet) | + keyPathsForValuesAffectingFrame |
(void) | + setHighDPIDrawingEnabled: |
Used to display views that are too large for the viewing area. the CPScrollView places scroll bars on the side of the view to allow the user to scroll and see the entire contents of the view.
Definition at line 2 of file CPScrollView.h.
|
implementation |
Returns YES
if the scroll view hides its scroll bars when not necessary.
Definition at line 601 of file CPScrollView.j.
|
implementation |
Do final init that can only be done when we are sure all subviews have been initialized.
Provided by category CPScrollView(CPCoding).
Definition at line 1577 of file CPScrollView.j.
|
implementation |
Returns the border type drawn around the view.
Definition at line 442 of file CPScrollView.j.
|
implementation |
Definition at line 622 of file CPScrollView.j.
|
implementation |
Returns the size of the scroll view's content view.
Definition at line 412 of file CPScrollView.j.
|
implementation |
Definition at line 163 of file CPScrollView.j.
|
implementation |
Returns the content view that clips the document.
Definition at line 377 of file CPScrollView.j.
|
implementation |
Definition at line 150 of file CPScrollView.j.
|
implementation |
The delegate of the scroll view
Definition at line 280 of file CPScrollView.j.
|
implementation |
Returns the view that is scrolled for the user.
Definition at line 420 of file CPScrollView.j.
|
implementation |
Definition at line 1261 of file CPScrollView.j.
|
implementation |
Draws the receiver into aRect
. This method should be overridden by subclasses.
aRect | the area that should be drawn into |
Reimplemented from CPView.
Definition at line 1300 of file CPScrollView.j.
|
implementation |
Archives the view to a coder.
aCoder | the object into which the view's data will be archived. |
Reimplemented from CPView.
Provided by category CPScrollView(CPCoding).
Definition at line 1585 of file CPScrollView.j.
|
implementation |
Momentarily display the scrollers if the scroller style is CPScrollerStyleOverlay.
Definition at line 1232 of file CPScrollView.j.
|
implementation |
Definition at line 177 of file CPScrollView.j.
|
implementation |
Get the system wide scroller style.
Definition at line 217 of file CPScrollView.j.
|
implementation |
Returns YES
if the scroll view can have a horizontal scroller.
Definition at line 504 of file CPScrollView.j.
|
implementation |
Returns YES
if the scroll view can have a vertical scroller.
Definition at line 568 of file CPScrollView.j.
|
implementation |
Returns how much the document moves horizontally when scrolled.
Definition at line 664 of file CPScrollView.j.
|
implementation |
Returns the horizontal page scroll amount.
Definition at line 719 of file CPScrollView.j.
|
implementation |
Returns the scroll view's horizontal scroller.
Definition at line 472 of file CPScrollView.j.
|
implementation |
Reimplemented from CPView.
Definition at line 137 of file CPScrollView.j.
|
implementation |
Initializes the view from an archive.
aCoder | the coder from which to initialize |
Reimplemented from CPView.
Provided by category CPScrollView(CPCoding).
Definition at line 1527 of file CPScrollView.j.
|
implementation |
Initializes the receiver for usage with the specified bounding rectangle
Reimplemented from CPView.
Definition at line 237 of file CPScrollView.j.
|
implementation |
Returns how much the document moves when scrolled.
Definition at line 645 of file CPScrollView.j.
|
implementation |
Definition at line 1493 of file CPScrollView.j.
|
implementation |
Definition at line 1488 of file CPScrollView.j.
|
implementation |
Definition at line 1473 of file CPScrollView.j.
|
implementation |
Definition at line 1478 of file CPScrollView.j.
|
implementation |
Definition at line 1483 of file CPScrollView.j.
|
implementation |
Returns the vertical and horizontal page scroll amount.
Definition at line 700 of file CPScrollView.j.
|
implementation |
Resizes the scroll view to contain the specified clip view.
aClipView | the clip view to resize to |
Reimplemented from CPView.
Definition at line 1084 of file CPScrollView.j.
|
implementation |
Initiates -superviewSizeChanged
: messages to subviews.
aSize | the size for the subviews |
Reimplemented from CPView.
Definition at line 1256 of file CPScrollView.j.
|
implementation |
Returns the style of the scroller knob, the bit which moves when scrolling, of the receiver.
Valid values are:
CPScrollerKnobStyleLight CPScrollerKnobStyleDark CPScrollerKnobStyleDefault
Definition at line 349 of file CPScrollView.j.
|
implementation |
Definition at line 318 of file CPScrollView.j.
|
implementation |
Definition at line 1451 of file CPScrollView.j.
|
implementation |
Definition at line 1445 of file CPScrollView.j.
|
implementation |
Definition at line 1457 of file CPScrollView.j.
|
implementation |
Definition at line 1463 of file CPScrollView.j.
|
implementation |
Handles a scroll wheel event from the user.
anEvent | the scroll wheel event |
Definition at line 1422 of file CPScrollView.j.
|
implementation |
Sets whether the scroll view hides its scroll bars when not needed.
autohidesScrollers | YES causes the scroll bars to be hidden when not needed. |
Definition at line 612 of file CPScrollView.j.
|
implementation |
Sets the type of border to be drawn around the view.
Valid types are:
CPNoBorder CPLineBorder CPBezelBorder CPGrooveBorder
Definition at line 457 of file CPScrollView.j.
|
implementation |
Definition at line 627 of file CPScrollView.j.
|
implementation |
Sets the content view that clips the document.
aContentView | the content view |
Definition at line 387 of file CPScrollView.j.
|
implementation |
Sets the delegate of the scroll view. Possible delegate methods to implement are listed below.
Notifies the delegate when the scroll view is about to scroll.
Notifies the delegate when the scroll view has finished scrolling.
Definition at line 300 of file CPScrollView.j.
|
implementation |
Sets the view that is scrolled for the user.
aView | the view that will be scrolled |
Definition at line 430 of file CPScrollView.j.
|
implementation |
Set the system wide scroller style.
aStyle | the scroller style to set all scroller views to use (CPScrollerStyleLegacy or CPScrollerStyleOverlay) |
Definition at line 227 of file CPScrollView.j.
|
implementation |
Specifies whether the scroll view can have a horizontal scroller.
hasHorizontalScroller | YES lets the scroll view allocate a horizontal scroller if necessary. |
Definition at line 515 of file CPScrollView.j.
|
implementation |
Specifies whether the scroll view can have a vertical scroller. It allocates it if necessary.
hasVerticalScroller | YES allows the scroll view to display a vertical scroller |
Definition at line 580 of file CPScrollView.j.
|
implementation |
Sets how much the document moves when scrolled horizontally.
aLineScroll | the amount to move horizontally when scrolled. |
Definition at line 674 of file CPScrollView.j.
|
implementation |
Sets the horizontal page scroll amount.
aPageScroll | the new horizontal page scroll amount |
Definition at line 729 of file CPScrollView.j.
|
implementation |
Sets the scroll view's horizontal scroller.
aScroller | the horizontal scroller for the scroll view |
Definition at line 482 of file CPScrollView.j.
|
implementation |
Sets how much the document moves when scrolled. Sets the vertical and horizontal scroll.
aLineScroll | the amount to move the document when scrolled |
Definition at line 655 of file CPScrollView.j.
|
implementation |
Sets the horizontal and vertical page scroll amount.
aPageScroll | the new horizontal and vertical page scroll amount |
Definition at line 710 of file CPScrollView.j.
|
implementation |
Sets the style of the scroller knob, the bit which moves when scrolling.
Valid values are:
CPScrollerKnobStyleLight CPScrollerKnobStyleDark CPScrollerKnobStyleDefault
Definition at line 364 of file CPScrollView.j.
|
implementation |
Set the scroller style.
Definition at line 329 of file CPScrollView.j.
|
implementation |
Sets how much the document moves when scrolled vertically.
aLineScroll | the new amount to move vertically when scrolled. |
Definition at line 692 of file CPScrollView.j.
|
implementation |
Sets the vertical page scroll amount.
aPageScroll | the new vertical page scroll amount |
Definition at line 747 of file CPScrollView.j.
|
implementation |
Sets the scroll view's vertical scroller.
aScroller | the vertical scroller |
Definition at line 546 of file CPScrollView.j.
|
implementation |
Definition at line 155 of file CPScrollView.j.
|
implementation |
Lays out the scroll view's components.
Definition at line 1071 of file CPScrollView.j.
|
implementation |
Returns how much the document moves vertically when scrolled.
Definition at line 682 of file CPScrollView.j.
|
implementation |
Returns the vertical page scroll amount.
Definition at line 737 of file CPScrollView.j.
|
implementation |
Returns the scroll view's vertical scroller.
Definition at line 536 of file CPScrollView.j.