Public Member Functions | |
(id) | - initWithFrame: [implementation] |
(CGRect) | - contentSize [implementation] |
(id) | - documentView [implementation] |
(void) | - setContentView: [implementation] |
(CPClipView) | - contentView [implementation] |
(void) | - setDocumentView: [implementation] |
(void) | - reflectScrolledClipView: [implementation] |
(void) | - setHorizontalScroller: [implementation] |
(CPScroller) | - horizontalScroller [implementation] |
(void) | - setHasHorizontalScroller: [implementation] |
(BOOL) | - hasHorizontalScroller [implementation] |
(void) | - setVerticalScroller: [implementation] |
(CPScroller) | - verticalScroller [implementation] |
(void) | - setHasVerticalScroller: [implementation] |
(BOOL) | - hasVerticalScroller [implementation] |
(void) | - setAutohidesScrollers: [implementation] |
(BOOL) | - autohidesScrollers [implementation] |
(void) | - tile [implementation] |
(void) | - resizeSubviewsWithOldSize: [implementation] |
(void) | - setLineScroll: [implementation] |
(float) | - lineScroll [implementation] |
(void) | - setHorizontalLineScroll: [implementation] |
(float) | - horizontalLineScroll [implementation] |
(void) | - setVerticalLineScroll: [implementation] |
(float) | - verticalLineScroll [implementation] |
(void) | - setPageScroll: [implementation] |
(float) | - pageScroll [implementation] |
(void) | - setHorizontalPageScroll: [implementation] |
(float) | - horizontalPageScroll [implementation] |
(void) | - setVerticalPageScroll: [implementation] |
(float) | - verticalPageScroll [implementation] |
(void) | - scrollWheel: [implementation] |
(void) | - keyDown: [implementation] |
(id) | - initWithCoder: [implementation] |
(void) | - encodeWithCoder: [implementation] |
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 383 of file CPScrollView.j.
- (CGRect) contentSize | [implementation] |
Returns the size of the scroll view's content view.
Definition at line 84 of file CPScrollView.j.
- (CPClipView) contentView | [implementation] |
Returns the content view that clips the document.
Definition at line 126 of file CPScrollView.j.
- (id) documentView | [implementation] |
Returns the view that is scrolled for the user.
Definition at line 92 of file CPScrollView.j.
- (void) encodeWithCoder: | (CPCoder) | aCoder | [implementation] |
Definition at line 673 of file CPScrollView.j.
- (BOOL) hasHorizontalScroller | [implementation] |
Returns YES
if the scroll view can have a horizontal scroller.
Definition at line 296 of file CPScrollView.j.
- (BOOL) hasVerticalScroller | [implementation] |
Returns YES
if the scroll view can have a vertical scroller.
Definition at line 359 of file CPScrollView.j.
- (float) horizontalLineScroll | [implementation] |
Returns how much the document moves horizontally when scrolled.
Definition at line 503 of file CPScrollView.j.
- (float) horizontalPageScroll | [implementation] |
Returns the horizontal page scroll amount.
Definition at line 555 of file CPScrollView.j.
- (CPScroller) horizontalScroller | [implementation] |
Returns the scroll view's horizontal scroller
Definition at line 265 of file CPScrollView.j.
- (id) initWithCoder: | (CPCoder) | aCoder | [implementation] |
Definition at line 647 of file CPScrollView.j.
- (id) initWithFrame: | (CGRect) | aFrame | [implementation] |
Definition at line 57 of file CPScrollView.j.
- (void) keyDown: | (CPEvent) | anEvent | [implementation] |
Definition at line 593 of file CPScrollView.j.
- (float) lineScroll | [implementation] |
Returns how much the document moves when scrolled
Definition at line 486 of file CPScrollView.j.
- (float) pageScroll | [implementation] |
Returns the vertical and horizontal page scroll amount.
Definition at line 538 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 145 of file CPScrollView.j.
- (void) resizeSubviewsWithOldSize: | (CGSize) | aSize | [implementation] |
Definition at line 467 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 581 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 369 of file CPScrollView.j.
- (void) setContentView: | (CPClipView) | aContentView | [implementation] |
Sets the content view that clips the document
aContentView | the content view |
Definition at line 101 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 135 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 275 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 338 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 495 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 547 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 243 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 477 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 529 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 512 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 564 of file CPScrollView.j.
- (void) setVerticalScroller: | (CPScroller) | aScroller | [implementation] |
Sets the scroll view's vertical scroller.
aScroller | the vertical scroller |
Definition at line 305 of file CPScrollView.j.
- (void) tile | [implementation] |
Lays out the scroll view's components.
Definition at line 456 of file CPScrollView.j.
- (float) verticalLineScroll | [implementation] |
Returns how much the document moves vertically when scrolled.
Definition at line 520 of file CPScrollView.j.
- (float) verticalPageScroll | [implementation] |
Returns the vertical page scroll amount.
Definition at line 572 of file CPScrollView.j.
- (CPScroller) verticalScroller | [implementation] |
Return's the scroll view's vertical scroller
Definition at line 327 of file CPScrollView.j.