![]() |
API
0.9.6
|
#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 |
(CPSet) | + keyPathsForValuesAffectingBounds |
(CPSet) | + keyPathsForValuesAffectingFrame |
![]() | |
(BOOL) | + accessInstanceVariablesDirectly |
(id) | + alloc |
(id) | + allocWithCoder: |
(BOOL) | + automaticallyNotifiesObserversForKey: |
(Class) | + class |
(void) | + exposeBinding: |
(IMP) | + instanceMethodForSelector: |
(BOOL) | + instancesRespondToSelector: |
(BOOL) | + isSubclassOfClass: |
(CPSet) | + keyPathsForValuesAffectingValueForKey: |
(void) | + load |
(id) | + new |
(void) | + setVersion: |
(Class) | + superclass |
(int) | + version |
Additional Inherited Members | |
![]() | |
Class | isa |
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 590 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 1522 of file CPScrollView.j.
|
implementation |
Returns the border type drawn around the view.
Definition at line 431 of file CPScrollView.j.
|
implementation |
Definition at line 611 of file CPScrollView.j.
|
implementation |
Returns the size of the scroll view's content view.
Definition at line 401 of file CPScrollView.j.
|
implementation |
Definition at line 147 of file CPScrollView.j.
|
implementation |
Returns the content view that clips the document.
Definition at line 366 of file CPScrollView.j.
|
implementation |
Reimplemented from CPView.
Definition at line 134 of file CPScrollView.j.
|
implementation |
The delegate of the scroll view
Definition at line 269 of file CPScrollView.j.
|
implementation |
Returns the view that is scrolled for the user.
Definition at line 409 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 1254 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 1528 of file CPScrollView.j.
|
implementation |
Momentarily display the scrollers if the scroller style is CPScrollerStyleOverlay.
Definition at line 1221 of file CPScrollView.j.
|
implementation |
Definition at line 161 of file CPScrollView.j.
|
implementation |
Get the system wide scroller style.
Definition at line 201 of file CPScrollView.j.
|
implementation |
Returns YES
if the scroll view can have a horizontal scroller.
Definition at line 493 of file CPScrollView.j.
|
implementation |
Returns YES
if the scroll view can have a vertical scroller.
Definition at line 557 of file CPScrollView.j.
|
implementation |
Returns how much the document moves horizontally when scrolled.
Definition at line 653 of file CPScrollView.j.
|
implementation |
Returns the horizontal page scroll amount.
Definition at line 708 of file CPScrollView.j.
|
implementation |
Returns the scroll view's horizontal scroller.
Definition at line 461 of file CPScrollView.j.
|
implementation |
Reimplemented from CPView.
Definition at line 121 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 1472 of file CPScrollView.j.
|
implementation |
Initializes the receiver for usage with the specified bounding rectangle
Reimplemented from CPView.
Definition at line 221 of file CPScrollView.j.
|
implementation |
Returns how much the document moves when scrolled.
Definition at line 634 of file CPScrollView.j.
|
implementation |
Definition at line 1438 of file CPScrollView.j.
|
implementation |
Definition at line 1433 of file CPScrollView.j.
|
implementation |
Definition at line 1418 of file CPScrollView.j.
|
implementation |
Definition at line 1423 of file CPScrollView.j.
|
implementation |
Definition at line 1428 of file CPScrollView.j.
|
implementation |
Returns the vertical and horizontal page scroll amount.
Definition at line 689 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 1073 of file CPScrollView.j.
|
implementation |
Initiates -superviewSizeChanged
: messages to subviews.
aSize | the size for the subviews |
Reimplemented from CPView.
Definition at line 1245 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 338 of file CPScrollView.j.
|
implementation |
Definition at line 307 of file CPScrollView.j.
|
implementation |
Definition at line 1396 of file CPScrollView.j.
|
implementation |
Definition at line 1390 of file CPScrollView.j.
|
implementation |
Definition at line 1402 of file CPScrollView.j.
|
implementation |
Definition at line 1408 of file CPScrollView.j.
|
implementation |
Handles a scroll wheel event from the user.
anEvent | the scroll wheel event |
Reimplemented from CPResponder.
Definition at line 1376 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 601 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 446 of file CPScrollView.j.
|
implementation |
Definition at line 616 of file CPScrollView.j.
|
implementation |
Sets the content view that clips the document.
aContentView | the content view |
Definition at line 376 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 289 of file CPScrollView.j.
|
implementation |
Sets the view that is scrolled for the user.
aView | the view that will be scrolled |
Definition at line 419 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 211 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 504 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 569 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 663 of file CPScrollView.j.
|
implementation |
Sets the horizontal page scroll amount.
aPageScroll | the new horizontal page scroll amount |
Definition at line 718 of file CPScrollView.j.
|
implementation |
Sets the scroll view's horizontal scroller.
aScroller | the horizontal scroller for the scroll view |
Definition at line 471 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 644 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 699 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 353 of file CPScrollView.j.
|
implementation |
Set the scroller style.
Definition at line 318 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 681 of file CPScrollView.j.
|
implementation |
Sets the vertical page scroll amount.
aPageScroll | the new vertical page scroll amount |
Definition at line 736 of file CPScrollView.j.
|
implementation |
Sets the scroll view's vertical scroller.
aScroller | the vertical scroller |
Definition at line 535 of file CPScrollView.j.
|
implementation |
Reimplemented from CPView.
Definition at line 139 of file CPScrollView.j.
|
implementation |
Lays out the scroll view's components.
Definition at line 1060 of file CPScrollView.j.
|
implementation |
Returns how much the document moves vertically when scrolled.
Definition at line 671 of file CPScrollView.j.
|
implementation |
Returns the vertical page scroll amount.
Definition at line 726 of file CPScrollView.j.
|
implementation |
Returns the scroll view's vertical scroller.
Definition at line 525 of file CPScrollView.j.