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.43">
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: #2f4fcf; min-height: 14.0px}
13 p
.p4
{margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica
; color: #0c3ee4; min-height: 14.0px}
14 p
.p5
{margin: 0.0px 0.0px 0.0px 0.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: 9.0px Monaco
}
16 p
.p7
{margin: 0.0px 0.0px 0.0px 57.0px; text-indent: -57.0px; font: 9.0px Monaco
; min-height: 12.0px}
17 p
.p8
{margin: 0.0px 0.0px 0.0px 57.0px; text-indent: -57.0px; font: 14.0px Helvetica
}
18 p
.p9
{margin: 0.0px 0.0px 0.0px 57.0px; text-indent: -57.0px; font: 12.0px Helvetica
; min-height: 14.0px}
19 p
.p10
{margin: 0.0px 0.0px 0.0px 57.0px; text-indent: -57.0px; font: 12.0px Helvetica
}
20 p
.p11
{margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica
; color: #2345c7; min-height: 14.0px}
21 span
.s1
{font: 18.0px Helvetica
}
22 span
.s2
{color: #2f4fcf}
23 span
.s3
{text-decoration: underline
; color: #1940ce}
24 span
.s4
{color: #264ad6}
25 span
.s5
{text-decoration: underline
; color: #002cf4}
26 span
.s6
{text-decoration: underline
; color: #0b3ad5}
27 span
.s7
{color: #0c3ee4}
28 span
.s8
{color: #3753c9}
29 span
.s9
{color: #0000ff}
30 span
.Apple-tab-span
{white-space:pre
}
34 <p class=
"p1"><span class=
"s1"><b>ViewRedirect
<span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span></b></span><b>an abstract super class for gui redirection classes
</b><span class=
"s1"><b><span class=
"Apple-tab-span"> </span></b></span></p>
35 <p class=
"p2"><br></p>
36 <p class=
"p1"><b>Inherits from:
</b><a href=
"../../Core/Object.html"><span class=
"s2"><b>Object
</b></span></a></p>
37 <p class=
"p3"><br></p>
38 <p class=
"p1"><b>See also:
</b> <a href=
"GUI.html"><span class=
"s3">GUI
</span></a><span class=
"s4">,
<a href=
"../GUI-Classes.html"><span class=
"s5">GUI-Classes
</span></a></span>,
<a href=
"../GUI-Overview.html"><span class=
"s6">GUI-Overview
</span></a></p>
39 <p class=
"p4"><br></p>
40 <p class=
"p1"><b>For a current list of subclasses see
</b> <a href=
"../GUI-Classes.html"><span class=
"s7">GUI-Classes
</span></a></p>
41 <p class=
"p5"><br></p>
42 <p class=
"p1">You will never call this class directly, but will only call its subclasses.
</p>
43 <p class=
"p1">ViewRedirect is the abstract superclass of all gui redirect classes. These subclasses in turn use the
<a href=
"GUI.html"><span class=
"s8">GUI
</span></a>.myView mechanism to redirect to the currently active gui kit. ViewRedirect's subclasses provide a simple syntax for creating gui views and widgets, while transparently making the code work with different gui kits.
</p>
44 <p class=
"p2"><br></p>
45 <p class=
"p1">Each subclass uses a *
<b>key
</b> class method to return a key appropriate to the desired GUI redirect method:
</p>
46 <p class=
"p2"><br></p>
47 <p class=
"p6">MyGUIClass : ViewRedirect { *key { ^\myGUIClass }}
</p>
48 <p class=
"p7"><br></p>
49 <p class=
"p8"><b>Accessing Instance and Class Variables
</b></p>
50 <p class=
"p9"><span class=
"Apple-tab-span"> </span></p>
51 <p class=
"p10"><b><span class=
"Apple-tab-span"> </span>*redirectQueries_(bool)
</b></p>
52 <p class=
"p10"><b><span class=
"Apple-tab-span"> </span>*redirectQueries
</b></p>
53 <p class=
"p9"><b><span class=
"Apple-tab-span"> </span></b><span class=
"Apple-tab-span"> </span></p>
54 <p class=
"p10"><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><b>bool
</b> is a
<a href=
"../../Core/Boolean.html"><span class=
"s9">Boolean
</span></a> indicating whether or not openClassFile queries will redirect to the active implementation class (Cocoa or Swing). The default is false.
</p>
55 <p class=
"p2"><br></p>
56 <p class=
"p11"><br></p>
57 <p class=
"p2"><br></p>