(Preliminary Documentation) Copyright ã1994 by NeXT Computer, Inc.  All Rights Reserved.

NSClipView 

Inherits From:	NSView : NSResponder : NSObject 

Declared In:	appkit/NSClipView.h

Managing the Document View 

- (NSRect)documentRect	Returns the document rectangle.
- (id)documentView	Returns the NSClipView's document view. 
- (NSRect)documentVisibleRect	Gets the visible portion of the document view.
- (void)setDocumentView:(NSView *)aView	Makes aView the NSClipView's document view.

Setting the Cursor 

-(NSCursor *)documentCursor	Returns the cursor for the document view. 
- (void)setDocumentCursor:(NSCursor *)anObject	Sets the cursor for the document view.

Setting the Background Color

- (NSColor *)backgroundColor	Returns the NSClipView's background color.
- (void)setBackgroundColor:(NSColor *)color	Sets the NSClipView's background color. 

Scrolling 

- (BOOL)autoscroll:(NSEvent *)theEvent	Scrolls in response to mouse-dragged events.
- (NSPoint)constrainScrollPoint:(NSPoint)newOrigin
	Prevents scrolling to an undesirable position.
- (BOOL)copiesOnScroll	Indicates whether the visible portions of the document view are copied when scrolling occurs. If not, the document view is responsible for redrawing the entire visible portion. The default is YES.
- (BOOL)displaysOnScroll	Indicates whether the results of scrolling the document view are immediately displayed. The default is YES.
- (void)scrollToPoint:(NSPoint)newOrigin	Lowest-level unconstrained scrolling routine. 
- (void)setCopiesOnScroll:(BOOL)flag	Sets how the visible areas are redrawn.
- (void)setDisplaysOnScroll:(BOOL)flag	Sets whether the results of scrolling the document view are immediately displayed. 

Responding to a Changed Frame

- (void)viewFrameChanged:(NSNotification *)notification
	Notification that the document view's frame has changed.