![]() |
API
0.9.6
|
#import <CPClipView.h>
Additional Inherited Members | |
![]() | |
(CPMenu) | + defaultMenu |
(CPString) | + defaultThemeClass |
(void) | + initialize |
(CPSet) | + keyPathsForValuesAffectingBounds |
(CPSet) | + keyPathsForValuesAffectingFrame |
(CPDictionary) | + themeAttributes |
![]() | |
(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 |
![]() | |
Class | isa |
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 |
Reimplemented from CPView.
Definition at line 187 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 100 of file CPClipView.j.
|
implementation |
Returns the document view.
Definition at line 89 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 240 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 232 of file CPClipView.j.
|
implementation |
Initiates -superviewSizeChanged
: messages to subviews.
aSize | the size for the subviews |
Reimplemented from CPView.
Definition at line 157 of file CPClipView.j.
|
implementation |
Scrolls the clip view to the specified point. The method sets its bounds origin to aPoint
.
Definition at line 134 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 113 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 41 of file CPClipView.j.
|
implementation |
Handles a CPViewBoundsDidChangeNotification.
aNotification | the notification event |
Definition at line 143 of file CPClipView.j.
|
implementation |
Handles a CPViewFrameDidChangeNotification.
aNotification | the notification event |
Definition at line 152 of file CPClipView.j.