1
<html><head><TITLE>TRViewer</TITLE></head>
3
<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>
4
generic textual tree viewer class.
8
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=125>
9
<param name=classes value="CViewer,MViewer.html,CDiagramViewer,MDiagramViewer.html,CTRViewer,MTRViewer.html,CFDViewer,MFDViewer.html">
10
<param name=before value="M,M,M,M^_">
11
<param name=after value="Md_SP,Md_,M,M">
12
<param name=indent value="0,1,2,2">
13
<param name=arrowdir value="down">
19
<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>
21
</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>
23
</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>
25
</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>
27
</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>
29
</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>
31
</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>
33
</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>
35
</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>
37
</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>
39
</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>
41
</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>
43
</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>
45
</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>
47
</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>
49
</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>
51
</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>
53
</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>
55
</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>
57
</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>
59
</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>
61
</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>
63
</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>
65
</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>
67
</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>
69
</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>
71
</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>
73
</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>
75
</TD></TR></TABLE><TABLE>
76
<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>
78
</TD></TR></TABLE><TABLE>
79
<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>
81
</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>
83
</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>
85
</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>
87
</TD></TR></TABLE></DL>
88
<hr><H3>Inherited from <A HREF="DiagramViewer.html">DiagramViewer:</A></h3>
92
<DT><h3>Public Methods</h3><DD><DT><IMG SRC=icon2.gif> void <B>SetDiagram</B>(<!1><A HREF="Diagram.html">Diagram</A> *d)
93
<DT><IMG SRC=icon2.gif> <!1><A HREF="Diagram.html">Diagram</A>* <B>GetDiagram</B>() const
94
<DT><IMG SRC=icon2.gif> void <B>SetGrafport</B>(<!1><A HREF="Grafport.html">Grafport</A> *g)
95
<DT><IMG SRC=icon2.gif> <!1><A HREF="Buffer.html">Buffer</A>* <B>GetBuffer</B>() const
96
<DT><IMG SRC=icon2.gif> <!1><A HREF="Grid.html">Grid</A>* <B>GetGrid</B>() const
97
<DT><IMG SRC=icon2.gif> int <B>GetDefaultNodeType</B>() const
98
<DT><IMG SRC=icon2.gif> int <B>GetDefaultEdgeType</B>() const
99
<DT><IMG SRC=icon2.gif> int <B>GetDefaultNodeShapeType</B>() const
100
<DT><IMG SRC=icon2.gif> int <B>GetDefaultLineType</B>() const
101
<DT><IMG SRC=icon2.gif> bool <B>IsDefaultCurve</B>() const
102
<DT><IMG SRC=icon2.gif> void <B>SetDefaultNodeType</B>(int n)
103
<DT><IMG SRC=icon2.gif> void <B>SetDefaultEdgeType</B>(int n)
104
<DT><IMG SRC=icon2.gif> void <B>SetDefaultNodeShapeType</B>(int n)
105
<DT><IMG SRC=icon2.gif> void <B>SetDefaultLineType</B>(int n)
106
<DT><IMG SRC=icon2.gif> void <B>SetDefaultCurve</B>(bool s)
107
<DT><IMG SRC=icon2.gif> void <B>SetShowIndexes</B>(bool b)
108
<DT><IMG SRC=icon2.gif> bool <B>IsShowIndexes</B>()
109
<DT><IMG SRC=icon2.gif> <!2><A HREF="LineStyle.html#DOC.213.1">LineStyle::Type</A> <B>GetDefaultNodeLineStyle</B>() const
110
<DT><IMG SRC=icon2.gif> <!2><A HREF="LineStyle.html#DOC.213.1">LineStyle::Type</A> <B>GetDefaultEdgeLineStyle</B>() const
111
<DT><IMG SRC=icon2.gif> void <B>SetDefaultNodeLineStyle</B>(<!2><A HREF="LineStyle.html#DOC.213.1">LineStyle::Type</A> l)
112
<DT><IMG SRC=icon2.gif> void <B>SetDefaultEdgeLineStyle</B>(<!2><A HREF="LineStyle.html#DOC.213.1">LineStyle::Type</A> l)
113
<DT><IMG SRC=icon2.gif> <!2><A HREF="LineEnd.html#DOC.209.1">LineEnd::Type</A> <B>GetDefaultLineEnd1</B>()
114
<DT><IMG SRC=icon2.gif> <!2><A HREF="LineEnd.html#DOC.209.1">LineEnd::Type</A> <B>GetDefaultLineEnd2</B>()
115
<DT><IMG SRC=icon2.gif> void <B>SetDefaultLineEnd1</B>(<!2><A HREF="LineEnd.html#DOC.209.1">LineEnd::Type</A> t)
116
<DT><IMG SRC=icon2.gif> void <B>SetDefaultLineEnd2</B>(<!2><A HREF="LineEnd.html#DOC.209.1">LineEnd::Type</A> t)
117
<DT><IMG SRC=icon2.gif> int <B>Snap</B>(int i) const
118
<DT><IMG SRC=icon2.gif> void <B>Snap</B>(<!1><A HREF="Point.html">Point</A> *p)
119
<DT><IMG SRC=icon2.gif> void <B>SetStatus</B>(const char *msg)
120
<DT><IMG SRC=icon2.gif> void <B>SetStatus</B>(const <!1><A HREF="string.html">string</A> *msg)
121
<DT><IMG SRC=icon2.gif> void <B>SetCursor</B>(int cursor)
122
<DT><IMG SRC=icon2.gif> void <B>SetSizeCursor</B>(int cursor)
123
<DT><IMG SRC=icon2.gif> void <B>Redraw</B>()
124
<DT><IMG SRC=icon2.gif> <!1><A HREF="ShapeView.html">ShapeView</A>* <B>GetCurView</B>() const
125
<DT><IMG SRC=icon2.gif> void <B>DeleteAllViews</B>()
126
<DT><IMG SRC=icon2.gif> unsigned int <B>NumberOfViews</B>() const
127
<DT><IMG SRC=icon2.gif> bool <B>AddView</B>(<!1><A HREF="ShapeView.html">ShapeView</A> *v)
128
<DT><IMG SRC=icon2.gif> void <B>SetView</B>(<!1><A HREF="ShapeView.html">ShapeView</A> *v)
129
<DT><IMG SRC=icon2.gif> void <B>UpdateView</B>(<!1><A HREF="ShapeView.html">ShapeView</A> *v)
130
<DT><IMG SRC=icon2.gif> bool <B>HasView</B>(const <!1><A HREF="string.html">string</A> *index)
131
<DT><IMG SRC=icon2.gif> bool <B>HasView</B>(<!1><A HREF="ShapeView.html">ShapeView</A> *v)
132
<DT><IMG SRC=icon2.gif> <!1><A HREF="ShapeView.html">ShapeView</A>* <B>GetView</B>(const <!1><A HREF="string.html">string</A> *index)
133
<DT><IMG SRC=icon2.gif> void <B>CheckShapes</B>()
134
<DT><IMG SRC=icon2.gif> void <B>WriteShapes</B>(<!1><A HREF="OutputFile.html">OutputFile</A> *f)
135
<DT><IMG SRC=icon2.gif> void <B>WriteSelection</B>(<!1><A HREF="OutputFile.html">OutputFile</A> *f)
136
<DT><IMG SRC=icon2.gif> void <B>TextModeOff</B>()
137
<DT><IMG SRC=icon2.gif> void <B>DeselectAll</B>()
138
<DT><IMG SRC=icon2.gif> <!1><A HREF="GShape.html">GShape</A>* <B>GetShape</B>(<!1><A HREF="Subject.html">Subject</A> *subject)
139
<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)
140
<DT><IMG SRC=icon2.gif> virtual void <B>Duplicate</B>()
141
<DT><IMG SRC=icon2.gif> virtual void <B>AlignNodeShapes</B>()
142
<DT><IMG SRC=icon2.gif> virtual void <B>UpdateTextUnderline</B>()
143
<DT><IMG SRC=icon2.gif> virtual void <B>DeleteShapes</B>()
144
<DT><IMG SRC=icon2.gif> void <B>UpdateTextAlignmentSelection</B>(<!2><A HREF="TextAlign.html#DOC.374.1">TextAlign::Type</A> a)
145
<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)
146
<DT><IMG SRC=icon2.gif> void <B>UpdateLineWidthSelection</B>(unsigned i)
147
<DT><IMG SRC=icon2.gif> void <B>UpdateLineStyleSelection</B>(<!2><A HREF="LineStyle.html#DOC.213.1">LineStyle::Type</A> s)
148
<DT><IMG SRC=icon2.gif> void <B>UpdateFontSelection</B>(int family, int style, int size)
149
<DT><IMG SRC=icon2.gif> void <B>UpdateLineColorSelection</B>(const <!1><A HREF="string.html">string</A> *color)
150
<DT><IMG SRC=icon2.gif> void <B>UpdateTextColorSelection</B>(const <!1><A HREF="string.html">string</A> *color)
151
<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)
152
<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)
153
<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)
154
<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)
155
<DT><IMG SRC=icon2.gif> void <B>ShapePositionUpdate</B>(<!1><A HREF="GShape.html">GShape</A> *shape)
156
<DT><IMG SRC=icon2.gif> void <B>UpdateDuplicationMarks</B>(<!1><A HREF="List.html">List</A><<!1><A HREF="Subject.html">Subject</A> *> *s)
157
<DT><IMG SRC=icon2.gif> void <B>UpdateDuplicationMarks</B>(<!1><A HREF="Subject.html">Subject</A> *s)
158
<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)
159
<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)
160
<DT><IMG SRC=icon2.gif> virtual void <B>UpdateNodeShapeType</B>(int)
161
<DT><IMG SRC=icon2.gif> void <B>ConvertNodeShapes</B>()
162
<DT><IMG SRC=icon2.gif> void <B>SetIndexes</B>(bool b)
163
<DT><IMG SRC=icon2.gif> void <B>Reindex</B>(<!1><A HREF="List.html">List</A><<!1><A HREF="Node.html">Node</A> *> *nodes)
164
<DT><IMG SRC=icon2.gif> virtual void <B>ZoomIn</B>()
165
<DT><IMG SRC=icon2.gif> void <B>ZoomOut</B>()
166
<DT><IMG SRC=icon2.gif> void <B>TopLevel</B>()
167
<DT><IMG SRC=icon2.gif> <!1><A HREF="LineEndDialog.html">LineEndDialog</A>* <B>GetLineEndDialog</B>()
168
<DT><IMG SRC=icon2.gif> void <B>UpdateLineEnd</B>()
169
<DT><IMG SRC=icon2.gif> void <B>ShowDefaultLineEnd</B>()
170
<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)
171
<DT><IMG SRC=icon2.gif> <!1><A HREF="NodeAlignmentDialog.html">NodeAlignmentDialog</A>* <B>GetNodeAlignmentDialog</B>()
172
<DT><IMG SRC=icon2.gif> void <B>ShowDefaultNodeAlignment</B>()
173
<DT><IMG SRC=icon2.gif> <!1><A HREF="NodeShapeDialog.html">NodeShapeDialog</A>* <B>GetNodeShapeDialog</B>()
174
<DT><IMG SRC=icon2.gif> void <B>ShowDefaultNodeShape</B>()
176
<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
177
<DT><IMG SRC=icon2.gif> void <B>EmptySelectionMessage</B>()
178
<DT><IMG SRC=icon2.gif> void <B>EmptyShapesMessage</B>()
180
<hr><H3>Inherited from <A HREF = "Viewer.html"> Viewer:</A></h3>
184
<DT><h3>Public Fields</h3><DD><DT><IMG SRC=icon2.gif> static const int <B>MIN_LINE_WIDTH</B>
185
<DT><IMG SRC=icon2.gif> static const int <B>MAX_LINE_WIDTH</B>
187
<DT><h3>Public Methods</h3><DD><DT><IMG SRC=icon2.gif> <!1><A HREF="Scaler.html">Scaler</A>* <B>GetScaler</B>() const
188
<DT><IMG SRC=icon2.gif> <!1><A HREF="Command.html">Command</A>* <B>GetLastCmd</B>()
189
<DT><IMG SRC=icon2.gif> <!1><A HREF="DrawWindow.html">DrawWindow</A>* <B>GetMainWindow</B>() const
190
<DT><IMG SRC=icon2.gif> <!1><A HREF="Grafport.html">Grafport</A>* <B>GetGrafport</B>() const
191
<DT><IMG SRC=icon2.gif> <!1><A HREF="Printer.html">Printer</A>* <B>GetPrinter</B>() const
192
<DT><IMG SRC=icon2.gif> void <B>SetPrinter</B>(<!1><A HREF="Printer.html">Printer</A> *p)
193
<DT><IMG SRC=icon2.gif> <!1><A HREF="NToggleListDialog.html">NToggleListDialog</A>* <B>GetLineWidthDialog</B>()
194
<DT><IMG SRC=icon2.gif> <!1><A HREF="NToggleListDialog.html">NToggleListDialog</A>* <B>GetLineStyleDialog</B>()
195
<DT><IMG SRC=icon2.gif> <!1><A HREF="NToggleListDialog.html">NToggleListDialog</A>* <B>GetTextAlignmentDialog</B>()
196
<DT><IMG SRC=icon2.gif> <!1><A HREF="FontChooserDialog.html">FontChooserDialog</A>* <B>GetFontChooserDialog</B>()
197
<DT><IMG SRC=icon2.gif> <!1><A HREF="FileSelectionDialog.html">FileSelectionDialog</A>* <B>GetPrintFileSelectionDialog</B>()
198
<DT><IMG SRC=icon2.gif> <!1><A HREF="ColorChooserDialog.html">ColorChooserDialog</A>* <B>GetColorChooserDialog</B>()
199
<DT><IMG SRC=icon2.gif> int <B>Scale</B>(int x) const
200
<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
201
<DT><IMG SRC=icon2.gif> int <B>ScaleCorrect</B>(int x) const
202
<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
203
<DT><IMG SRC=icon2.gif> void <B>Undo</B>()
204
<DT><IMG SRC=icon2.gif> void <B>Redo</B>()
205
<DT><IMG SRC=icon2.gif> void <B>Refresh</B>()
206
<DT><IMG SRC=icon2.gif> virtual void <B>Activate</B>()
207
<DT><IMG SRC=icon2.gif> virtual void <B>Deactivate</B>()
208
<DT><IMG SRC=icon2.gif> void <B>SetDefaultLineWidth</B>(unsigned d)
209
<DT><IMG SRC=icon2.gif> int <B>GetDefaultLineWidth</B>()
210
<DT><IMG SRC=icon2.gif> void <B>UpdateLineWidth</B>()
211
<DT><IMG SRC=icon2.gif> void <B>DefaultLineWidth</B>()
212
<DT><IMG SRC=icon2.gif> void <B>ShowDefaultLineWidth</B>()
213
<DT><IMG SRC=icon2.gif> void <B>ShowConfigLineWidth</B>()
214
<DT><IMG SRC=icon2.gif> void <B>SetDefaultLineStyle</B>(<!2><A HREF="LineStyle.html#DOC.213.1">LineStyle::Type</A> l)
215
<DT><IMG SRC=icon2.gif> <!2><A HREF="LineStyle.html#DOC.213.1">LineStyle::Type</A> <B>GetDefaultLineStyle</B>()
216
<DT><IMG SRC=icon2.gif> void <B>UpdateLineStyle</B>()
217
<DT><IMG SRC=icon2.gif> void <B>DefaultLineStyle</B>()
218
<DT><IMG SRC=icon2.gif> void <B>ShowDefaultLineStyle</B>()
219
<DT><IMG SRC=icon2.gif> void <B>ShowConfigLineStyle</B>()
220
<DT><IMG SRC=icon2.gif> void <B>SetDefaultLineColor</B>(const <!1><A HREF="string.html">string</A> *s)
221
<DT><IMG SRC=icon2.gif> const <!1><A HREF="string.html">string</A>* <B>GetDefaultLineColor</B>()
222
<DT><IMG SRC=icon2.gif> void <B>SetDefaultTextColor</B>(const <!1><A HREF="string.html">string</A> *s)
223
<DT><IMG SRC=icon2.gif> const <!1><A HREF="string.html">string</A>* <B>GetDefaultTextColor</B>()
224
<DT><IMG SRC=icon2.gif> void <B>SetDefaultFillColor</B>(const <!1><A HREF="string.html">string</A> *s)
225
<DT><IMG SRC=icon2.gif> const <!1><A HREF="string.html">string</A>* <B>GetDefaultFillColor</B>()
226
<DT><IMG SRC=icon2.gif> <!2><A HREF="FillStyle.html#DOC.176.1">FillStyle::Type</A> <B>GetDefaultFillStyle</B>() const
227
<DT><IMG SRC=icon2.gif> void <B>SetDefaultFillStyle</B>(<!2><A HREF="FillStyle.html#DOC.176.1">FillStyle::Type</A> l)
228
<DT><IMG SRC=icon2.gif> void <B>UpdateLineColor</B>()
229
<DT><IMG SRC=icon2.gif> void <B>DefaultLineColor</B>()
230
<DT><IMG SRC=icon2.gif> void <B>ShowDefaultLineColor</B>()
231
<DT><IMG SRC=icon2.gif> void <B>ShowConfigLineColor</B>()
232
<DT><IMG SRC=icon2.gif> void <B>UpdateTextColor</B>()
233
<DT><IMG SRC=icon2.gif> void <B>DefaultTextColor</B>()
234
<DT><IMG SRC=icon2.gif> void <B>ShowDefaultTextColor</B>()
235
<DT><IMG SRC=icon2.gif> void <B>ShowConfigTextColor</B>()
236
<DT><IMG SRC=icon2.gif> void <B>UpdateFillColor</B>()
237
<DT><IMG SRC=icon2.gif> void <B>DefaultFillColor</B>()
238
<DT><IMG SRC=icon2.gif> void <B>ShowDefaultFillColor</B>()
239
<DT><IMG SRC=icon2.gif> void <B>ShowConfigFillColor</B>()
240
<DT><IMG SRC=icon2.gif> <!1><A HREF="XFont.html">XFont</A>* <B>GetDefaultFont</B>() const
241
<DT><IMG SRC=icon2.gif> void <B>SetDefaultFontAttributes</B>(int f, int s, int p)
242
<DT><IMG SRC=icon2.gif> virtual void <B>SetDefaultFont</B>(<!1><A HREF="XFont.html">XFont</A> *ft)
243
<DT><IMG SRC=icon2.gif> void <B>UpdateFont</B>()
244
<DT><IMG SRC=icon2.gif> void <B>DefaultFont</B>()
245
<DT><IMG SRC=icon2.gif> void <B>ShowDefaultFont</B>()
246
<DT><IMG SRC=icon2.gif> void <B>ShowConfigFont</B>()
247
<DT><IMG SRC=icon2.gif> <!1><A HREF="XFont.html">XFont</A>* <B>GetFont</B>(int family, int style, int size)
248
<DT><IMG SRC=icon2.gif> <!1><A HREF="XFont.html">XFont</A>* <B>GetFont</B>(const char *description)
249
<DT><IMG SRC=icon2.gif> void <B>UpdateTextAlignment</B>()
250
<DT><IMG SRC=icon2.gif> void <B>DefaultTextAlignment</B>()
251
<DT><IMG SRC=icon2.gif> void <B>ShowDefaultTextAlignment</B>()
252
<DT><IMG SRC=icon2.gif> void <B>ShowConfigTextAlignment</B>()
253
<DT><IMG SRC=icon2.gif> <!2><A HREF="TextAlign.html#DOC.374.1">TextAlign::Type</A> <B>GetDefaultTextAlignment</B>() const
254
<DT><IMG SRC=icon2.gif> void <B>SetDefaultTextAlignment</B>(<!2><A HREF="TextAlign.html#DOC.374.1">TextAlign::Type</A> a)
255
<DT><IMG SRC=icon2.gif> void <B>EditText</B>(int key)
256
<DT><IMG SRC=icon2.gif> bool <B>IsAutoResize</B>() const
257
<DT><IMG SRC=icon2.gif> void <B>SetAutoResize</B>(bool s)
258
<DT><IMG SRC=icon2.gif> bool <B>IsInlineEdit</B>() const
259
<DT><IMG SRC=icon2.gif> void <B>SetInlineEdit</B>(bool s)
260
<DT><IMG SRC=icon2.gif> bool <B>IsPasting</B>() const
261
<DT><IMG SRC=icon2.gif> void <B>SetPasting</B>(bool b)
262
<DT><IMG SRC=icon2.gif> bool <B>IsZigZag</B>() const
263
<DT><IMG SRC=icon2.gif> void <B>SetZigZag</B>(bool b)
264
<DT><IMG SRC=icon2.gif> bool <B>IsEditing</B>() const
265
<DT><IMG SRC=icon2.gif> void <B>DoubleClick</B>()
266
<DT><IMG SRC=icon2.gif> void <B>DoFunctionKey</B>(int)
267
<DT><IMG SRC=icon2.gif> void <B>NewCommand</B>(<!1><A HREF="Command.html">Command</A> *newCmd)
268
<DT><IMG SRC=icon2.gif> void <B>AbortCommand</B>()
269
<DT><IMG SRC=icon2.gif> void <B>ExecuteCommand</B>()
270
<DT><IMG SRC=icon2.gif> void <B>UndoCommand</B>()
271
<DT><IMG SRC=icon2.gif> void <B>RedoCommand</B>()
272
<DT><IMG SRC=icon2.gif> void <B>DeleteCommands</B>()
273
<DT><IMG SRC=icon2.gif> void <B>GetPageSize</B>(double &width, double &height)
274
<DT><IMG SRC=icon2.gif> void <B>Save</B>(<!1><A HREF="OutputFile.html">OutputFile</A> *f)
275
<DT><IMG SRC=icon2.gif> bool <B>Load</B>(<!1><A HREF="InputFile.html">InputFile</A> *f, double format)
276
<DT><IMG SRC=icon2.gif> bool <B>Check</B>(<!1><A HREF="InputFile.html">InputFile</A> *f, double format)
278
<DT><h3>Protected Methods</h3><DD><DT><IMG SRC=icon2.gif> void <B>ClearGrafport</B>()
279
<DT><IMG SRC=icon2.gif> <!1><A HREF="InlineEditor.html">InlineEditor</A>* <B>GetInlineEditor</B>() const
280
<DT><IMG SRC=icon2.gif> void <B>SetInlineEditor</B>(<!1><A HREF="InlineEditor.html">InlineEditor</A> *i)
281
<DT><IMG SRC=icon2.gif> void <B>SetEditing</B>(bool b)
285
<h2> Documentation </h2>
287
generic textual tree viewer class.
293
<A NAME ="DOC.395.1">
294
<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>
296
<A NAME="Initialize">
297
<A NAME ="DOC.395.2">
298
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void Initialize()</B></TT>
301
<A NAME ="DOC.395.3">
302
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void Draw()</B></TT>
305
<A NAME ="DOC.395.4">
306
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void Undraw()</B></TT>
308
<A NAME="UpdateTreeMode">
309
<A NAME ="DOC.395.5">
310
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void UpdateTreeMode(bool newMode)</B></TT>
312
<A NAME="IsTreeMode">
313
<A NAME ="DOC.395.6">
314
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool IsTreeMode()</B></TT>
316
<A NAME="DrawTreeFork">
317
<A NAME ="DOC.395.7">
318
<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>
321
<A NAME ="DOC.395.8">
322
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void Select(int x, int y)</B></TT>
325
<A NAME ="DOC.395.9">
326
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void Adjust(int x, int y)</B></TT>
328
<A NAME="MovingPointer">
329
<A NAME ="DOC.395.10">
330
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void MovingPointer(int x, int y)</B></TT>
333
<A NAME ="DOC.395.11">
334
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void KeyTyped(int x, int y, int c)</B></TT>
337
<A NAME ="DOC.395.12">
338
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="Command.html">Command</A>* Drag(int x, int y)</B></TT>
341
<A NAME ="DOC.395.13">
342
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="Command.html">Command</A>* Connect(int x, int y)</B></TT>
345
<A NAME ="DOC.395.14">
346
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void Cut()</B></TT>
349
<A NAME ="DOC.395.15">
350
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void Copy()</B></TT>
353
<A NAME ="DOC.395.16">
354
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void Paste()</B></TT>
357
<A NAME ="DOC.395.17">
358
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void DeleteAll()</B></TT>
361
<A NAME ="DOC.395.18">
362
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void SelectAll()</B></TT>
364
<A NAME="DeleteSubjects">
365
<A NAME ="DOC.395.19">
366
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void DeleteSubjects()</B></TT>
369
<A NAME ="DOC.395.20">
370
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void SameSize()</B></TT>
372
<A NAME="AlignNodes">
373
<A NAME ="DOC.395.21">
374
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void AlignNodes(<!2><A HREF="NodeAlign.html#DOC.238.1">NodeAlign::Type</A>)</B></TT>
377
<A NAME ="DOC.395.22">
378
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void Annotate()</B></TT>
380
<A NAME="UpdateCurve">
381
<A NAME ="DOC.395.23">
382
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void UpdateCurve()</B></TT>
384
<A NAME="MoveAllShapes">
385
<A NAME ="DOC.395.24">
386
<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>
389
<A NAME ="DOC.395.25">
390
<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>
394
<A NAME ="DOC.395.26">
395
<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>
398
<A NAME="ReplaceNext">
399
<A NAME ="DOC.395.27">
400
<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>
403
<A NAME="ReplaceAll">
404
<A NAME ="DOC.395.28">
405
<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>
408
<A NAME="DirectionType">
409
<A NAME ="DOC.395.29">
410
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> enum DirectionType</B></TT>
412
<A NAME="DrawTreeMode">
413
<A NAME ="DOC.395.30">
414
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void DrawTreeMode()</B></TT>
416
<A NAME="DrawNormalMode">
417
<A NAME ="DOC.395.31">
418
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void DrawNormalMode()</B></TT>
420
<A NAME="DrawVerticalTreeFork">
421
<A NAME ="DOC.395.32">
422
<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>
424
<A NAME="DrawHorizontalTreeFork">
425
<A NAME ="DOC.395.33">
426
<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>
429
<DL><DT><B>Direct child classes:
430
</B><DD><A HREF="FDViewer.html"> FDViewer </A><br>
432
<DL></DL><P><I><A HREF="aindex.html"> alphabetic index</A></I> <I><A HREF="HIER.html"> hierarchy of classes</A></I><P><hr>
433
<A HREF="http://www.zib.de/Visual/software/doc++/index.html"><IMG BORDER=0 ALIGN=RIGHT SRC=logo.gif></A>
434
<P Align=Center><I>this page has been generated automatically by doc++</I>
435
<P Align=Center><I>(c)opyright by <A HREF="http://www.zib.de/zoeckler/"> Malte Zöckler</A>, <A HREF="mailto:wunderling@zib.de"> Roland Wunderling </A><br>contact: <A HREF="mailto:doc++@zib.de"> doc++@zib.de</a></I>