1 <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
4 <meta http-equiv=
"Content-Type" content=
"text/html; charset=UTF-8">
5 <meta http-equiv=
"Content-Style-Type" content=
"text/css">
7 <meta name=
"Generator" content=
"Cocoa HTML Writer">
8 <meta name=
"CocoaVersion" content=
"949.35">
9 <style type=
"text/css">
10 p
.p1
{margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica
}
11 p
.p2
{margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica
; min-height: 14.0px}
12 p
.p3
{margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica
; color: #001ee6}
13 p
.p4
{margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco
; min-height: 12.0px}
14 p
.p5
{margin: 0.0px 0.0px 0.0px 57.0px; text-indent: -57.0px; font: 9.0px Monaco
; min-height: 12.0px}
15 p
.p6
{margin: 0.0px 0.0px 0.0px 57.0px; text-indent: -57.0px; font: 14.0px Helvetica
}
16 p
.p7
{margin: 0.0px 0.0px 0.0px 57.0px; text-indent: -57.0px; font: 12.0px Helvetica
; min-height: 14.0px}
17 p
.p8
{margin: 0.0px 0.0px 0.0px 57.0px; text-indent: -57.0px; font: 12.0px Helvetica
}
18 p
.p9
{margin: 0.0px 0.0px 0.0px 57.0px; text-indent: -57.0px; font: 14.0px Helvetica
; min-height: 17.0px}
19 span
.s1
{font: 18.0px Helvetica
}
20 span
.s2
{color: #000000}
21 span
.s3
{color: #2946d8}
22 span
.s4
{text-decoration: underline
}
23 span
.s5
{font: 12.0px Helvetica
}
24 span
.Apple-tab-span
{white-space:pre
}
28 <p class=
"p1"><span class=
"s1"><b>SCTopView
<span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span></b></span><b>the top view in an SCWindow
</b><span class=
"s1"><b><span class=
"Apple-tab-span"> </span></b></span></p>
29 <p class=
"p2"><br></p>
30 <p class=
"p3"><span class=
"s2"><b>Inherits from: Object :
</b><a href=
"SCView.html"><b>SCView
</b></a><b> :
</b><a href=
"SCContainerView.html"><b>SCContainerView
</b></a><b> :
</b><a href=
"SCCompositeView.html"><b>SCCompositeView
</b></a></span></p>
31 <p class=
"p4"><br></p>
32 <p class=
"p1">Normally, you do not create this view manually. SCTopView is automatically placed
</span>into an
<a href=
"SCWindow.html"><span class=
"s3">SCWindow
</span></a> as its top view, unless
<b>scroll
</b> is set to true upon SCWindow creation, in which case a SCScrollTopView is used.
</span>SCTopView is different from other container views, in that it can accept
</span>drags.
</span>This is mainly to support the interface builder GUI (hit Cmd-shift-N).
</p>
33 <p class=
"p2"><br></p>
34 <p class=
"p3"><span class=
"s2"><b>See also:
</b> <a href=
"SCWindow.html"><span class=
"s4">SCWindow
</span></a>,
<a href=
"SCScrollTopView.html"><span class=
"s4">SCScrollTopView
</span></a></span></p>
35 <p class=
"p5"><br></p>
36 <p class=
"p6"><b>Accessing Instance and Class Variables
</b><span class=
"s5"><span class=
"Apple-tab-span"> </span></span></p>
37 <p class=
"p7"><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span></p>
38 <p class=
"p8"><b><span class=
"Apple-tab-span"> </span>findWindow
</b></p>
39 <p class=
"p7"><b><span class=
"Apple-tab-span"> </span></b></p>
40 <p class=
"p8"><b><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span></b>Returns the parent window of the SCTopView.
</p>
41 <p class=
"p7"><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span></p>
42 <p class=
"p6"><b>Subclassing and Internal Methods
</span></b></p>
43 <p class=
"p7"><br></p>
44 <p class=
"p8"><b><span class=
"Apple-tab-span"> </span>handleKeyModifiersChangedBubbling (view, modifiers)
</b></p>
45 <p class=
"p7"><b><span class=
"Apple-tab-span"> </span></b></p>
46 <p class=
"p8"><b><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span></b>Called by
<b>keyModifiersChanged,
</b> </span>and either evaluated the
<b>keyModifiersChangedAction
</b>, or bubbles up to the parent view, which may then respond.
</span></p>
47 <p class=
"p5"><br></p>
48 <p class=
"p8"><b><span class=
"Apple-tab-span"> </span>handleKeyDownBubbling (view, char, modifiers, unicode, keycode)
</b></p>
49 <p class=
"p8"><b><span class=
"Apple-tab-span"> </span>handleKeyUpBubbling (view, char, modifiers, unicode, keycode)
</b></p>
50 <p class=
"p7"><b><span class=
"Apple-tab-span"> </span></b></p>
51 <p class=
"p8"><b><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span></b>Called by
<b>keyDown
</b> or
<b>keyUp,
</b> </span>and either evaluated the key actions, or bubbles up to the parent view, which may then respond.
</span></p>
52 <p class=
"p5"><br></p>
53 <p class=
"p8"><b><span class=
"Apple-tab-span"> </span>canReceiveDrag
</b></p>
54 <p class=
"p7"><b><span class=
"Apple-tab-span"> </span></b></p>
55 <p class=
"p8"><b><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span></b>Called by the primitive. Calls
<b>beginDragAction
</b>or
<b> defaultGetDrag
</b>, depending on whether
<b>beginDragAction
</b> is nil.
</p>
56 <p class=
"p7"><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span></p>
57 <p class=
"p8"><b><span class=
"Apple-tab-span"> </span>defaultReceiveDrag (x, y)
</b></p>
58 <p class=
"p9"><br></p>
59 <p class=
"p6"><b>Interface Builder Methods
</span></b></p>
60 <p class=
"p5"><br></p>
61 <p class=
"p8"><b><span class=
"Apple-tab-span"> </span>constructionGrid_ (point)
</b></p>
62 <p class=
"p5"><br></p>
63 <p class=
"p8"><b><span class=
"Apple-tab-span"> </span>constructionGrid
</b></p>
64 <p class=
"p5"><br></p>
65 <p class=
"p8"><b><span class=
"Apple-tab-span"> </span>enableConstructionGrid_ (flag)
</b></p>
66 <p class=
"p5"><br></p>
67 <p class=
"p8"><b><span class=
"Apple-tab-span"> </span>enableConstructionGrid
</b></p>
68 <p class=
"p5"><br></p>