#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 |
![]() | |
(CPMenu) | + defaultMenu |
(BOOL) | + isHighDPIDrawingEnabled |
(CPSet) | + keyPathsForValuesAffectingBounds |
(CPSet) | + keyPathsForValuesAffectingFrame |
(void) | + setHighDPIDrawingEnabled: |
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 603 of file CPScrollView.j.
|
implementation |
Do final init that can only be done when we are sure all subviews have been initialized.
Reimplemented from CPObject.
Provided by category CPScrollView(CPCoding).
Definition at line 1579 of file CPScrollView.j.
|
implementation |
Returns the border type drawn around the view.
Definition at line 444 of file CPScrollView.j.
|
implementation |
Definition at line 624 of file CPScrollView.j.
|
implementation |
Returns the size of the scroll view's content view.
Definition at line 414 of file CPScrollView.j.
|
implementation |
Definition at line 165 of file CPScrollView.j.
|
implementation |
Returns the content view that clips the document.
Definition at line 379 of file CPScrollView.j.
|
implementation |
Reimplemented from CPView.
Definition at line 152 of file CPScrollView.j.
|
implementation |
The delegate of the scroll view
Definition at line 282 of file CPScrollView.j.
|
implementation |
Returns the view that is scrolled for the user.
Definition at line 422 of file CPScrollView.j.
|
implementation |
Definition at line 1263 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 1302 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 1234 of file CPScrollView.j.
|
implementation |
Definition at line 179 of file CPScrollView.j.
|
implementation |
Get the system wide scroller style.
Definition at line 219 of file CPScrollView.j.
|
implementation |
Returns YES
if the scroll view can have a horizontal scroller.
Definition at line 506 of file CPScrollView.j.
|
implementation |
Returns YES
if the scroll view can have a vertical scroller.
Definition at line 570 of file CPScrollView.j.
|
implementation |
Returns how much the document moves horizontally when scrolled.
Definition at line 666 of file CPScrollView.j.
|
implementation |
Returns the horizontal page scroll amount.
Definition at line 721 of file CPScrollView.j.
|
implementation |
Returns the scroll view's horizontal scroller.
Definition at line 474 of file CPScrollView.j.
|
implementation |
Reimplemented from CPView.
Definition at line 139 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 1529 of file CPScrollView.j.
|
implementation |
Initializes the receiver for usage with the specified bounding rectangle
Reimplemented from CPView.
Definition at line 239 of file CPScrollView.j.
|
implementation |
Returns how much the document moves when scrolled.
Definition at line 647 of file CPScrollView.j.
|
implementation |
Definition at line 1495 of file CPScrollView.j.
|
implementation |
Definition at line 1490 of file CPScrollView.j.
|
implementation |
Definition at line 1475 of file CPScrollView.j.
|
implementation |
Definition at line 1480 of file CPScrollView.j.
|
implementation |
Definition at line 1485 of file CPScrollView.j.
|
implementation |
Returns the vertical and horizontal page scroll amount.
Definition at line 702 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 1086 of file CPScrollView.j.
|
implementation |
Initiates -superviewSizeChanged
: messages to subviews.
aSize | the size for the subviews |
Reimplemented from CPView.
Definition at line 1258 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 351 of file CPScrollView.j.
|
implementation |
Definition at line 320 of file CPScrollView.j.
|
implementation |
Definition at line 1453 of file CPScrollView.j.
|
implementation |
Definition at line 1447 of file CPScrollView.j.
|
implementation |
Definition at line 1459 of file CPScrollView.j.
|
implementation |
Definition at line 1465 of file CPScrollView.j.
|
implementation |
Handles a scroll wheel event from the user.
anEvent | the scroll wheel event |
Reimplemented from CPResponder.
Definition at line 1424 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 614 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 459 of file CPScrollView.j.
|
implementation |
Definition at line 629 of file CPScrollView.j.
|
implementation |
Sets the content view that clips the document.
aContentView | the content view |
Definition at line 389 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 302 of file CPScrollView.j.
|
implementation |
Sets the view that is scrolled for the user.
aView | the view that will be scrolled |
Definition at line 432 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 229 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 517 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 582 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 676 of file CPScrollView.j.
|
implementation |
Sets the horizontal page scroll amount.
aPageScroll | the new horizontal page scroll amount |
Definition at line 731 of file CPScrollView.j.
|
implementation |
Sets the scroll view's horizontal scroller.
aScroller | the horizontal scroller for the scroll view |
Definition at line 484 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 657 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 712 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 366 of file CPScrollView.j.
|
implementation |
Set the scroller style.
Definition at line 331 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 694 of file CPScrollView.j.
|
implementation |
Sets the vertical page scroll amount.
aPageScroll | the new vertical page scroll amount |
Definition at line 749 of file CPScrollView.j.
|
implementation |
Sets the scroll view's vertical scroller.
aScroller | the vertical scroller |
Definition at line 548 of file CPScrollView.j.
|
implementation |
Reimplemented from CPView.
Definition at line 157 of file CPScrollView.j.
|
implementation |
Lays out the scroll view's components.
Definition at line 1073 of file CPScrollView.j.
|
implementation |
Returns how much the document moves vertically when scrolled.
Definition at line 684 of file CPScrollView.j.
|
implementation |
Returns the vertical page scroll amount.
Definition at line 739 of file CPScrollView.j.
|
implementation |
Returns the scroll view's vertical scroller.
Definition at line 538 of file CPScrollView.j.