File: TRViewer.html

package info (click to toggle)
tcm 2.20%2BTSQD-5
  • links: PTS
  • area: main
  • in suites: buster, stretch
  • size: 20,168 kB
  • ctags: 17,471
  • sloc: ansic: 78,531; sh: 3,675; makefile: 1,346; perl: 753; yacc: 558; lex: 260
file content (436 lines) | stat: -rwxr-xr-x 28,372 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
<html><head><TITLE>TRViewer</TITLE></head>
<body>
<H2><A HREF ="#DOC.DOCU" > <IMG BORDER=0 SRC=down.gif></A>  class  TRViewer : public <!2><A HREF="DiagramViewer.html#DOC.113.1">DiagramViewer</A> </H2><BLOCKQUOTE>
 generic textual tree viewer class.
</BLOCKQUOTE>
<hr>
 <h2> Inheritance:</h2>
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=125>
<param name=classes value="CViewer,MViewer.html,CDiagramViewer,MDiagramViewer.html,CTRViewer,MTRViewer.html,CFDViewer,MFDViewer.html">
<param name=before value="M,M,M,M^_">
<param name=after value="Md_SP,Md_,M,M">
<param name=indent value="0,1,2,2">
<param name=arrowdir value="down">
</APPLET>
<hr>

<DL>
<TABLE>
<DT><h3>Public Methods</h3><DD><TR><TD VALIGN=top><A HREF="#DOC.395.1"> <IMG BORDER=0 SRC=icon1.gif></A> </TD><TD><B>TRViewer</B> (<!1><A HREF="Config.html">Config</A> *c, <!1><A HREF="TRWindow.html">TRWindow</A> *w)<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.395.2"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>Initialize</B> ()<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.395.3"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>Draw</B> ()<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.395.4"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>Undraw</B> ()<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.395.5"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>UpdateTreeMode</B> (bool newMode)<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.395.6"> <IMG BORDER=0 SRC=icon1.gif></A> bool </TD><TD><B>IsTreeMode</B> ()<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.395.7"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>DrawTreeFork</B> (<!1><A HREF="Shape.html">Shape</A> *parent, <!1><A HREF="List.html">List</A><<!1><A HREF="Shape.html">Shape</A> *> *children)<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.395.8"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>Select</B> (int x, int y)<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.395.9"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>Adjust</B> (int x, int y)<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.395.10"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>MovingPointer</B> (int x, int y)<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.395.11"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>KeyTyped</B> (int x, int y, int c)<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.395.12"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="Command.html">Command</A>* </TD><TD><B>Drag</B> (int x, int y)<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.395.13"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="Command.html">Command</A>* </TD><TD><B>Connect</B> (int x, int y)<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.395.14"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>Cut</B> ()<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.395.15"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>Copy</B> ()<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.395.16"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>Paste</B> ()<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.395.17"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>DeleteAll</B> ()<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.395.18"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SelectAll</B> ()<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.395.19"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>DeleteSubjects</B> ()<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.395.20"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SameSize</B> ()<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.395.21"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>AlignNodes</B> (<!2><A HREF="NodeAlign.html#DOC.238.1">NodeAlign::Type</A>)<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.395.22"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>Annotate</B> ()<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.395.23"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>UpdateCurve</B> ()<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.395.24"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>MoveAllShapes</B> (<!2><A HREF="Document.html#DOC.118.42">Document::MoveType</A> t)<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.395.25"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>FindAll</B> (const <!1><A HREF="string.html">string</A> *s, bool sens, bool substr, bool nameOnly)<br>
<I> </I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.395.26"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>FindNext</B> (const <!1><A HREF="string.html">string</A> *s, bool sens, bool substr, bool nameOnly)<br>
<I> </I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.395.27"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>ReplaceNext</B> (const <!1><A HREF="string.html">string</A> *s1, const <!1><A HREF="string.html">string</A> *s2, bool sens, bool substr, bool nameOnly)<br>
<I> </I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.395.28"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>ReplaceAll</B> (const <!1><A HREF="string.html">string</A> *s1, const <!1><A HREF="string.html">string</A> *s2, bool sens, bool substr, bool nameOnly)<br>
<I> </I>
</TD></TR></TABLE><TABLE>
<DT><h3>Protected Classes</h3><DD><TR><TD VALIGN=top><A HREF="#DOC.395.29"> <IMG BORDER=0 SRC=icon1.gif></A>  enum </TD><TD><B>DirectionType</B> <br>
<I></I>
</TD></TR></TABLE><TABLE>
<DT><h3>Protected Methods</h3><DD><TR><TD VALIGN=top><A HREF="#DOC.395.30"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>DrawTreeMode</B> ()<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.395.31"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>DrawNormalMode</B> ()<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.395.32"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>DrawVerticalTreeFork</B> (<!1><A HREF="Shape.html">Shape</A> *parent, <!1><A HREF="List.html">List</A><<!1><A HREF="Shape.html">Shape</A> *> *children, <!2><A HREF="TRViewer.html#DOC.395.29">TRViewer::DirectionType</A> d)<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.395.33"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>DrawHorizontalTreeFork</B> (<!1><A HREF="Shape.html">Shape</A> *parent, <!1><A HREF="List.html">List</A><<!1><A HREF="Shape.html">Shape</A> *> *children, <!2><A HREF="TRViewer.html#DOC.395.29">TRViewer::DirectionType</A> d)<br>
<I></I>
</TD></TR></TABLE></DL>
<hr><H3>Inherited from <A HREF="DiagramViewer.html">DiagramViewer:</A></h3>

<DL>
<DL>
<DT><h3>Public Methods</h3><DD><DT><IMG SRC=icon2.gif> void  <B>SetDiagram</B>(<!1><A HREF="Diagram.html">Diagram</A> *d)
<DT><IMG SRC=icon2.gif> <!1><A HREF="Diagram.html">Diagram</A>*  <B>GetDiagram</B>() const 
<DT><IMG SRC=icon2.gif> void  <B>SetGrafport</B>(<!1><A HREF="Grafport.html">Grafport</A> *g)
<DT><IMG SRC=icon2.gif> <!1><A HREF="Buffer.html">Buffer</A>*  <B>GetBuffer</B>() const 
<DT><IMG SRC=icon2.gif> <!1><A HREF="Grid.html">Grid</A>*  <B>GetGrid</B>() const 
<DT><IMG SRC=icon2.gif> int  <B>GetDefaultNodeType</B>() const 
<DT><IMG SRC=icon2.gif> int  <B>GetDefaultEdgeType</B>() const 
<DT><IMG SRC=icon2.gif> int  <B>GetDefaultNodeShapeType</B>() const 
<DT><IMG SRC=icon2.gif> int  <B>GetDefaultLineType</B>() const 
<DT><IMG SRC=icon2.gif> bool  <B>IsDefaultCurve</B>() const 
<DT><IMG SRC=icon2.gif> void  <B>SetDefaultNodeType</B>(int n)
<DT><IMG SRC=icon2.gif> void  <B>SetDefaultEdgeType</B>(int n)
<DT><IMG SRC=icon2.gif> void  <B>SetDefaultNodeShapeType</B>(int n)
<DT><IMG SRC=icon2.gif> void  <B>SetDefaultLineType</B>(int n)
<DT><IMG SRC=icon2.gif> void  <B>SetDefaultCurve</B>(bool s)
<DT><IMG SRC=icon2.gif> void  <B>SetShowIndexes</B>(bool b)
<DT><IMG SRC=icon2.gif> bool  <B>IsShowIndexes</B>()
<DT><IMG SRC=icon2.gif> <!2><A HREF="LineStyle.html#DOC.213.1">LineStyle::Type</A>  <B>GetDefaultNodeLineStyle</B>() const 
<DT><IMG SRC=icon2.gif> <!2><A HREF="LineStyle.html#DOC.213.1">LineStyle::Type</A>  <B>GetDefaultEdgeLineStyle</B>() const 
<DT><IMG SRC=icon2.gif> void  <B>SetDefaultNodeLineStyle</B>(<!2><A HREF="LineStyle.html#DOC.213.1">LineStyle::Type</A> l)
<DT><IMG SRC=icon2.gif> void  <B>SetDefaultEdgeLineStyle</B>(<!2><A HREF="LineStyle.html#DOC.213.1">LineStyle::Type</A> l)
<DT><IMG SRC=icon2.gif> <!2><A HREF="LineEnd.html#DOC.209.1">LineEnd::Type</A>  <B>GetDefaultLineEnd1</B>()
<DT><IMG SRC=icon2.gif> <!2><A HREF="LineEnd.html#DOC.209.1">LineEnd::Type</A>  <B>GetDefaultLineEnd2</B>()
<DT><IMG SRC=icon2.gif> void  <B>SetDefaultLineEnd1</B>(<!2><A HREF="LineEnd.html#DOC.209.1">LineEnd::Type</A> t)
<DT><IMG SRC=icon2.gif> void  <B>SetDefaultLineEnd2</B>(<!2><A HREF="LineEnd.html#DOC.209.1">LineEnd::Type</A> t)
<DT><IMG SRC=icon2.gif> int  <B>Snap</B>(int i) const 
<DT><IMG SRC=icon2.gif> void  <B>Snap</B>(<!1><A HREF="Point.html">Point</A> *p)
<DT><IMG SRC=icon2.gif> void  <B>SetStatus</B>(const char *msg)
<DT><IMG SRC=icon2.gif> void  <B>SetStatus</B>(const <!1><A HREF="string.html">string</A> *msg)
<DT><IMG SRC=icon2.gif> void  <B>SetCursor</B>(int cursor)
<DT><IMG SRC=icon2.gif> void  <B>SetSizeCursor</B>(int cursor)
<DT><IMG SRC=icon2.gif> void  <B>Redraw</B>()
<DT><IMG SRC=icon2.gif> <!1><A HREF="ShapeView.html">ShapeView</A>*  <B>GetCurView</B>() const 
<DT><IMG SRC=icon2.gif> void  <B>DeleteAllViews</B>()
<DT><IMG SRC=icon2.gif> unsigned  int  <B>NumberOfViews</B>() const 
<DT><IMG SRC=icon2.gif> bool  <B>AddView</B>(<!1><A HREF="ShapeView.html">ShapeView</A> *v)
<DT><IMG SRC=icon2.gif> void  <B>SetView</B>(<!1><A HREF="ShapeView.html">ShapeView</A> *v)
<DT><IMG SRC=icon2.gif> void  <B>UpdateView</B>(<!1><A HREF="ShapeView.html">ShapeView</A> *v)
<DT><IMG SRC=icon2.gif> bool  <B>HasView</B>(const <!1><A HREF="string.html">string</A> *index)
<DT><IMG SRC=icon2.gif> bool  <B>HasView</B>(<!1><A HREF="ShapeView.html">ShapeView</A> *v)
<DT><IMG SRC=icon2.gif> <!1><A HREF="ShapeView.html">ShapeView</A>*  <B>GetView</B>(const <!1><A HREF="string.html">string</A> *index)
<DT><IMG SRC=icon2.gif> void  <B>CheckShapes</B>()
<DT><IMG SRC=icon2.gif> void  <B>WriteShapes</B>(<!1><A HREF="OutputFile.html">OutputFile</A> *f)
<DT><IMG SRC=icon2.gif> void  <B>WriteSelection</B>(<!1><A HREF="OutputFile.html">OutputFile</A> *f)
<DT><IMG SRC=icon2.gif> void  <B>TextModeOff</B>()
<DT><IMG SRC=icon2.gif> void  <B>DeselectAll</B>()
<DT><IMG SRC=icon2.gif> <!1><A HREF="GShape.html">GShape</A>*  <B>GetShape</B>(<!1><A HREF="Subject.html">Subject</A> *subject)
<DT><IMG SRC=icon2.gif> void  <B>GetShapes</B>(<!1><A HREF="Subject.html">Subject</A> *subject, <!1><A HREF="List.html">List</A><<!1><A HREF="GShape.html">GShape</A> *> *shapes)
<DT><IMG SRC=icon2.gif> virtual  void  <B>Duplicate</B>()
<DT><IMG SRC=icon2.gif> virtual  void  <B>AlignNodeShapes</B>()
<DT><IMG SRC=icon2.gif> virtual  void  <B>UpdateTextUnderline</B>()
<DT><IMG SRC=icon2.gif> virtual  void  <B>DeleteShapes</B>()
<DT><IMG SRC=icon2.gif> void  <B>UpdateTextAlignmentSelection</B>(<!2><A HREF="TextAlign.html#DOC.374.1">TextAlign::Type</A> a)
<DT><IMG SRC=icon2.gif> void  <B>UpdateText</B>(<!1><A HREF="TextShape.html">TextShape</A> *t, const <!1><A HREF="string.html">string</A> *newtext, const <!1><A HREF="string.html">string</A> *oldtext)
<DT><IMG SRC=icon2.gif> void  <B>UpdateLineWidthSelection</B>(unsigned i)
<DT><IMG SRC=icon2.gif> void  <B>UpdateLineStyleSelection</B>(<!2><A HREF="LineStyle.html#DOC.213.1">LineStyle::Type</A> s)
<DT><IMG SRC=icon2.gif> void  <B>UpdateFontSelection</B>(int family, int style, int size)
<DT><IMG SRC=icon2.gif> void  <B>UpdateLineColorSelection</B>(const <!1><A HREF="string.html">string</A> *color)
<DT><IMG SRC=icon2.gif> void  <B>UpdateTextColorSelection</B>(const <!1><A HREF="string.html">string</A> *color)
<DT><IMG SRC=icon2.gif> void  <B>UpdateFillColorSelection</B>(const <!1><A HREF="string.html">string</A> *color, <!2><A HREF="FillStyle.html#DOC.176.1">FillStyle::Type</A> f)
<DT><IMG SRC=icon2.gif> void  <B>CalcSizeElements</B>(<!1><A HREF="Point.html">Point</A> &topLeft, <!1><A HREF="Point.html">Point</A> &bottomRight)
<DT><IMG SRC=icon2.gif> void  <B>CalcSizeSelection</B>(<!1><A HREF="Point.html">Point</A> &topLeft, <!1><A HREF="Point.html">Point</A> &bottomRight)
<DT><IMG SRC=icon2.gif> void  <B>CalcSizeShapes</B>(<!1><A HREF="List.html">List</A><<!1><A HREF="GShape.html">GShape</A> *> *shapes, <!1><A HREF="Point.html">Point</A> &topLeft, <!1><A HREF="Point.html">Point</A> &bottomRight)
<DT><IMG SRC=icon2.gif> void  <B>ShapePositionUpdate</B>(<!1><A HREF="GShape.html">GShape</A> *shape)
<DT><IMG SRC=icon2.gif> void  <B>UpdateDuplicationMarks</B>(<!1><A HREF="List.html">List</A><<!1><A HREF="Subject.html">Subject</A> *> *s)
<DT><IMG SRC=icon2.gif> void  <B>UpdateDuplicationMarks</B>(<!1><A HREF="Subject.html">Subject</A> *s)
<DT><IMG SRC=icon2.gif> void  <B>UpdateMoveShapes</B>(<!1><A HREF="List.html">List</A><<!1><A HREF="GShape.html">GShape</A> *> *shapes, const <!1><A HREF="Point.html">Point</A> *delta)
<DT><IMG SRC=icon2.gif> void  <B>MoveShapes</B>(<!1><A HREF="List.html">List</A><<!1><A HREF="GShape.html">GShape</A> *> *shapes, const <!1><A HREF="Point.html">Point</A> *delta)
<DT><IMG SRC=icon2.gif> virtual  void  <B>UpdateNodeShapeType</B>(int)
<DT><IMG SRC=icon2.gif> void  <B>ConvertNodeShapes</B>()
<DT><IMG SRC=icon2.gif> void  <B>SetIndexes</B>(bool b)
<DT><IMG SRC=icon2.gif> void  <B>Reindex</B>(<!1><A HREF="List.html">List</A><<!1><A HREF="Node.html">Node</A> *> *nodes)
<DT><IMG SRC=icon2.gif> virtual  void  <B>ZoomIn</B>()
<DT><IMG SRC=icon2.gif> void  <B>ZoomOut</B>()
<DT><IMG SRC=icon2.gif> void  <B>TopLevel</B>()
<DT><IMG SRC=icon2.gif> <!1><A HREF="LineEndDialog.html">LineEndDialog</A>*  <B>GetLineEndDialog</B>()
<DT><IMG SRC=icon2.gif> void  <B>UpdateLineEnd</B>()
<DT><IMG SRC=icon2.gif> void  <B>ShowDefaultLineEnd</B>()
<DT><IMG SRC=icon2.gif> void  <B>UpdateLineEndSelection</B>(<!2><A HREF="LineEnd.html#DOC.209.1">LineEnd::Type</A> e1, <!2><A HREF="LineEnd.html#DOC.209.1">LineEnd::Type</A> e2)
<DT><IMG SRC=icon2.gif> <!1><A HREF="NodeAlignmentDialog.html">NodeAlignmentDialog</A>*  <B>GetNodeAlignmentDialog</B>()
<DT><IMG SRC=icon2.gif> void  <B>ShowDefaultNodeAlignment</B>()
<DT><IMG SRC=icon2.gif> <!1><A HREF="NodeShapeDialog.html">NodeShapeDialog</A>*  <B>GetNodeShapeDialog</B>()
<DT><IMG SRC=icon2.gif> void  <B>ShowDefaultNodeShape</B>()
</DL><DL>
<DT><h3>Protected Methods</h3><DD><DT><IMG SRC=icon2.gif> <!1><A HREF="List.html">List</A> <<!1><A HREF="ShapeView.html">ShapeView</A> *> *  <B>GetViews</B>() const 
<DT><IMG SRC=icon2.gif> void  <B>EmptySelectionMessage</B>()
<DT><IMG SRC=icon2.gif> void  <B>EmptyShapesMessage</B>()
</DL></DL>
<hr><H3>Inherited from <A HREF = "Viewer.html"> Viewer:</A></h3>

<DL>
<DL>
<DT><h3>Public Fields</h3><DD><DT><IMG SRC=icon2.gif> static  const  int  <B>MIN_LINE_WIDTH</B>
<DT><IMG SRC=icon2.gif> static  const  int  <B>MAX_LINE_WIDTH</B>
</DL><DL>
<DT><h3>Public Methods</h3><DD><DT><IMG SRC=icon2.gif> <!1><A HREF="Scaler.html">Scaler</A>*  <B>GetScaler</B>() const 
<DT><IMG SRC=icon2.gif> <!1><A HREF="Command.html">Command</A>*  <B>GetLastCmd</B>()
<DT><IMG SRC=icon2.gif> <!1><A HREF="DrawWindow.html">DrawWindow</A>*  <B>GetMainWindow</B>() const 
<DT><IMG SRC=icon2.gif> <!1><A HREF="Grafport.html">Grafport</A>*  <B>GetGrafport</B>() const 
<DT><IMG SRC=icon2.gif> <!1><A HREF="Printer.html">Printer</A>*  <B>GetPrinter</B>() const 
<DT><IMG SRC=icon2.gif> void  <B>SetPrinter</B>(<!1><A HREF="Printer.html">Printer</A> *p)
<DT><IMG SRC=icon2.gif> <!1><A HREF="NToggleListDialog.html">NToggleListDialog</A>*  <B>GetLineWidthDialog</B>()
<DT><IMG SRC=icon2.gif> <!1><A HREF="NToggleListDialog.html">NToggleListDialog</A>*  <B>GetLineStyleDialog</B>()
<DT><IMG SRC=icon2.gif> <!1><A HREF="NToggleListDialog.html">NToggleListDialog</A>*  <B>GetTextAlignmentDialog</B>()
<DT><IMG SRC=icon2.gif> <!1><A HREF="FontChooserDialog.html">FontChooserDialog</A>*  <B>GetFontChooserDialog</B>()
<DT><IMG SRC=icon2.gif> <!1><A HREF="FileSelectionDialog.html">FileSelectionDialog</A>*  <B>GetPrintFileSelectionDialog</B>()
<DT><IMG SRC=icon2.gif> <!1><A HREF="ColorChooserDialog.html">ColorChooserDialog</A>*  <B>GetColorChooserDialog</B>()
<DT><IMG SRC=icon2.gif> int  <B>Scale</B>(int x) const 
<DT><IMG SRC=icon2.gif> <!1><A HREF="Point.html">Point</A>  <B>Scale</B>(const <!1><A HREF="Point.html">Point</A> *p) const 
<DT><IMG SRC=icon2.gif> int  <B>ScaleCorrect</B>(int x) const 
<DT><IMG SRC=icon2.gif> <!1><A HREF="Point.html">Point</A>  <B>ScaleCorrect</B>(const <!1><A HREF="Point.html">Point</A> *p) const 
<DT><IMG SRC=icon2.gif> void  <B>Undo</B>()
<DT><IMG SRC=icon2.gif> void  <B>Redo</B>()
<DT><IMG SRC=icon2.gif> void  <B>Refresh</B>()
<DT><IMG SRC=icon2.gif> virtual  void  <B>Activate</B>()
<DT><IMG SRC=icon2.gif> virtual  void  <B>Deactivate</B>()
<DT><IMG SRC=icon2.gif> void  <B>SetDefaultLineWidth</B>(unsigned d)
<DT><IMG SRC=icon2.gif> int  <B>GetDefaultLineWidth</B>()
<DT><IMG SRC=icon2.gif> void  <B>UpdateLineWidth</B>()
<DT><IMG SRC=icon2.gif> void  <B>DefaultLineWidth</B>()
<DT><IMG SRC=icon2.gif> void  <B>ShowDefaultLineWidth</B>()
<DT><IMG SRC=icon2.gif> void  <B>ShowConfigLineWidth</B>()
<DT><IMG SRC=icon2.gif> void  <B>SetDefaultLineStyle</B>(<!2><A HREF="LineStyle.html#DOC.213.1">LineStyle::Type</A> l)
<DT><IMG SRC=icon2.gif> <!2><A HREF="LineStyle.html#DOC.213.1">LineStyle::Type</A>  <B>GetDefaultLineStyle</B>()
<DT><IMG SRC=icon2.gif> void  <B>UpdateLineStyle</B>()
<DT><IMG SRC=icon2.gif> void  <B>DefaultLineStyle</B>()
<DT><IMG SRC=icon2.gif> void  <B>ShowDefaultLineStyle</B>()
<DT><IMG SRC=icon2.gif> void  <B>ShowConfigLineStyle</B>()
<DT><IMG SRC=icon2.gif> void  <B>SetDefaultLineColor</B>(const <!1><A HREF="string.html">string</A> *s)
<DT><IMG SRC=icon2.gif> const  <!1><A HREF="string.html">string</A>*  <B>GetDefaultLineColor</B>()
<DT><IMG SRC=icon2.gif> void  <B>SetDefaultTextColor</B>(const <!1><A HREF="string.html">string</A> *s)
<DT><IMG SRC=icon2.gif> const  <!1><A HREF="string.html">string</A>*  <B>GetDefaultTextColor</B>()
<DT><IMG SRC=icon2.gif> void  <B>SetDefaultFillColor</B>(const <!1><A HREF="string.html">string</A> *s)
<DT><IMG SRC=icon2.gif> const  <!1><A HREF="string.html">string</A>*  <B>GetDefaultFillColor</B>()
<DT><IMG SRC=icon2.gif> <!2><A HREF="FillStyle.html#DOC.176.1">FillStyle::Type</A>  <B>GetDefaultFillStyle</B>() const 
<DT><IMG SRC=icon2.gif> void  <B>SetDefaultFillStyle</B>(<!2><A HREF="FillStyle.html#DOC.176.1">FillStyle::Type</A> l)
<DT><IMG SRC=icon2.gif> void  <B>UpdateLineColor</B>()
<DT><IMG SRC=icon2.gif> void  <B>DefaultLineColor</B>()
<DT><IMG SRC=icon2.gif> void  <B>ShowDefaultLineColor</B>()
<DT><IMG SRC=icon2.gif> void  <B>ShowConfigLineColor</B>()
<DT><IMG SRC=icon2.gif> void  <B>UpdateTextColor</B>()
<DT><IMG SRC=icon2.gif> void  <B>DefaultTextColor</B>()
<DT><IMG SRC=icon2.gif> void  <B>ShowDefaultTextColor</B>()
<DT><IMG SRC=icon2.gif> void  <B>ShowConfigTextColor</B>()
<DT><IMG SRC=icon2.gif> void  <B>UpdateFillColor</B>()
<DT><IMG SRC=icon2.gif> void  <B>DefaultFillColor</B>()
<DT><IMG SRC=icon2.gif> void  <B>ShowDefaultFillColor</B>()
<DT><IMG SRC=icon2.gif> void  <B>ShowConfigFillColor</B>()
<DT><IMG SRC=icon2.gif> <!1><A HREF="XFont.html">XFont</A>*  <B>GetDefaultFont</B>() const 
<DT><IMG SRC=icon2.gif> void  <B>SetDefaultFontAttributes</B>(int f, int s, int p)
<DT><IMG SRC=icon2.gif> virtual  void  <B>SetDefaultFont</B>(<!1><A HREF="XFont.html">XFont</A> *ft)
<DT><IMG SRC=icon2.gif> void  <B>UpdateFont</B>()
<DT><IMG SRC=icon2.gif> void  <B>DefaultFont</B>()
<DT><IMG SRC=icon2.gif> void  <B>ShowDefaultFont</B>()
<DT><IMG SRC=icon2.gif> void  <B>ShowConfigFont</B>()
<DT><IMG SRC=icon2.gif> <!1><A HREF="XFont.html">XFont</A>*  <B>GetFont</B>(int family, int style, int size)
<DT><IMG SRC=icon2.gif> <!1><A HREF="XFont.html">XFont</A>*  <B>GetFont</B>(const char *description)
<DT><IMG SRC=icon2.gif> void  <B>UpdateTextAlignment</B>()
<DT><IMG SRC=icon2.gif> void  <B>DefaultTextAlignment</B>()
<DT><IMG SRC=icon2.gif> void  <B>ShowDefaultTextAlignment</B>()
<DT><IMG SRC=icon2.gif> void  <B>ShowConfigTextAlignment</B>()
<DT><IMG SRC=icon2.gif> <!2><A HREF="TextAlign.html#DOC.374.1">TextAlign::Type</A>  <B>GetDefaultTextAlignment</B>() const 
<DT><IMG SRC=icon2.gif> void  <B>SetDefaultTextAlignment</B>(<!2><A HREF="TextAlign.html#DOC.374.1">TextAlign::Type</A> a)
<DT><IMG SRC=icon2.gif> void  <B>EditText</B>(int key)
<DT><IMG SRC=icon2.gif> bool  <B>IsAutoResize</B>() const 
<DT><IMG SRC=icon2.gif> void  <B>SetAutoResize</B>(bool s)
<DT><IMG SRC=icon2.gif> bool  <B>IsInlineEdit</B>() const 
<DT><IMG SRC=icon2.gif> void  <B>SetInlineEdit</B>(bool s)
<DT><IMG SRC=icon2.gif> bool  <B>IsPasting</B>() const 
<DT><IMG SRC=icon2.gif> void  <B>SetPasting</B>(bool b)
<DT><IMG SRC=icon2.gif> bool  <B>IsZigZag</B>() const 
<DT><IMG SRC=icon2.gif> void  <B>SetZigZag</B>(bool b)
<DT><IMG SRC=icon2.gif> bool  <B>IsEditing</B>() const 
<DT><IMG SRC=icon2.gif> void  <B>DoubleClick</B>()
<DT><IMG SRC=icon2.gif> void  <B>DoFunctionKey</B>(int)
<DT><IMG SRC=icon2.gif> void  <B>NewCommand</B>(<!1><A HREF="Command.html">Command</A> *newCmd)
<DT><IMG SRC=icon2.gif> void  <B>AbortCommand</B>()
<DT><IMG SRC=icon2.gif> void  <B>ExecuteCommand</B>()
<DT><IMG SRC=icon2.gif> void  <B>UndoCommand</B>()
<DT><IMG SRC=icon2.gif> void  <B>RedoCommand</B>()
<DT><IMG SRC=icon2.gif> void  <B>DeleteCommands</B>()
<DT><IMG SRC=icon2.gif> void  <B>GetPageSize</B>(double &width, double &height)
<DT><IMG SRC=icon2.gif> void  <B>Save</B>(<!1><A HREF="OutputFile.html">OutputFile</A> *f)
<DT><IMG SRC=icon2.gif> bool  <B>Load</B>(<!1><A HREF="InputFile.html">InputFile</A> *f, double format)
<DT><IMG SRC=icon2.gif> bool  <B>Check</B>(<!1><A HREF="InputFile.html">InputFile</A> *f, double format)
</DL><DL>
<DT><h3>Protected Methods</h3><DD><DT><IMG SRC=icon2.gif> void  <B>ClearGrafport</B>()
<DT><IMG SRC=icon2.gif> <!1><A HREF="InlineEditor.html">InlineEditor</A>*  <B>GetInlineEditor</B>() const 
<DT><IMG SRC=icon2.gif> void  <B>SetInlineEditor</B>(<!1><A HREF="InlineEditor.html">InlineEditor</A> *i)
<DT><IMG SRC=icon2.gif> void  <B>SetEditing</B>(bool b)
</DL></DL>
<A NAME="DOC.DOCU">
<hr>
 <h2> Documentation </h2>
<BLOCKQUOTE>
 generic textual tree viewer class.

</BLOCKQUOTE>
<DL>

<A NAME="TRViewer">
<A NAME ="DOC.395.1">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B>  TRViewer(<!1><A HREF="Config.html">Config</A> *c, <!1><A HREF="TRWindow.html">TRWindow</A> *w)</B></TT>
<DL></DL><P>
<A NAME="Initialize">
<A NAME ="DOC.395.2">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  Initialize()</B></TT>
<DL></DL><P>
<A NAME="Draw">
<A NAME ="DOC.395.3">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  Draw()</B></TT>
<DL></DL><P>
<A NAME="Undraw">
<A NAME ="DOC.395.4">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  Undraw()</B></TT>
<DL></DL><P>
<A NAME="UpdateTreeMode">
<A NAME ="DOC.395.5">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  UpdateTreeMode(bool newMode)</B></TT>
<DL></DL><P>
<A NAME="IsTreeMode">
<A NAME ="DOC.395.6">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool  IsTreeMode()</B></TT>
<DL></DL><P>
<A NAME="DrawTreeFork">
<A NAME ="DOC.395.7">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  DrawTreeFork(<!1><A HREF="Shape.html">Shape</A> *parent, <!1><A HREF="List.html">List</A><<!1><A HREF="Shape.html">Shape</A> *> *children)</B></TT>
<DL></DL><P>
<A NAME="Select">
<A NAME ="DOC.395.8">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  Select(int x, int y)</B></TT>
<DL></DL><P>
<A NAME="Adjust">
<A NAME ="DOC.395.9">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  Adjust(int x, int y)</B></TT>
<DL></DL><P>
<A NAME="MovingPointer">
<A NAME ="DOC.395.10">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  MovingPointer(int x, int y)</B></TT>
<DL></DL><P>
<A NAME="KeyTyped">
<A NAME ="DOC.395.11">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  KeyTyped(int x, int y, int c)</B></TT>
<DL></DL><P>
<A NAME="Drag">
<A NAME ="DOC.395.12">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="Command.html">Command</A>*  Drag(int x, int y)</B></TT>
<DL></DL><P>
<A NAME="Connect">
<A NAME ="DOC.395.13">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="Command.html">Command</A>*  Connect(int x, int y)</B></TT>
<DL></DL><P>
<A NAME="Cut">
<A NAME ="DOC.395.14">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  Cut()</B></TT>
<DL></DL><P>
<A NAME="Copy">
<A NAME ="DOC.395.15">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  Copy()</B></TT>
<DL></DL><P>
<A NAME="Paste">
<A NAME ="DOC.395.16">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  Paste()</B></TT>
<DL></DL><P>
<A NAME="DeleteAll">
<A NAME ="DOC.395.17">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  DeleteAll()</B></TT>
<DL></DL><P>
<A NAME="SelectAll">
<A NAME ="DOC.395.18">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  SelectAll()</B></TT>
<DL></DL><P>
<A NAME="DeleteSubjects">
<A NAME ="DOC.395.19">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  DeleteSubjects()</B></TT>
<DL></DL><P>
<A NAME="SameSize">
<A NAME ="DOC.395.20">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  SameSize()</B></TT>
<DL></DL><P>
<A NAME="AlignNodes">
<A NAME ="DOC.395.21">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  AlignNodes(<!2><A HREF="NodeAlign.html#DOC.238.1">NodeAlign::Type</A>)</B></TT>
<DL></DL><P>
<A NAME="Annotate">
<A NAME ="DOC.395.22">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  Annotate()</B></TT>
<DL></DL><P>
<A NAME="UpdateCurve">
<A NAME ="DOC.395.23">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  UpdateCurve()</B></TT>
<DL></DL><P>
<A NAME="MoveAllShapes">
<A NAME ="DOC.395.24">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  MoveAllShapes(<!2><A HREF="Document.html#DOC.118.42">Document::MoveType</A> t)</B></TT>
<DL></DL><P>
<A NAME="FindAll">
<A NAME ="DOC.395.25">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  FindAll(const <!1><A HREF="string.html">string</A> *s, bool sens, bool substr, bool nameOnly)</B></TT>
<DD> 
<DL></DL><P>
<A NAME="FindNext">
<A NAME ="DOC.395.26">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  FindNext(const <!1><A HREF="string.html">string</A> *s, bool sens, bool substr, bool nameOnly)</B></TT>
<DD> 
<DL></DL><P>
<A NAME="ReplaceNext">
<A NAME ="DOC.395.27">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  ReplaceNext(const <!1><A HREF="string.html">string</A> *s1, const <!1><A HREF="string.html">string</A> *s2, bool sens, bool substr, bool nameOnly)</B></TT>
<DD> 
<DL></DL><P>
<A NAME="ReplaceAll">
<A NAME ="DOC.395.28">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  ReplaceAll(const <!1><A HREF="string.html">string</A> *s1, const <!1><A HREF="string.html">string</A> *s2, bool sens, bool substr, bool nameOnly)</B></TT>
<DD> 
<DL></DL><P>
<A NAME="DirectionType">
<A NAME ="DOC.395.29">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B>  enum  DirectionType</B></TT>
<DL></DL><P>
<A NAME="DrawTreeMode">
<A NAME ="DOC.395.30">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  DrawTreeMode()</B></TT>
<DL></DL><P>
<A NAME="DrawNormalMode">
<A NAME ="DOC.395.31">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  DrawNormalMode()</B></TT>
<DL></DL><P>
<A NAME="DrawVerticalTreeFork">
<A NAME ="DOC.395.32">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  DrawVerticalTreeFork(<!1><A HREF="Shape.html">Shape</A> *parent, <!1><A HREF="List.html">List</A><<!1><A HREF="Shape.html">Shape</A> *> *children, <!2><A HREF="TRViewer.html#DOC.395.29">TRViewer::DirectionType</A> d)</B></TT>
<DL></DL><P>
<A NAME="DrawHorizontalTreeFork">
<A NAME ="DOC.395.33">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  DrawHorizontalTreeFork(<!1><A HREF="Shape.html">Shape</A> *parent, <!1><A HREF="List.html">List</A><<!1><A HREF="Shape.html">Shape</A> *> *children, <!2><A HREF="TRViewer.html#DOC.395.29">TRViewer::DirectionType</A> d)</B></TT>
<DL></DL><P></DL>
<hr>
<DL><DT><B>Direct child classes:
</B><DD><A HREF="FDViewer.html"> FDViewer </A><br>
</DL>
<DL></DL><P><I><A HREF="aindex.html"> alphabetic index</A></I>  <I><A HREF="HIER.html"> hierarchy of classes</A></I><P><hr>
<A HREF="http://www.zib.de/Visual/software/doc++/index.html"><IMG BORDER=0 ALIGN=RIGHT SRC=logo.gif></A>
<P Align=Center><I>this page has been generated automatically by doc++</I>
<P Align=Center><I>(c)opyright by <A HREF="http://www.zib.de/zoeckler/"> Malte  Z&ouml;ckler</A>, <A HREF="mailto:wunderling@zib.de"> Roland Wunderling </A><br>contact: <A HREF="mailto:doc++@zib.de"> doc++@zib.de</a></I>
</BODY>