Public Member Functions | |
(BOOL) | - autoscroll: [implementation] |
(CGPoint) | - constrainScrollPoint: [implementation] |
(id) | - documentView [implementation] |
(void) | - encodeWithCoder: [implementation] |
(id) | - initWithCoder: [implementation] |
(void) | - resizeSubviewsWithOldSize: [implementation] |
(void) | - scrollToPoint: [implementation] |
(void) | - setBoundsOrigin: [implementation] |
(void) | - setDocumentView: [implementation] |
(void) | - viewBoundsChanged: [implementation] |
(void) | - viewFrameChanged: [implementation] |
CPClipView allows you to define a clip rect and display only that portion of its containing view. It is used to hold the document view in a CPScrollView.
Definition at line 35 of file CPClipView.j.
- (BOOL) autoscroll: | (CPEvent) | anEvent | [implementation] |
Definition at line 190 of file CPClipView.j.
- (CGPoint) constrainScrollPoint: | (CGPoint) | aPoint | [implementation] |
Returns a new point that may be adjusted from aPoint
to make sure it lies within the document view.
aPoint |
Definition at line 103 of file CPClipView.j.
- (id) documentView | [implementation] |
Returns the document view.
Definition at line 92 of file CPClipView.j.
- (void) encodeWithCoder: | (CPCoder) | aCoder | [implementation] |
Definition at line 221 of file CPClipView.j.
- (id) initWithCoder: | (CPCoder) | aCoder | [implementation] |
Definition at line 213 of file CPClipView.j.
- (void) resizeSubviewsWithOldSize: | (CGSize) | aSize | [implementation] |
Definition at line 160 of file CPClipView.j.
- (void) scrollToPoint: | (CGPoint) | aPoint | [implementation] |
Scrolls the clip view to the specified point. The method sets its bounds origin to aPoint
.
Definition at line 137 of file CPClipView.j.
- (void) setBoundsOrigin: | (CGPoint) | aPoint | [implementation] |
Definition at line 116 of file CPClipView.j.
- (void) setDocumentView: | (CPView) | aView | [implementation] |
Sets the document view to be aView
.
aView | the new document view. It's frame origin will be changed to (0,0) after calling this method. |
Definition at line 44 of file CPClipView.j.
- (void) viewBoundsChanged: | (CPNotification) | aNotification | [implementation] |
Handles a CPViewBoundsDidChangeNotification.
aNotification | the notification event |
Definition at line 146 of file CPClipView.j.
- (void) viewFrameChanged: | (CPNotification) | aNotification | [implementation] |
Handles a CPViewFrameDidChangeNotification.
aNotification | the notification event |
Definition at line 155 of file CPClipView.j.