![]() |
API
0.9.7
|
#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 |
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 600 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 1532 of file CPScrollView.j.
|
implementation |
Returns the border type drawn around the view.
Definition at line 441 of file CPScrollView.j.
|
implementation |
Definition at line 621 of file CPScrollView.j.
|
implementation |
Returns the size of the scroll view's content view.
Definition at line 411 of file CPScrollView.j.
|
implementation |
Definition at line 157 of file CPScrollView.j.
|
implementation |
Returns the content view that clips the document.
Definition at line 376 of file CPScrollView.j.
|
implementation |
Definition at line 144 of file CPScrollView.j.
|
implementation |
The delegate of the scroll view
Definition at line 279 of file CPScrollView.j.
|
implementation |
Returns the view that is scrolled for the user.
Definition at line 419 of file CPScrollView.j.
|
implementation |
Definition at line 1264 of file CPScrollView.j.
|
implementation |
Provided by category CPScrollView(CPCoding).
Definition at line 1538 of file CPScrollView.j.
|
implementation |
Momentarily display the scrollers if the scroller style is CPScrollerStyleOverlay.
Definition at line 1231 of file CPScrollView.j.
|
implementation |
Definition at line 171 of file CPScrollView.j.
|
implementation |
Get the system wide scroller style.
Definition at line 211 of file CPScrollView.j.
|
implementation |
Returns YES
if the scroll view can have a horizontal scroller.
Definition at line 503 of file CPScrollView.j.
|
implementation |
Returns YES
if the scroll view can have a vertical scroller.
Definition at line 567 of file CPScrollView.j.
|
implementation |
Returns how much the document moves horizontally when scrolled.
Definition at line 663 of file CPScrollView.j.
|
implementation |
Returns the horizontal page scroll amount.
Definition at line 718 of file CPScrollView.j.
|
implementation |
Returns the scroll view's horizontal scroller.
Definition at line 471 of file CPScrollView.j.
|
implementation |
Definition at line 131 of file CPScrollView.j.
|
implementation |
Provided by category CPScrollView(CPCoding).
Definition at line 1482 of file CPScrollView.j.
|
implementation |
Definition at line 231 of file CPScrollView.j.
|
implementation |
Returns how much the document moves when scrolled.
Definition at line 644 of file CPScrollView.j.
|
implementation |
Definition at line 1448 of file CPScrollView.j.
|
implementation |
Definition at line 1443 of file CPScrollView.j.
|
implementation |
Definition at line 1428 of file CPScrollView.j.
|
implementation |
Definition at line 1433 of file CPScrollView.j.
|
implementation |
Definition at line 1438 of file CPScrollView.j.
|
implementation |
Returns the vertical and horizontal page scroll amount.
Definition at line 699 of file CPScrollView.j.
|
implementation |
Resizes the scroll view to contain the specified clip view.
aClipView | the clip view to resize to |
Definition at line 1083 of file CPScrollView.j.
|
implementation |
Definition at line 1255 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 348 of file CPScrollView.j.
|
implementation |
Definition at line 317 of file CPScrollView.j.
|
implementation |
Definition at line 1406 of file CPScrollView.j.
|
implementation |
Definition at line 1400 of file CPScrollView.j.
|
implementation |
Definition at line 1412 of file CPScrollView.j.
|
implementation |
Definition at line 1418 of file CPScrollView.j.
|
implementation |
Handles a scroll wheel event from the user.
anEvent | the scroll wheel event |
Definition at line 1386 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 611 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 456 of file CPScrollView.j.
|
implementation |
Definition at line 626 of file CPScrollView.j.
|
implementation |
Sets the content view that clips the document.
aContentView | the content view |
Definition at line 386 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 299 of file CPScrollView.j.
|
implementation |
Sets the view that is scrolled for the user.
aView | the view that will be scrolled |
Definition at line 429 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 221 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 514 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 579 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 673 of file CPScrollView.j.
|
implementation |
Sets the horizontal page scroll amount.
aPageScroll | the new horizontal page scroll amount |
Definition at line 728 of file CPScrollView.j.
|
implementation |
Sets the scroll view's horizontal scroller.
aScroller | the horizontal scroller for the scroll view |
Definition at line 481 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 654 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 709 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 363 of file CPScrollView.j.
|
implementation |
Set the scroller style.
Definition at line 328 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 691 of file CPScrollView.j.
|
implementation |
Sets the vertical page scroll amount.
aPageScroll | the new vertical page scroll amount |
Definition at line 746 of file CPScrollView.j.
|
implementation |
Sets the scroll view's vertical scroller.
aScroller | the vertical scroller |
Definition at line 545 of file CPScrollView.j.
|
implementation |
Definition at line 149 of file CPScrollView.j.
|
implementation |
Lays out the scroll view's components.
Definition at line 1070 of file CPScrollView.j.
|
implementation |
Returns how much the document moves vertically when scrolled.
Definition at line 681 of file CPScrollView.j.
|
implementation |
Returns the vertical page scroll amount.
Definition at line 736 of file CPScrollView.j.
|
implementation |
Returns the scroll view's vertical scroller.
Definition at line 535 of file CPScrollView.j.