2001-12-17 16:51:51 +00:00
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>NSView</title>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<h1>NSView</h1>
|
|
|
|
<h3>Authors</h3>
|
|
|
|
<dl>
|
|
|
|
<dt>Scott Christley(<a href="mailto:scottc@net-community.com"><code>
|
|
|
|
scottc@net-community.com
|
|
|
|
</code></a>)</dt>
|
|
|
|
<dd>
|
|
|
|
</dd>
|
|
|
|
<dt>Felipe A. Rodriguez(<a href="mailto:far@ix.netcom.com"><code>
|
|
|
|
far@ix.netcom.com
|
|
|
|
</code></a>)</dt>
|
|
|
|
<dd>
|
|
|
|
</dd>
|
|
|
|
<dt>Ovidiu Predescu(<a href="mailto:ovidiu@net-community.com"><code>
|
|
|
|
ovidiu@net-community.com
|
|
|
|
</code></a>)</dt>
|
|
|
|
<dd>
|
|
|
|
</dd>
|
|
|
|
<dt>Richard Frith-Macdonald(<a href="mailto:richard@brainstorm.co.uk"><code>
|
|
|
|
richard@brainstorm.co.uk
|
|
|
|
</code></a>)</dt>
|
|
|
|
<dd>
|
|
|
|
</dd>
|
|
|
|
</dl>
|
|
|
|
<blockquote>
|
|
|
|
|
|
|
|
The view class which encapsulates all drawing functionality
|
|
|
|
</blockquote>
|
|
|
|
<p>Copyright: (C) (C) 1996 Free Software Foundation, Inc.</p>
|
|
|
|
<h1>NSView</h1>
|
|
|
|
<p>
|
|
|
|
|
|
|
|
NSView is an abstract class which provides facilities
|
|
|
|
for drawing in a window and receiving events. It is the
|
|
|
|
superclass of many of the visual elements of the
|
|
|
|
GUI.
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
|
|
|
|
In order to display itself, a view must be placed in a
|
|
|
|
window (represented by an NSWindow object). Within the
|
|
|
|
window is a hierarchy of NSViews, headed by the window's
|
|
|
|
content view. Every other view in a window is a
|
|
|
|
descendant of this view.
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
|
|
|
|
Subclasses can override <code>drawRect:</code> in
|
|
|
|
order to implement their appearance. Other methods of
|
|
|
|
NSView and NSResponder can also be overridden to handle
|
|
|
|
user generated events.
|
|
|
|
</p>
|
|
|
|
<h2><a name="class$NSView">NSView</a> : <a href="NSResponder.html#class$NSResponder">NSResponder</a></h2>
|
|
|
|
Declared: AppKit/NSView.h<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<h3>defaultMenu</a></h3>
|
|
|
|
+ (<a href="NSMenu.html#class$NSMenu">NSMenu</a>*) <b>defaultMenu</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>focusView</a></h3>
|
|
|
|
+ (<a href="#class$NSView">NSView</a>*) <b>focusView</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
Return the view at the top of graphics contexts
|
|
|
|
stack or <code>nil</code> if none is focused.
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>acceptsFirstMouse:</a></h3>
|
|
|
|
- (BOOL) <b>acceptsFirstMouse:</b> (<a href="NSEvent.html#class$NSEvent">NSEvent</a>*)theEvent;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
Returns <code>YES</code> if the view object will
|
|
|
|
accept the first click received when in an inactive
|
|
|
|
window, and <code>NO</code> otherwise.
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>addCursorRect:cursor:</a></h3>
|
|
|
|
- (void) <b>addCursorRect:</b> (NSRect)aRect<b> cursor:</b> (<a href="NSCursor.html#class$NSCursor">NSCursor</a>*)anObject;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>addSubview:</a></h3>
|
|
|
|
- (void) <b>addSubview:</b> (<a href="#class$NSView">NSView</a>*)aView;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
Adds <var>aView</var> as a subview of the receiver.
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>addSubview:positioned:relativeTo:</a></h3>
|
|
|
|
- (void) <b>addSubview:</b> (<a href="#class$NSView">NSView</a>*)aView<b> positioned:</b> (NSWindowOrderingMode)place<b> relativeTo:</b> (<a href="#class$NSView">NSView</a>*)otherView;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>addToPageSetup</a></h3>
|
|
|
|
- (void) <b>addToPageSetup</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>addToolTipRect:owner:userData:</a></h3>
|
|
|
|
- (NSToolTipTag) <b>addToolTipRect:</b> (NSRect)aRect<b> owner:</b> (id)anObject<b> userData:</b> (void*)data;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>addTrackingRect:owner:userData:assumeInside:</a></h3>
|
|
|
|
- (NSTrackingRectTag) <b>addTrackingRect:</b> (NSRect)aRect<b> owner:</b> (id)anObject<b> userData:</b> (void*)data<b> assumeInside:</b> (BOOL)flag;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>adjustPageHeightNew:top:bottom:limit:</a></h3>
|
|
|
|
- (void) <b>adjustPageHeightNew:</b> (float*)newBottom<b> top:</b> (float)oldTop<b> bottom:</b> (float)oldBottom<b> limit:</b> (float)bottomLimit;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>adjustPageWidthNew:left:right:limit:</a></h3>
|
|
|
|
- (void) <b>adjustPageWidthNew:</b> (float*)newRight<b> left:</b> (float)oldLeft<b> right:</b> (float)oldRight<b> limit:</b> (float)rightLimit;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>adjustScroll:</a></h3>
|
|
|
|
- (NSRect) <b>adjustScroll:</b> (NSRect)newVisible;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>allocateGState</a></h3>
|
|
|
|
- (void) <b>allocateGState</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>ancestorSharedWithView:</a></h3>
|
|
|
|
- (<a href="#class$NSView">NSView</a>*) <b>ancestorSharedWithView:</b> (<a href="#class$NSView">NSView</a>*)aView;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
Returns <code>self</code> if <var>aView</var> is
|
|
|
|
the receiver or <var>aView</var> is a subview of the
|
|
|
|
receiver, the ancestor view shared by
|
|
|
|
<var>aView</var> and the receiver, if any,
|
|
|
|
<var>aView</var> if it is an ancestor of the
|
|
|
|
receiver, otherwise returns <code>nil</code>.
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>autoresizesSubviews</a></h3>
|
|
|
|
- (BOOL) <b>autoresizesSubviews</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>autoresizingMask</a></h3>
|
|
|
|
- (unsigned int) <b>autoresizingMask</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>autoscroll:</a></h3>
|
|
|
|
- (BOOL) <b>autoscroll:</b> (<a href="NSEvent.html#class$NSEvent">NSEvent</a>*)theEvent;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>beginDocument</a></h3>
|
|
|
|
- (void) <b>beginDocument</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
Writes header and job information for the PostScript
|
|
|
|
document. This includes at a minimum, PostScript
|
|
|
|
header information. It may also include job setup
|
|
|
|
information if the output is intended for a
|
|
|
|
printer (i.e. not an EPS file). Most of the
|
|
|
|
information for writing the header comes from
|
|
|
|
the NSPrintOperation and NSPrintInfo objects associated
|
|
|
|
with the current print operation. There isn't normally
|
|
|
|
anything that the program needs to override at the
|
|
|
|
beginning of a document, although if there is
|
|
|
|
additional setup that needs to be done, you can
|
|
|
|
override the NSView's methods endHeaderComments,
|
|
|
|
endPrologue, beginSetup, and/or endSetup. This
|
|
|
|
method calls the above methods in the listed order
|
|
|
|
before or after writing the required information.
|
|
|
|
For an EPS operation, the beginSetup and endSetup
|
|
|
|
methods aren't used.
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>beginPage:label:bBox:fonts:</a></h3>
|
|
|
|
- (void) <b>beginPage:</b> (int)ordinalNum<b> label:</b> (NSString*)aString<b> bBox:</b> (NSRect)pageRect<b> fonts:</b> (NSString*)fontNames;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>beginPageInRect:atPlacement:</a></h3>
|
|
|
|
- (void) <b>beginPageInRect:</b> (NSRect)aRect<b> atPlacement:</b> (NSPoint)location;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>beginPageSetupRect:placement:</a></h3>
|
|
|
|
- (void) <b>beginPageSetupRect:</b> (NSRect)aRect<b> placement:</b> (NSPoint)location;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>beginPrologueBBox:creationDate:createdBy:fonts:forWhom:pages:title:</a></h3>
|
|
|
|
- (void) <b>beginPrologueBBox:</b> (NSRect)bBox<b> creationDate:</b> (NSString*)dateCreated<b> createdBy:</b> (NSString*)anApplication<b> fonts:</b> (NSString*)fontNames<b> forWhom:</b> (NSString*)user<b> pages:</b> (int)numPages<b> title:</b> (NSString*)aTitle;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>beginSetup</a></h3>
|
|
|
|
- (void) <b>beginSetup</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>beginTrailer</a></h3>
|
|
|
|
- (void) <b>beginTrailer</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>bounds</a></h3>
|
|
|
|
- (NSRect) <b>bounds</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>boundsRotation</a></h3>
|
|
|
|
- (float) <b>boundsRotation</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>canDraw</a></h3>
|
|
|
|
- (BOOL) <b>canDraw</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>centerScanRect:</a></h3>
|
|
|
|
- (NSRect) <b>centerScanRect:</b> (NSRect)aRect;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>convertPoint:fromView:</a></h3>
|
|
|
|
- (NSPoint) <b>convertPoint:</b> (NSPoint)aPoint<b> fromView:</b> (<a href="#class$NSView">NSView</a>*)aView;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>convertPoint:toView:</a></h3>
|
|
|
|
- (NSPoint) <b>convertPoint:</b> (NSPoint)aPoint<b> toView:</b> (<a href="#class$NSView">NSView</a>*)aView;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>convertRect:fromView:</a></h3>
|
|
|
|
- (NSRect) <b>convertRect:</b> (NSRect)aRect<b> fromView:</b> (<a href="#class$NSView">NSView</a>*)aView;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>convertRect:toView:</a></h3>
|
|
|
|
- (NSRect) <b>convertRect:</b> (NSRect)aRect<b> toView:</b> (<a href="#class$NSView">NSView</a>*)aView;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>convertSize:fromView:</a></h3>
|
|
|
|
- (NSSize) <b>convertSize:</b> (NSSize)aSize<b> fromView:</b> (<a href="#class$NSView">NSView</a>*)aView;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>convertSize:toView:</a></h3>
|
|
|
|
- (NSSize) <b>convertSize:</b> (NSSize)aSize<b> toView:</b> (<a href="#class$NSView">NSView</a>*)aView;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>dataWithEPSInsideRect:</a></h3>
|
|
|
|
- (NSData*) <b>dataWithEPSInsideRect:</b> (NSRect)aRect;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>dataWithPDFInsideRect:</a></h3>
|
|
|
|
- (NSData*) <b>dataWithPDFInsideRect:</b> (NSRect)aRect;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>didAddSubview:</a></h3>
|
|
|
|
- (void) <b>didAddSubview:</b> (<a href="#class$NSView">NSView</a>*)subview;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>discardCursorRects</a></h3>
|
|
|
|
- (void) <b>discardCursorRects</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>display</a></h3>
|
|
|
|
- (void) <b>display</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>displayIfNeeded</a></h3>
|
|
|
|
- (void) <b>displayIfNeeded</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>displayIfNeededIgnoringOpacity</a></h3>
|
|
|
|
- (void) <b>displayIfNeededIgnoringOpacity</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>displayIfNeededInRect:</a></h3>
|
|
|
|
- (void) <b>displayIfNeededInRect:</b> (NSRect)aRect;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>displayIfNeededInRectIgnoringOpacity:</a></h3>
|
|
|
|
- (void) <b>displayIfNeededInRectIgnoringOpacity:</b> (NSRect)aRect;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>displayRect:</a></h3>
|
|
|
|
- (void) <b>displayRect:</b> (NSRect)rect;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>displayRectIgnoringOpacity:</a></h3>
|
|
|
|
- (void) <b>displayRectIgnoringOpacity:</b> (NSRect)aRect;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>dragFile:fromRect:slideBack:event:</a></h3>
|
|
|
|
- (BOOL) <b>dragFile:</b> (NSString*)filename<b> fromRect:</b> (NSRect)rect<b> slideBack:</b> (BOOL)slideFlag<b> event:</b> (<a href="NSEvent.html#class$NSEvent">NSEvent</a>*)event;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>dragImage:at:offset:event:pasteboard:source:slideBack:</a></h3>
|
|
|
|
- (void) <b>dragImage:</b> (<a href="NSImage.html#class$NSImage">NSImage</a>*)anImage<b> at:</b> (NSPoint)viewLocation<b> offset:</b> (NSSize)initialOffset<b> event:</b> (<a href="NSEvent.html#class$NSEvent">NSEvent</a>*)event<b> pasteboard:</b> (<a href="NSPasteboard.html#class$NSPasteboard">NSPasteboard</a>*)pboard<b> source:</b> (id)sourceObject<b> slideBack:</b> (BOOL)slideFlag;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>drawPageBorderWithSize:</a></h3>
|
|
|
|
- (void) <b>drawPageBorderWithSize:</b> (NSSize)borderSize;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>drawRect:</a></h3>
|
|
|
|
- (void) <b>drawRect:</b> (NSRect)rect;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
This method is invoked to handle drawing inside the
|
|
|
|
view. The default NSView's implementation does
|
|
|
|
nothing; subclasses might override it to draw
|
|
|
|
something inside the view. Since NSView's
|
|
|
|
implementation is guaranteed to be empty,
|
|
|
|
you should not call super's implementation when you
|
|
|
|
override it in subclasses. drawRect: is invoked
|
|
|
|
when the focus has already been locked on the view;
|
|
|
|
you can use arbitrary postscript functions in drawRect:
|
|
|
|
to draw inside your view; the coordinate system in which
|
|
|
|
you draw is the view's own coordinate system (this
|
|
|
|
means for example that you should refer to the
|
|
|
|
rectangle covered by the view using its bounds,
|
|
|
|
and not its frame). The argument of drawRect: is the
|
|
|
|
rectangle which needs to be redrawn. In a lossy
|
|
|
|
implementation, you can ignore the argument
|
|
|
|
and redraw the whole view; if you are aiming at
|
|
|
|
performance, you may want to redraw only what
|
|
|
|
is inside the rectangle which needs to be redrawn; this
|
|
|
|
usually improves drawing performance considerably.
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>drawSheetBorderWithSize:</a></h3>
|
|
|
|
- (void) <b>drawSheetBorderWithSize:</b> (NSSize)borderSize;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>enclosingScrollView</a></h3>
|
|
|
|
- (<a href="NSScrollView.html#class$NSScrollView">NSScrollView</a>*) <b>enclosingScrollView</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>endDocument</a></h3>
|
|
|
|
- (void) <b>endDocument</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>endHeaderComments</a></h3>
|
|
|
|
- (void) <b>endHeaderComments</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>endPage</a></h3>
|
|
|
|
- (void) <b>endPage</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>endPageSetup</a></h3>
|
|
|
|
- (void) <b>endPageSetup</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>endPrologue</a></h3>
|
|
|
|
- (void) <b>endPrologue</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>endSetup</a></h3>
|
|
|
|
- (void) <b>endSetup</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>endTrailer</a></h3>
|
|
|
|
- (void) <b>endTrailer</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>fax:</a></h3>
|
|
|
|
- (void) <b>fax:</b> (id)sender;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>frame</a></h3>
|
|
|
|
- (NSRect) <b>frame</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>frameRotation</a></h3>
|
|
|
|
- (float) <b>frameRotation</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>gState</a></h3>
|
|
|
|
- (int) <b>gState</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
Returns an identifier that represents the view's
|
|
|
|
gstate object, which is used to encapsulate drawing
|
|
|
|
information about the view. Most of the time a
|
|
|
|
gstate object is created from scratch when the view
|
|
|
|
is focused, so if the view is not currently focused or
|
|
|
|
allocateGState has not been called, then
|
|
|
|
this method will
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>heightAdjustLimit</a></h3>
|
|
|
|
- (float) <b>heightAdjustLimit</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>hitTest:</a></h3>
|
|
|
|
- (<a href="#class$NSView">NSView</a>*) <b>hitTest:</b> (NSPoint)aPoint;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
Returns the subview, lowest in the receiver's
|
|
|
|
hierarchy, which contains <var>aPoint</var>
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>initWithFrame:</a></h3>
|
|
|
|
- (id) <b>initWithFrame:</b> (NSRect)frameRect;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>isDescendantOf:</a></h3>
|
|
|
|
- (BOOL) <b>isDescendantOf:</b> (<a href="#class$NSView">NSView</a>*)aView;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
Returns <code>YES</code> if <var>aView</var> is an
|
|
|
|
ancestor of the receiver.
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>isFlipped</a></h3>
|
|
|
|
- (BOOL) <b>isFlipped</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>isOpaque</a></h3>
|
|
|
|
- (BOOL) <b>isOpaque</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>isRotatedFromBase</a></h3>
|
|
|
|
- (BOOL) <b>isRotatedFromBase</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>isRotatedOrScaledFromBase</a></h3>
|
|
|
|
- (BOOL) <b>isRotatedOrScaledFromBase</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>knowsPageRange:</a></h3>
|
|
|
|
- (BOOL) <b>knowsPageRange:</b> (NSRange*)range;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>knowsPagesFirst:last:</a></h3>
|
|
|
|
- (BOOL) <b>knowsPagesFirst:</b> (int*)firstPageNum<b> last:</b> (int*)lastPageNum;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>locationOfPrintRect:</a></h3>
|
|
|
|
- (NSPoint) <b>locationOfPrintRect:</b> (NSRect)aRect;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>lockFocus</a></h3>
|
|
|
|
- (void) <b>lockFocus</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>lockFocusIfCanDraw</a></h3>
|
|
|
|
- (BOOL) <b>lockFocusIfCanDraw</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>menuForEvent:</a></h3>
|
|
|
|
- (<a href="NSMenu.html#class$NSMenu">NSMenu</a>*) <b>menuForEvent:</b> (<a href="NSEvent.html#class$NSEvent">NSEvent</a>*)theEvent;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>mouse:inRect:</a></h3>
|
|
|
|
- (BOOL) <b>mouse:</b> (NSPoint)aPoint<b> inRect:</b> (NSRect)aRect;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
Returns whether or not <var>aPoint</var> lies
|
|
|
|
within <var>aRect</var>
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>needsDisplay</a></h3>
|
|
|
|
- (BOOL) <b>needsDisplay</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>nextKeyView</a></h3>
|
|
|
|
- (<a href="#class$NSView">NSView</a>*) <b>nextKeyView</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>nextValidKeyView</a></h3>
|
|
|
|
- (<a href="#class$NSView">NSView</a>*) <b>nextValidKeyView</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>opaqueAncestor</a></h3>
|
|
|
|
- (<a href="#class$NSView">NSView</a>*) <b>opaqueAncestor</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>performKeyEquivalent:</a></h3>
|
|
|
|
- (BOOL) <b>performKeyEquivalent:</b> (<a href="NSEvent.html#class$NSEvent">NSEvent</a>*)theEvent;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>performMnemonic:</a></h3>
|
|
|
|
- (BOOL) <b>performMnemonic:</b> (NSString*)aString;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>postsBoundsChangedNotifications</a></h3>
|
|
|
|
- (BOOL) <b>postsBoundsChangedNotifications</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>postsFrameChangedNotifications</a></h3>
|
|
|
|
- (BOOL) <b>postsFrameChangedNotifications</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>previousKeyView</a></h3>
|
|
|
|
- (<a href="#class$NSView">NSView</a>*) <b>previousKeyView</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>previousValidKeyView</a></h3>
|
|
|
|
- (<a href="#class$NSView">NSView</a>*) <b>previousValidKeyView</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>print:</a></h3>
|
|
|
|
- (void) <b>print:</b> (id)sender;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>printJobTitle</a></h3>
|
|
|
|
- (NSString*) <b>printJobTitle</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>rectForPage:</a></h3>
|
|
|
|
- (NSRect) <b>rectForPage:</b> (int)page;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>reflectScrolledClipView:</a></h3>
|
|
|
|
- (void) <b>reflectScrolledClipView:</b> (<a href="NSClipView.html#class$NSClipView">NSClipView</a>*)aClipView;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>registerForDraggedTypes:</a></h3>
|
|
|
|
- (void) <b>registerForDraggedTypes:</b> (NSArray*)types;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>releaseGState</a></h3>
|
|
|
|
- (void) <b>releaseGState</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
Frees the gstate object, if there is one. Note that
|
|
|
|
the next time the view is lockFocused, the gstate will
|
|
|
|
be allocated again.
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>removeAllToolTips</a></h3>
|
|
|
|
- (void) <b>removeAllToolTips</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>removeCursorRect:cursor:</a></h3>
|
|
|
|
- (void) <b>removeCursorRect:</b> (NSRect)aRect<b> cursor:</b> (<a href="NSCursor.html#class$NSCursor">NSCursor</a>*)anObject;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>removeFromSuperview</a></h3>
|
|
|
|
- (void) <b>removeFromSuperview</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>removeFromSuperviewWithoutNeedingDisplay</a></h3>
|
|
|
|
- (void) <b>removeFromSuperviewWithoutNeedingDisplay</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
Removes the receiver from its superviews list of
|
|
|
|
subviews, by invoking the superviews [
|
|
|
|
<a href="#NSView-removeSubview:">
|
|
|
|
-removeSubview:
|
|
|
|
</a>
|
|
|
|
|
|
|
|
] method.
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>removeSubview:</a></h3>
|
|
|
|
- (void) <b>removeSubview:</b> (<a href="#class$NSView">NSView</a>*)aSubview;<br />
|
|
|
|
Standards: text p text p text<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>removeToolTip:</a></h3>
|
|
|
|
- (void) <b>removeToolTip:</b> (NSToolTipTag)tag;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>removeTrackingRect:</a></h3>
|
|
|
|
- (void) <b>removeTrackingRect:</b> (NSTrackingRectTag)tag;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>renewGState</a></h3>
|
|
|
|
- (void) <b>renewGState</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
Invalidates the view's gstate object so it will
|
|
|
|
be set up again using setUpGState the next time the view
|
|
|
|
is focused.
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>replaceSubview:with:</a></h3>
|
|
|
|
- (void) <b>replaceSubview:</b> (<a href="#class$NSView">NSView</a>*)oldView<b> with:</b> (<a href="#class$NSView">NSView</a>*)newView;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
Removes <var>oldView</var> from the receiver and
|
|
|
|
places <var>newView</var> in its place.
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>resetCursorRects</a></h3>
|
|
|
|
- (void) <b>resetCursorRects</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>resizeSubviewsWithOldSize:</a></h3>
|
|
|
|
- (void) <b>resizeSubviewsWithOldSize:</b> (NSSize)oldSize;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>resizeWithOldSuperviewSize:</a></h3>
|
|
|
|
- (void) <b>resizeWithOldSuperviewSize:</b> (NSSize)oldSize;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>rotateByAngle:</a></h3>
|
|
|
|
- (void) <b>rotateByAngle:</b> (float)angle;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>scaleUnitSquareToSize:</a></h3>
|
|
|
|
- (void) <b>scaleUnitSquareToSize:</b> (NSSize)newSize;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>scrollClipView:toPoint:</a></h3>
|
|
|
|
- (void) <b>scrollClipView:</b> (<a href="NSClipView.html#class$NSClipView">NSClipView</a>*)aClipView<b> toPoint:</b> (NSPoint)aPoint;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>scrollPoint:</a></h3>
|
|
|
|
- (void) <b>scrollPoint:</b> (NSPoint)aPoint;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>scrollRect:by:</a></h3>
|
|
|
|
- (void) <b>scrollRect:</b> (NSRect)aRect<b> by:</b> (NSSize)delta;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>scrollRectToVisible:</a></h3>
|
|
|
|
- (BOOL) <b>scrollRectToVisible:</b> (NSRect)aRect;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>setAutoresizesSubviews:</a></h3>
|
|
|
|
- (void) <b>setAutoresizesSubviews:</b> (BOOL)flag;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>setAutoresizingMask:</a></h3>
|
|
|
|
- (void) <b>setAutoresizingMask:</b> (unsigned int)mask;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>setBounds:</a></h3>
|
|
|
|
- (void) <b>setBounds:</b> (NSRect)aRect;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>setBoundsOrigin:</a></h3>
|
|
|
|
- (void) <b>setBoundsOrigin:</b> (NSPoint)newOrigin;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>setBoundsRotation:</a></h3>
|
|
|
|
- (void) <b>setBoundsRotation:</b> (float)angle;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>setBoundsSize:</a></h3>
|
|
|
|
- (void) <b>setBoundsSize:</b> (NSSize)newSize;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>setFrame:</a></h3>
|
|
|
|
- (void) <b>setFrame:</b> (NSRect)frameRect;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>setFrameOrigin:</a></h3>
|
|
|
|
- (void) <b>setFrameOrigin:</b> (NSPoint)newOrigin;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>setFrameRotation:</a></h3>
|
|
|
|
- (void) <b>setFrameRotation:</b> (float)angle;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>setFrameSize:</a></h3>
|
|
|
|
- (void) <b>setFrameSize:</b> (NSSize)newSize;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>setNeedsDisplay:</a></h3>
|
|
|
|
- (void) <b>setNeedsDisplay:</b> (BOOL)flag;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>setNeedsDisplayInRect:</a></h3>
|
|
|
|
- (void) <b>setNeedsDisplayInRect:</b> (NSRect)rect;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>setNextKeyView:</a></h3>
|
|
|
|
- (void) <b>setNextKeyView:</b> (<a href="#class$NSView">NSView</a>*)aView;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>setPostsBoundsChangedNotifications:</a></h3>
|
|
|
|
- (void) <b>setPostsBoundsChangedNotifications:</b> (BOOL)flag;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>setPostsFrameChangedNotifications:</a></h3>
|
|
|
|
- (void) <b>setPostsFrameChangedNotifications:</b> (BOOL)flag;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>setPreviousKeyView:</a></h3>
|
|
|
|
- (void) <b>setPreviousKeyView:</b> (<a href="#class$NSView">NSView</a>*)aView;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>setToolTip:</a></h3>
|
|
|
|
- (void) <b>setToolTip:</b> (NSString*)string;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>setUpGState</a></h3>
|
|
|
|
- (void) <b>setUpGState</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>shouldDelayWindowOrderingForEvent:</a></h3>
|
|
|
|
- (BOOL) <b>shouldDelayWindowOrderingForEvent:</b> (<a href="NSEvent.html#class$NSEvent">NSEvent</a>*)anEvent;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>shouldDrawColor</a></h3>
|
|
|
|
- (BOOL) <b>shouldDrawColor</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>sortSubviewsUsingFunction:context:</a></h3>
|
|
|
|
- (void) <b>sortSubviewsUsingFunction:</b> (int (*)(id,id,void*))compare<b> context:</b> (void*)context;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>subviews</a></h3>
|
|
|
|
- (NSArray*) <b>subviews</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>superview</a></h3>
|
|
|
|
- (<a href="#class$NSView">NSView</a>*) <b>superview</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>tag</a></h3>
|
|
|
|
- (int) <b>tag</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>toolTip</a></h3>
|
|
|
|
- (NSString*) <b>toolTip</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>translateOriginToPoint:</a></h3>
|
|
|
|
- (void) <b>translateOriginToPoint:</b> (NSPoint)point;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>unlockFocus</a></h3>
|
|
|
|
- (void) <b>unlockFocus</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>unregisterDraggedTypes</a></h3>
|
|
|
|
- (void) <b>unregisterDraggedTypes</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>viewDidMoveToSuperview</a></h3>
|
|
|
|
- (void) <b>viewDidMoveToSuperview</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>viewDidMoveToWindow</a></h3>
|
|
|
|
- (void) <b>viewDidMoveToWindow</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>viewWillMoveToSuperview:</a></h3>
|
|
|
|
- (void) <b>viewWillMoveToSuperview:</b> (<a href="#class$NSView">NSView</a>*)newSuper;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
Notifies the receiver that its superview is being
|
|
|
|
changed to <var>newSuperview</var>.
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>viewWillMoveToWindow:</a></h3>
|
|
|
|
- (void) <b>viewWillMoveToWindow:</b> (<a href="NSWindow.html#class$NSWindow">NSWindow</a>*)newWindow;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
Notifies the receiver that it will now be a view
|
|
|
|
of <var>newWindow</var>. Note, this method is also used
|
|
|
|
when removing a view from a window (in which case,
|
|
|
|
<var>newWindow</var> is <code>nil</code>) to let all
|
|
|
|
the subviews know that they have also been removed from
|
|
|
|
the window.
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>viewWithTag:</a></h3>
|
|
|
|
- (id) <b>viewWithTag:</b> (int)aTag;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>visibleRect</a></h3>
|
|
|
|
- (NSRect) <b>visibleRect</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>widthAdjustLimit</a></h3>
|
|
|
|
- (float) <b>widthAdjustLimit</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>willRemoveSubview:</a></h3>
|
|
|
|
- (void) <b>willRemoveSubview:</b> (<a href="#class$NSView">NSView</a>*)subview;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>window</a></h3>
|
|
|
|
- (<a href="NSWindow.html#class$NSWindow">NSWindow</a>*) <b>window</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
Returns the window in which the receiver resides.
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>writeEPSInsideRect:toPasteboard:</a></h3>
|
|
|
|
- (void) <b>writeEPSInsideRect:</b> (NSRect)rect<b> toPasteboard:</b> (<a href="NSPasteboard.html#class$NSPasteboard">NSPasteboard</a>*)pasteboard;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>writePDFInsideRect:toPasteboard:</a></h3>
|
|
|
|
- (void) <b>writePDFInsideRect:</b> (NSRect)aRect<b> toPasteboard:</b> (<a href="NSPasteboard.html#class$NSPasteboard">NSPasteboard</a>*)pboard;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h1>
|
|
|
|
Software documentation for the NSView(PrivateMethods)
|
|
|
|
category
|
|
|
|
</h1>
|
|
|
|
<h2><a href="#class$NSView">NSView</a>(<a name="category$NSView(PrivateMethods)">PrivateMethods</a>)</h2>
|
|
|
|
Declared: AppKit/NSView.h<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<h3>_invalidateCoordinates</a></h3>
|
|
|
|
- (void) <b>_invalidateCoordinates</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>_matrixFromWindow</a></h3>
|
|
|
|
- (<a href="NSAffineTransform.html#class$NSAffineTransform">NSAffineTransform</a>*) <b>_matrixFromWindow</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>_matrixToWindow</a></h3>
|
|
|
|
- (<a href="NSAffineTransform.html#class$NSAffineTransform">NSAffineTransform</a>*) <b>_matrixToWindow</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>_rebuildCoordinates</a></h3>
|
|
|
|
- (void) <b>_rebuildCoordinates</b>;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
</body>
|
|
|
|
</html>
|