Public Member Functions | |
(void) | - setDocumentView: [implementation] |
(id) | - documentView [implementation] |
(CGPoint) | - constrainScrollPoint: [implementation] |
(void) | - setBoundsOrigin: [implementation] |
(void) | - scrollToPoint: [implementation] |
(void) | - viewBoundsChanged: [implementation] |
(void) | - viewFrameChanged: [implementation] |
Definition at line 33 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 104 of file CPClipView.j.
- (id) documentView | [implementation] |
Returns the document view.
Definition at line 93 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 131 of file CPClipView.j.
- (void) setBoundsOrigin: | (CGPoint) | aPoint | [implementation] |
Definition at line 114 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 42 of file CPClipView.j.
- (void) viewBoundsChanged: | (CPNotification) | aNotification | [implementation] |
Handles a CPViewBoundsDidChangeNotification.
aNotification | the notification event |
Definition at line 140 of file CPClipView.j.
- (void) viewFrameChanged: | (CPNotification) | aNotification | [implementation] |
Handles a CPViewFrameDidChangeNotification.
aNotification | the notification event |
Definition at line 149 of file CPClipView.j.