Public Member Functions | |
(BOOL) | - autohidesScrollers [implementation] |
(CGRect) | - contentSize [implementation] |
(CPClipView) | - contentView [implementation] |
(id) | - documentView [implementation] |
(void) | - encodeWithCoder: [implementation] |
(BOOL) | - hasHorizontalScroller [implementation] |
(BOOL) | - hasVerticalScroller [implementation] |
(float) | - horizontalLineScroll [implementation] |
(float) | - horizontalPageScroll [implementation] |
(CPScroller) | - horizontalScroller [implementation] |
(id) | - initWithCoder: [implementation] |
(id) | - initWithFrame: [implementation] |
(void) | - keyDown: [implementation] |
(float) | - lineScroll [implementation] |
(void) | - moveByOffset: [implementation] |
(void) | - moveDown: [implementation] |
(void) | - moveLeft: [implementation] |
(void) | - moveRight: [implementation] |
(void) | - moveUp: [implementation] |
(void) | - pageDown: [implementation] |
(float) | - pageScroll [implementation] |
(void) | - pageUp: [implementation] |
(void) | - reflectScrolledClipView: [implementation] |
(void) | - resizeSubviewsWithOldSize: [implementation] |
(void) | - scrollWheel: [implementation] |
(void) | - setAutohidesScrollers: [implementation] |
(void) | - setContentView: [implementation] |
(void) | - setDocumentView: [implementation] |
(void) | - setHasHorizontalScroller: [implementation] |
(void) | - setHasVerticalScroller: [implementation] |
(void) | - setHorizontalLineScroll: [implementation] |
(void) | - setHorizontalPageScroll: [implementation] |
(void) | - setHorizontalScroller: [implementation] |
(void) | - setLineScroll: [implementation] |
(void) | - setPageScroll: [implementation] |
(void) | - setVerticalLineScroll: [implementation] |
(void) | - setVerticalPageScroll: [implementation] |
(void) | - setVerticalScroller: [implementation] |
(void) | - tile [implementation] |
(float) | - verticalLineScroll [implementation] |
(float) | - verticalPageScroll [implementation] |
(CPScroller) | - verticalScroller [implementation] |
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 38 of file CPScrollView.j.
- (BOOL) autohidesScrollers | [implementation] |
Returns YES
if the scroll view hides its scroll bars when not necessary.
Definition at line 414 of file CPScrollView.j.
- (CGRect) contentSize | [implementation] |
Returns the size of the scroll view's content view.
Definition at line 90 of file CPScrollView.j.
- (CPClipView) contentView | [implementation] |
Returns the content view that clips the document.
Definition at line 132 of file CPScrollView.j.
- (id) documentView | [implementation] |
Returns the view that is scrolled for the user.
Definition at line 98 of file CPScrollView.j.
- (void) encodeWithCoder: | (CPCoder) | aCoder | [implementation] |
Definition at line 779 of file CPScrollView.j.
- (BOOL) hasHorizontalScroller | [implementation] |
Returns YES
if the scroll view can have a horizontal scroller.
Definition at line 329 of file CPScrollView.j.
- (BOOL) hasVerticalScroller | [implementation] |
Returns YES
if the scroll view can have a vertical scroller.
Definition at line 390 of file CPScrollView.j.
- (float) horizontalLineScroll | [implementation] |
Returns how much the document moves horizontally when scrolled.
Definition at line 593 of file CPScrollView.j.
- (float) horizontalPageScroll | [implementation] |
Returns the horizontal page scroll amount.
Definition at line 645 of file CPScrollView.j.
- (CPScroller) horizontalScroller | [implementation] |
Returns the scroll view's horizontal scroller
Definition at line 300 of file CPScrollView.j.
- (id) initWithCoder: | (CPCoder) | aCoder | [implementation] |
Definition at line 750 of file CPScrollView.j.
- (id) initWithFrame: | (CGRect) | aFrame | [implementation] |
Definition at line 59 of file CPScrollView.j.
- (void) keyDown: | (CPEvent) | anEvent | [implementation] |
Definition at line 684 of file CPScrollView.j.
- (float) lineScroll | [implementation] |
Returns how much the document moves when scrolled
Definition at line 576 of file CPScrollView.j.
- (void) moveByOffset: | (CGSize) | aSize | [implementation] |
Definition at line 721 of file CPScrollView.j.
- (void) moveDown: | (id) | sender | [implementation] |
Definition at line 716 of file CPScrollView.j.
- (void) moveLeft: | (id) | sender | [implementation] |
Definition at line 701 of file CPScrollView.j.
- (void) moveRight: | (id) | sender | [implementation] |
Definition at line 706 of file CPScrollView.j.
- (void) moveUp: | (id) | sender | [implementation] |
Definition at line 711 of file CPScrollView.j.
- (void) pageDown: | (id) | sender | [implementation] |
Definition at line 695 of file CPScrollView.j.
- (float) pageScroll | [implementation] |
Returns the vertical and horizontal page scroll amount.
Definition at line 628 of file CPScrollView.j.
- (void) pageUp: | (id) | sender | [implementation] |
Definition at line 689 of file CPScrollView.j.
- (void) reflectScrolledClipView: | (CPClipView) | aClipView | [implementation] |
Resizes the scroll view to contain the specified clip view.
aClipView | the clip view to resize to |
Definition at line 154 of file CPScrollView.j.
- (void) resizeSubviewsWithOldSize: | (CGSize) | aSize | [implementation] |
Definition at line 557 of file CPScrollView.j.
- (void) scrollWheel: | (CPEvent) | anEvent | [implementation] |
Handles a scroll wheel event from the user.
anEvent | the scroll wheel event |
Definition at line 671 of file CPScrollView.j.
- (void) setAutohidesScrollers: | (BOOL) | autohidesScrollers | [implementation] |
Sets whether the scroll view hides its scoll bars when not needed.
autohidesScrollers | YES causes the scroll bars to be hidden when not needed. |
Definition at line 400 of file CPScrollView.j.
- (void) setContentView: | (CPClipView) | aContentView | [implementation] |
Sets the content view that clips the document
aContentView | the content view |
Definition at line 107 of file CPScrollView.j.
- (void) setDocumentView: | (CPView) | aView | [implementation] |
Sets the view that is scrolled for the user.
aView | the view that will be scrolled |
Definition at line 141 of file CPScrollView.j.
- (void) setHasHorizontalScroller: | (BOOL) | shouldHaveHorizontalScroller | [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 310 of file CPScrollView.j.
- (void) setHasVerticalScroller: | (BOOL) | shouldHaveVerticalScroller | [implementation] |
Specifies whether the scroll view has can have a vertical scroller. It allocates it if necessary.
hasVerticalScroller | YES allows the scroll view to display a vertical scroller |
Definition at line 371 of file CPScrollView.j.
- (void) setHorizontalLineScroll: | (float) | aLineScroll | [implementation] |
Sets how much the document moves when scrolled horizontally.
aLineScroll | the amount to move horizontally when scrolled. |
Definition at line 585 of file CPScrollView.j.
- (void) setHorizontalPageScroll: | (float) | aPageScroll | [implementation] |
Sets the horizontal page scroll amount.
aPageScroll | the new horizontal page scroll amount |
Definition at line 637 of file CPScrollView.j.
- (void) setHorizontalScroller: | (CPScroller) | aScroller | [implementation] |
Sets the scroll view's horizontal scroller.
aScroller | the horizontal scroller for the scroll view |
Definition at line 278 of file CPScrollView.j.
- (void) setLineScroll: | (float) | aLineScroll | [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 567 of file CPScrollView.j.
- (void) setPageScroll: | (float) | aPageScroll | [implementation] |
Sets the horizontal and vertical page scroll amount.
aPageScroll | the new horizontal and vertical page scroll amount |
Definition at line 619 of file CPScrollView.j.
- (void) setVerticalLineScroll: | (float) | aLineScroll | [implementation] |
Sets how much the document moves when scrolled vertically.
aLineScroll | the new amount to move vertically when scrolled. |
Definition at line 602 of file CPScrollView.j.
- (void) setVerticalPageScroll: | (float) | aPageScroll | [implementation] |
Sets the vertical page scroll amount.
aPageScroll | the new vertcal page scroll amount |
Definition at line 654 of file CPScrollView.j.
- (void) setVerticalScroller: | (CPScroller) | aScroller | [implementation] |
Sets the scroll view's vertical scroller.
aScroller | the vertical scroller |
Definition at line 338 of file CPScrollView.j.
- (void) tile | [implementation] |
Lays out the scroll view's components.
Definition at line 546 of file CPScrollView.j.
- (float) verticalLineScroll | [implementation] |
Returns how much the document moves vertically when scrolled.
Definition at line 610 of file CPScrollView.j.
- (float) verticalPageScroll | [implementation] |
Returns the vertical page scroll amount.
Definition at line 662 of file CPScrollView.j.
- (CPScroller) verticalScroller | [implementation] |
Return's the scroll view's vertical scroller
Definition at line 360 of file CPScrollView.j.