#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 Methods inherited from CPView | |
(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 599 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 1620 of file CPScrollView.j.
|
implementation |
Returns the border type drawn around the view.
Definition at line 440 of file CPScrollView.j.
|
implementation |
Definition at line 620 of file CPScrollView.j.
|
implementation |
Returns the size of the scroll view's content view.
Definition at line 410 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 375 of file CPScrollView.j.
|
implementation |
Reimplemented from CPView.
Definition at line 150 of file CPScrollView.j.
|
implementation |
The delegate of the scroll view
Definition at line 278 of file CPScrollView.j.
|
implementation |
Returns the view that is scrolled for the user.
Definition at line 418 of file CPScrollView.j.
|
implementation |
Definition at line 1259 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 1298 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 1628 of file CPScrollView.j.
|
implementation |
Momentarily display the scrollers if the scroller style is CPScrollerStyleOverlay.
Definition at line 1230 of file CPScrollView.j.
|
implementation |
Definition at line 176 of file CPScrollView.j.
|
implementation |
Get the system wide scroller style.
Definition at line 215 of file CPScrollView.j.
|
implementation |
Returns YES
if the scroll view can have a horizontal scroller.
Definition at line 502 of file CPScrollView.j.
|
implementation |
Returns YES
if the scroll view can have a vertical scroller.
Definition at line 566 of file CPScrollView.j.
|
implementation |
Returns how much the document moves horizontally when scrolled.
Definition at line 662 of file CPScrollView.j.
|
implementation |
Returns the horizontal page scroll amount.
Definition at line 717 of file CPScrollView.j.
|
implementation |
Returns the scroll view's horizontal scroller.
Definition at line 470 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 1570 of file CPScrollView.j.
|
implementation |
Initializes the receiver for usage with the specified bounding rectangle
Reimplemented from CPView.
Definition at line 235 of file CPScrollView.j.
|
implementation |
Returns how much the document moves when scrolled.
Definition at line 643 of file CPScrollView.j.
|
implementation |
Definition at line 1491 of file CPScrollView.j.
|
implementation |
Definition at line 1486 of file CPScrollView.j.
|
implementation |
Definition at line 1471 of file CPScrollView.j.
|
implementation |
Definition at line 1476 of file CPScrollView.j.
|
implementation |
Definition at line 1481 of file CPScrollView.j.
|
implementation |
Returns the vertical and horizontal page scroll amount.
Definition at line 698 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 1082 of file CPScrollView.j.
|
implementation |
Initiates -superviewSizeChanged
: messages to subviews.
aSize | the size for the subviews |
Reimplemented from CPView.
Definition at line 1254 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 347 of file CPScrollView.j.
|
implementation |
Definition at line 316 of file CPScrollView.j.
|
implementation |
Definition at line 1449 of file CPScrollView.j.
|
implementation |
Definition at line 1443 of file CPScrollView.j.
|
implementation |
Definition at line 1455 of file CPScrollView.j.
|
implementation |
Definition at line 1461 of file CPScrollView.j.
|
implementation |
Handles a scroll wheel event from the user.
anEvent | the scroll wheel event |
Definition at line 1420 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 610 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 455 of file CPScrollView.j.
|
implementation |
Definition at line 625 of file CPScrollView.j.
|
implementation |
Sets the content view that clips the document.
aContentView | the content view |
Definition at line 385 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 298 of file CPScrollView.j.
|
implementation |
Sets the view that is scrolled for the user.
aView | the view that will be scrolled |
Definition at line 428 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 225 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 513 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 578 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 672 of file CPScrollView.j.
|
implementation |
Sets the horizontal page scroll amount.
aPageScroll | the new horizontal page scroll amount |
Definition at line 727 of file CPScrollView.j.
|
implementation |
Sets the scroll view's horizontal scroller.
aScroller | the horizontal scroller for the scroll view |
Definition at line 480 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 653 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 708 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 362 of file CPScrollView.j.
|
implementation |
Set the scroller style.
Definition at line 327 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 690 of file CPScrollView.j.
|
implementation |
Sets the vertical page scroll amount.
aPageScroll | the new vertical page scroll amount |
Definition at line 745 of file CPScrollView.j.
|
implementation |
Sets the scroll view's vertical scroller.
aScroller | the vertical scroller |
Definition at line 544 of file CPScrollView.j.
|
implementation |
Reimplemented from CPView.
Definition at line 155 of file CPScrollView.j.
|
implementation |
Lays out the scroll view's components.
Definition at line 1069 of file CPScrollView.j.
|
implementation |
Returns how much the document moves vertically when scrolled.
Definition at line 680 of file CPScrollView.j.
|
implementation |
Returns the vertical page scroll amount.
Definition at line 735 of file CPScrollView.j.
|
implementation |
Returns the scroll view's vertical scroller.
Definition at line 534 of file CPScrollView.j.
|
implementation |
Called when the receiver is about to be moved to a new window.
aWindow | the window to which the receiver will be moved. |
Reimplemented from CPView.
Provided by category CPScrollView(FirstResponder).
Definition at line 1511 of file CPScrollView.j.