CPClipView Class Reference
[AppKit]

List of all members.

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]

Detailed Description

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.


Member Function Documentation

- (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.

Parameters:
aPoint 
Returns:
the adjusted point

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.

Parameters:
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.

Parameters:
aNotification the notification event

Definition at line 146 of file CPClipView.j.

- (void) viewFrameChanged: (CPNotification aNotification   [implementation]

Handles a CPViewFrameDidChangeNotification.

Parameters:
aNotification the notification event

Definition at line 155 of file CPClipView.j.


The documentation for this class was generated from the following file:

Generated on Fri Apr 9 11:04:20 2010 for Cappuccino API by  doxygen 1.6.1