#import <CPClipView.h>
Additional Inherited Members | |
Class Methods inherited from CPView | |
(Class) | + animatorClass |
(CAAnimation) | + defaultAnimationForKey: |
(CPMenu) | + defaultMenu |
(CPString) | + defaultThemeClass |
(void) | + initialize |
(BOOL) | + isHighDPIDrawingEnabled |
(CPSet) | + keyPathsForValuesAffectingBounds |
(CPSet) | + keyPathsForValuesAffectingFrame |
(void) | + setHighDPIDrawingEnabled: |
(CPDictionary) | + themeAttributes |
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 2 of file CPClipView.h.
|
implementation |
Scrolls the view’s CPClipView in the direction of a mouse event that occurs outside of it.
Reimplemented from CPView.
Definition at line 155 of file CPClipView.j.
|
implementation |
Returns a new point that may be adjusted from aPoint
to make sure it lies within the document view.
aPoint |
Definition at line 68 of file CPClipView.j.
|
implementation |
Returns the document view.
Definition at line 57 of file CPClipView.j.
|
implementation |
Definition at line 193 of file CPClipView.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 CPClipView(CPCoding).
Definition at line 217 of file CPClipView.j.
|
implementation |
Initializes the view from an archive.
aCoder | the coder from which to initialize |
Reimplemented from CPView.
Provided by category CPClipView(CPCoding).
Definition at line 205 of file CPClipView.j.
|
implementation |
Initiates -superviewSizeChanged
: messages to subviews.
aSize | the size for the subviews |
Reimplemented from CPView.
Definition at line 125 of file CPClipView.j.
|
implementation |
Scrolls the clip view to the specified point. The method sets its bounds origin to aPoint
.
Definition at line 102 of file CPClipView.j.
|
implementation |
Sets the location of the receiver inside its frame. The method posts a CPViewBoundsDidChangeNotification to the default notification center if the receiver is configured to do so.
aPoint | the new location for the receiver |
Reimplemented from CPView.
Definition at line 81 of file CPClipView.j.
|
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 40 of file CPClipView.j.
|
implementation |
Handles a CPViewBoundsDidChangeNotification.
aNotification | the notification event |
Definition at line 111 of file CPClipView.j.
|
implementation |
Handles a CPViewFrameDidChangeNotification.
aNotification | the notification event |
Definition at line 120 of file CPClipView.j.