1
<html><head><TITLE>NodeShape</TITLE></head>
3
<H2><A HREF ="#DOC.DOCU" > <IMG BORDER=0 SRC=down.gif></A> class NodeShape : public <!2><A HREF="GShape.html#DOC.196.1">GShape</A> </H2><BLOCKQUOTE>
4
(abstract) graphical node shape class, superclass of box, ellipse etc.
8
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=365>
9
<param name=classes value="CThing,MThing.html,CShape,MShape.html,CGShape,MGShape.html,CNodeShape,MNodeShape.html,CTriangle,MTriangle.html,CStickMan,MStickMan.html,CHexagon,MHexagon.html,CEllipse,MEllipse.html,CDisk,MDisk.html,CDiamond,MDiamond.html,CBuildingBlock,MBuildingBlock.html,CBox,MBox.html">
10
<param name=before value="M,M,M,M,M|_,MR_,MR_,MR_,MR_,MR_,MR_,Mr_">
11
<param name=after value="Md_SPSP,Md_SP,Md_,M,M,M,M,M,M,M,M,M">
12
<param name=indent value="0,1,2,3,3,3,3,3,3,3,3,3">
13
<param name=arrowdir value="down">
19
<DT><h3>Public Methods</h3><DD><TR><TD VALIGN=top><A HREF="#DOC.242.1"> <IMG BORDER=0 SRC=icon1.gif></A> </TD><TD><B>NodeShape</B> (<!1><A HREF="ShapeView.html">ShapeView</A> *v, <!1><A HREF="Grafport.html">Grafport</A> *g, int x, int y, int w=<!2><A HREF="Shape.html#DOC.296.41">MIN_WIDTH</A>, int h=<!2><A HREF="Shape.html#DOC.296.40">MIN_HEIGHT</A>)<br>
21
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.242.2"> <IMG BORDER=0 SRC=icon1.gif></A> </TD><TD><B>NodeShape</B> (const <!2><A HREF="NodeShape.html#DOC.242.2">NodeShape</A> &c)<br>
23
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.242.3"> <IMG BORDER=0 SRC=icon1.gif></A> virtual </TD><TD><B>~NodeShape</B> ()<br>
25
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.242.4"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>UpdateIndexLabel</B> (const <!1><A HREF="string.html">string</A> *s)<br>
26
<I> update string of label.</I>
27
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.242.5"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetIndexLabel</B> (const <!1><A HREF="string.html">string</A> *s)<br>
29
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.242.6"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>DrawDuplicate</B> ()<br>
30
<I> draw duplicate asterisk.</I>
31
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.242.7"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>DrawMultiplicity</B> ()<br>
32
<I> draw multiplicity number.</I>
33
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.242.8"> <IMG BORDER=0 SRC=icon1.gif></A> <!2><A HREF="FillStyle.html#DOC.176.1">FillStyle::Type</A> </TD><TD><B>GetFillStyle</B> () const <br>
35
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.242.9"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetFillStyle</B> (<!2><A HREF="FillStyle.html#DOC.176.1">FillStyle::Type</A> f)<br>
37
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.242.10"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>UpdateFillStyle</B> (<!2><A HREF="FillStyle.html#DOC.176.1">FillStyle::Type</A> f)<br>
39
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.242.11"> <IMG BORDER=0 SRC=icon1.gif></A> const <!1><A HREF="string.html">string</A>* </TD><TD><B>GetFillColor</B> () const <br>
41
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.242.12"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetFillColor</B> (const <!1><A HREF="string.html">string</A> *c)<br>
43
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.242.13"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>UpdateFillColor</B> (const <!1><A HREF="string.html">string</A> *c)<br>
45
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.242.14"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetPosition</B> (const <!1><A HREF="Point.html">Point</A> *p, bool snap=True)<br>
46
<I> adjusts also the label to a new place</I>
47
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.242.15"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetSize</B> (int w, int h)<br>
48
<I> adjusts also the label to a new place</I>
49
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.242.16"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetGrafport</B> (<!1><A HREF="Grafport.html">Grafport</A> *g)<br>
51
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.242.17"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetView</B> (<!1><A HREF="ShapeView.html">ShapeView</A> *v)<br>
53
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.242.18"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetFont</B> (<!1><A HREF="XFont.html">XFont</A> *ft)<br>
55
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.242.19"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetTextColor</B> (const <!1><A HREF="string.html">string</A> *<!2><A HREF="Shape.html#DOC.296.97">color</A>)<br>
57
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.242.20"> <IMG BORDER=0 SRC=icon1.gif></A> bool </TD><TD><B>InTextArea</B> (int x, int y)<br>
58
<I> Returns if (x,y) is in text-area.</I>
59
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.242.21"> <IMG BORDER=0 SRC=icon1.gif></A> int </TD><TD><B>HitHandles</B> (int, int)<br>
61
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.242.22"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="TextShape.html">TextShape</A>* </TD><TD><B>ChooseTextShape</B> (int x, int y)<br>
63
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.242.23"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>AdjustSize</B> ()<br>
64
<I> update size to make it fit the text shapes.</I>
65
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.242.24"> <IMG BORDER=0 SRC=icon1.gif></A> bool </TD><TD><B>SetAssocSubject</B> (<!1><A HREF="AssocList.html">AssocList</A> *al)<br>
67
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.242.25"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>WriteMembers</B> (<!1><A HREF="OutputFile.html">OutputFile</A> *ofile)<br>
68
<I> write it to file.</I>
69
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.242.26"> <IMG BORDER=0 SRC=icon1.gif></A> bool </TD><TD><B>ReadMembers</B> (<!1><A HREF="InputFile.html">InputFile</A> *ifile, double format)<br>
70
<I> read and parse it from file.</I>
71
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.242.27"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetTextShape</B> ()<br>
73
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.242.28"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="TextShape.html">TextShape</A>* </TD><TD><B>GetIndexLabel</B> () const <br>
75
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.242.29"> <IMG BORDER=0 SRC=icon1.gif></A> bool </TD><TD><B>IsFixedIndexLabel</B> ()<br>
77
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.242.30"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetFixedIndexLabel</B> (bool b)<br>
79
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.242.31"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetResizable</B> (bool b)<br>
81
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.242.32"> <IMG BORDER=0 SRC=icon1.gif></A> bool </TD><TD><B>IsResizable</B> ()<br>
83
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.242.33"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>ForceSize</B> (int w, int ht)<br>
85
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.242.34"> <IMG BORDER=0 SRC=icon1.gif></A> bool </TD><TD><B>HasTextShape</B> (<!1><A HREF="TextShape.html">TextShape</A> *t) const <br>
87
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.242.35"> <IMG BORDER=0 SRC=icon1.gif></A> bool </TD><TD><B>HasString</B> (const <!1><A HREF="string.html">string</A> *s, bool sens, bool sub) const <br>
89
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.242.36"> <IMG BORDER=0 SRC=icon1.gif></A> bool </TD><TD><B>HasString</B> (const <!1><A HREF="string.html">string</A>*, bool, bool, <!1><A HREF="List.html">List</A><<!1><A HREF="TextShape.html">TextShape</A> *> *)<br>
91
</TD></TR></TABLE><TABLE>
92
<DT><h3>Protected Methods</h3><DD><TR><TD VALIGN=top><A HREF="#DOC.242.37"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>DrawTextShapes</B> ()<br>
93
<I> draw name + index text shape.</I>
94
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.242.38"> <IMG BORDER=0 SRC=icon1.gif></A> virtual void </TD><TD><B>CalcPositionIndexLabel</B> ()<br>
96
</TD></TR></TABLE></DL>
97
<hr><H3>Inherited from <A HREF="GShape.html">GShape:</A></h3>
101
<DT><h3>Public Methods</h3><DD><DT><IMG SRC=icon2.gif> void <B>Draw</B>()
102
<DT><IMG SRC=icon2.gif> void <B>Undraw</B>()
103
<DT><IMG SRC=icon2.gif> virtual void <B>DrawShape</B>()
104
<DT><IMG SRC=icon2.gif> virtual void <B>UndrawShape</B>()
105
<DT><IMG SRC=icon2.gif> virtual void <B>UndrawTextShapes</B>()
106
<DT><IMG SRC=icon2.gif> virtual void <B>UpdateNameString</B>(const <!1><A HREF="string.html">string</A> *s)
107
<DT><IMG SRC=icon2.gif> void <B>SetNameString</B>(const <!1><A HREF="string.html">string</A> *s)
108
<DT><IMG SRC=icon2.gif> const <!1><A HREF="string.html">string</A>* <B>GetNameString</B>()
109
<DT><IMG SRC=icon2.gif> <!1><A HREF="TextShape.html">TextShape</A>* <B>GetName</B>() const
110
<DT><IMG SRC=icon2.gif> virtual void <B>SetSelect</B>(bool s)
111
<DT><IMG SRC=icon2.gif> unsigned <B>GetLineWidth</B>() const
112
<DT><IMG SRC=icon2.gif> void <B>SetLineWidth</B>(unsigned n)
113
<DT><IMG SRC=icon2.gif> void <B>UpdateLineWidth</B>(unsigned n)
114
<DT><IMG SRC=icon2.gif> <!2><A HREF="LineStyle.html#DOC.213.1">LineStyle::Type</A> <B>GetLineStyle</B>() const
115
<DT><IMG SRC=icon2.gif> void <B>SetLineStyle</B>(<!2><A HREF="LineStyle.html#DOC.213.1">LineStyle::Type</A> x)
116
<DT><IMG SRC=icon2.gif> void <B>UpdateLineStyle</B>(<!2><A HREF="LineStyle.html#DOC.213.1">LineStyle::Type</A> x)
117
<DT><IMG SRC=icon2.gif> const <!1><A HREF="string.html">string</A>* <B>GetTextColor</B>() const
118
<DT><IMG SRC=icon2.gif> void <B>UpdateTextColor</B>(const <!1><A HREF="string.html">string</A> *c)
119
<DT><IMG SRC=icon2.gif> virtual <!1><A HREF="TextShape.html">TextShape</A>* <B>HitTextShape</B>(int x, int y)
120
<DT><IMG SRC=icon2.gif> virtual int <B>GetLeftMost</B>() const
121
<DT><IMG SRC=icon2.gif> virtual int <B>GetTopMost</B>() const
122
<DT><IMG SRC=icon2.gif> virtual int <B>GetRightMost</B>() const
123
<DT><IMG SRC=icon2.gif> virtual int <B>GetBottomMost</B>() const
124
<DT><IMG SRC=icon2.gif> bool <B>IsFixedName</B>()
125
<DT><IMG SRC=icon2.gif> void <B>SetFixedName</B>(bool b)
126
<DT><IMG SRC=icon2.gif> virtual void <B>UpdateFont</B>(<!1><A HREF="XFont.html">XFont</A> *ft)
127
<DT><IMG SRC=icon2.gif> virtual void <B>UpdateAlignment</B>(<!2><A HREF="TextAlign.html#DOC.374.1">TextAlign::Type</A> alignment)
128
<DT><IMG SRC=icon2.gif> virtual void <B>NotifyTextMove</B>(<!1><A HREF="TextShape.html">TextShape</A> *)
129
<DT><IMG SRC=icon2.gif> <!1><A HREF="XFont.html">XFont</A>* <B>GetFont</B>() const
130
<DT><IMG SRC=icon2.gif> <!2><A HREF="TextAlign.html#DOC.374.1">TextAlign::Type</A> <B>GetAlignment</B>() const
131
<DT><IMG SRC=icon2.gif> bool <B>HasNameString</B>(const <!1><A HREF="string.html">string</A> *s, bool c1, bool c2) const
132
<DT><IMG SRC=icon2.gif> bool <B>CheckReferences</B>()
134
<DT><h3>Protected Methods</h3><DD><DT><IMG SRC=icon2.gif> void <B>WriteGraphicsPart</B>(<!1><A HREF="OutputFile.html">OutputFile</A> *ofile)
135
<DT><IMG SRC=icon2.gif> bool <B>ReadGraphicsPart</B>(<!1><A HREF="InputFile.html">InputFile</A> *ifile, double format)
136
<DT><IMG SRC=icon2.gif> void <B>WriteTextPart</B>(<!1><A HREF="OutputFile.html">OutputFile</A> *ofile)
137
<DT><IMG SRC=icon2.gif> bool <B>ReadTextPart</B>(<!1><A HREF="InputFile.html">InputFile</A> *ifile, double format)
138
<DT><IMG SRC=icon2.gif> void <B>SetDrawAttributes</B>()
139
<DT><IMG SRC=icon2.gif> virtual void <B>SetAlignment</B>(<!2><A HREF="TextAlign.html#DOC.374.1">TextAlign::Type</A> a)
140
<DT><IMG SRC=icon2.gif> void <B>SnapPosition</B>()
141
<DT><IMG SRC=icon2.gif> void <B>SnapTopleft</B>()
143
<hr><H3>Inherited from <A HREF = "Shape.html"> Shape:</A></h3>
147
<DT><h3>Public Fields</h3><DD><DT><IMG SRC=icon2.gif> static const int <B>MIN_HEIGHT</B>
148
<DT><IMG SRC=icon2.gif> static const int <B>MIN_WIDTH</B>
149
<DT><IMG SRC=icon2.gif> static const int <B>HANDLE_WIDTH</B>
151
<DT><h3>Public Methods</h3><DD><DT><IMG SRC=icon2.gif> bool <B>IsShape</B>() const
152
<DT><IMG SRC=icon2.gif> virtual bool <B>IsTextShape</B>() const
153
<DT><IMG SRC=icon2.gif> virtual <!2><A HREF="Shape.html#DOC.296.1">Shape</A>* <B>Clone</B>()
154
<DT><IMG SRC=icon2.gif> virtual void <B>UpdatePosition</B>(const <!1><A HREF="Point.html">Point</A> *<!2><A HREF="Shape.html#DOC.296.90">position</A>, bool snap=True)
155
<DT><IMG SRC=icon2.gif> virtual void <B>UpdateSize</B>(int w, int h)
156
<DT><IMG SRC=icon2.gif> virtual void <B>UpdateMove</B>(const <!1><A HREF="Point.html">Point</A> *delta)
157
<DT><IMG SRC=icon2.gif> virtual void <B>UpdateSelect</B>(bool s)
158
<DT><IMG SRC=icon2.gif> virtual void <B>UpdateFirstSelect</B>(bool s)
159
<DT><IMG SRC=icon2.gif> virtual void <B>UpdateColor</B>(<!1><A HREF="string.html">string</A> *<!2><A HREF="Shape.html#DOC.296.97">color</A>)
160
<DT><IMG SRC=icon2.gif> virtual void <B>SetFirstSelect</B>(bool s)
161
<DT><IMG SRC=icon2.gif> bool <B>IsFirstSelected</B>() const
162
<DT><IMG SRC=icon2.gif> void <B>SetVisible</B>(bool s)
163
<DT><IMG SRC=icon2.gif> void <B>SetSubject</B>(<!1><A HREF="Subject.html">Subject</A> *s)
164
<DT><IMG SRC=icon2.gif> <!1><A HREF="Subject.html">Subject</A>* <B>GetSubject</B>() const
165
<DT><IMG SRC=icon2.gif> <!1><A HREF="ShapeView.html">ShapeView</A>* <B>GetView</B>() const
166
<DT><IMG SRC=icon2.gif> void <B>SetColor</B>(const <!1><A HREF="string.html">string</A> *c)
167
<DT><IMG SRC=icon2.gif> const <!1><A HREF="string.html">string</A>* <B>GetColor</B>() const
168
<DT><IMG SRC=icon2.gif> virtual void <B>Move</B>(const <!1><A HREF="Point.html">Point</A> *delta)
169
<DT><IMG SRC=icon2.gif> virtual void <B>DrawOutLine</B>(const <!1><A HREF="Point.html">Point</A> *center)
170
<DT><IMG SRC=icon2.gif> virtual <!1><A HREF="Point.html">Point</A> <B>GiveSnp</B>(<!1><A HREF="Point.html">Point</A>) const
171
<DT><IMG SRC=icon2.gif> virtual <!1><A HREF="Point.html">Point</A> <B>GiveSnp</B>(<!1><A HREF="Point.html">Point</A>, int, int, int &)
172
<DT><IMG SRC=icon2.gif> virtual <!1><A HREF="Point.html">Point</A> <B>GiveOrthoSnp</B>(<!1><A HREF="Point.html">Point</A> to) const
173
<DT><IMG SRC=icon2.gif> void <B>SetHandles</B>(int n)
174
<DT><IMG SRC=icon2.gif> virtual bool <B>ContainsPt</B>(int x, int y)
175
<DT><IMG SRC=icon2.gif> const <!1><A HREF="Point.html">Point</A>* <B>GetPosition</B>() const
176
<DT><IMG SRC=icon2.gif> const <!1><A HREF="Point.html">Point</A>* <B>GetTopLeft</B>() const
177
<DT><IMG SRC=icon2.gif> bool <B>IsSelected</B>() const
178
<DT><IMG SRC=icon2.gif> bool <B>IsVisible</B>() const
179
<DT><IMG SRC=icon2.gif> bool <B>IsDuplicate</B>() const
180
<DT><IMG SRC=icon2.gif> int <B>GetWidth</B>() const
181
<DT><IMG SRC=icon2.gif> int <B>GetHeight</B>() const
182
<DT><IMG SRC=icon2.gif> void <B>UndrawDuplicate</B>()
183
<DT><IMG SRC=icon2.gif> void <B>SetDuplicate</B>(bool b)
184
<DT><IMG SRC=icon2.gif> void <B>UpdateDuplicate</B>(bool b)
185
<DT><IMG SRC=icon2.gif> virtual bool <B>IsLine</B>() const
186
<DT><IMG SRC=icon2.gif> bool <B>SetAssocView</B>(<!1><A HREF="AssocList.html">AssocList</A> *)
187
<DT><IMG SRC=icon2.gif> virtual void <B>MoveRaw</B>(const <!1><A HREF="Point.html">Point</A> *delta)
189
<DT><h3>Protected Fields</h3><DD><DT><IMG SRC=icon2.gif> static const int <B>MIN_HANDLES</B>
191
<DT><h3>Protected Methods</h3><DD><DT><IMG SRC=icon2.gif> <!1><A HREF="Grafport.html">Grafport</A>* <B>GetGrafport</B>() const
192
<DT><IMG SRC=icon2.gif> void <B>SetOutlineAttributes</B>()
193
<DT><IMG SRC=icon2.gif> void <B>SetWidth</B>(int w)
194
<DT><IMG SRC=icon2.gif> void <B>SetHeight</B>(int h)
195
<DT><IMG SRC=icon2.gif> void <B>SetNrHandles</B>(int n)
196
<DT><IMG SRC=icon2.gif> <!1><A HREF="DiagramViewer.html">DiagramViewer</A>* <B>GetViewer</B>() const
197
<DT><IMG SRC=icon2.gif> void <B>PositiveCoord</B>(const <!1><A HREF="Point.html">Point</A>*)
198
<DT><IMG SRC=icon2.gif> virtual void <B>DrawSelect</B>()
199
<DT><IMG SRC=icon2.gif> virtual void <B>DrawGraySelect</B>()
200
<DT><IMG SRC=icon2.gif> virtual void <B>UndrawSelect</B>()
201
<DT><IMG SRC=icon2.gif> virtual void <B>UndrawGraySelect</B>()
202
<DT><IMG SRC=icon2.gif> void <B>SetTopLeft</B>(const <!1><A HREF="Point.html">Point</A> *topLeft)
203
<DT><IMG SRC=icon2.gif> virtual void <B>SetPositionHandles</B>()
204
<DT><IMG SRC=icon2.gif> void <B>ForcePosition</B>(const <!1><A HREF="Point.html">Point</A> *<!2><A HREF="Shape.html#DOC.296.90">position</A>)
206
<hr><H3>Inherited from <A HREF = "Thing.html"> Thing:</A></h3>
210
<DT><h3>Public Classes</h3><DD><DT><IMG SRC=icon2.gif> enum <B>AssocType</B>
212
<DT><h3>Public Methods</h3><DD><DT><IMG SRC=icon2.gif> unsigned long <B>GetId</B>()
213
<DT><IMG SRC=icon2.gif> void <B>SetId</B>(unsigned long val)
214
<DT><IMG SRC=icon2.gif> virtual bool <B>IsSubject</B>() const
215
<DT><IMG SRC=icon2.gif> virtual bool <B>IsView</B>() const
216
<DT><IMG SRC=icon2.gif> virtual int <B>GetClassType</B>() const
217
<DT><IMG SRC=icon2.gif> void <B>Write</B>(<!1><A HREF="OutputFile.html">OutputFile</A> *ofile)
218
<DT><IMG SRC=icon2.gif> virtual bool <B>SetReferences</B>(<!1><A HREF="AssocList.html">AssocList</A> *)
222
<h2> Documentation </h2>
224
(abstract) graphical node shape class, superclass of box, ellipse etc.
230
<A NAME ="DOC.242.1">
231
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> NodeShape(<!1><A HREF="ShapeView.html">ShapeView</A> *v, <!1><A HREF="Grafport.html">Grafport</A> *g, int x, int y, int w=<!2><A HREF="Shape.html#DOC.296.41">MIN_WIDTH</A>, int h=<!2><A HREF="Shape.html#DOC.296.40">MIN_HEIGHT</A>)</B></TT>
235
<A NAME ="DOC.242.2">
236
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> NodeShape(const <!2><A HREF="NodeShape.html#DOC.242.2">NodeShape</A> &c)</B></TT>
238
<A NAME="~NodeShape">
239
<A NAME ="DOC.242.3">
240
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> virtual ~NodeShape()</B></TT>
242
<A NAME="UpdateIndexLabel">
243
<A NAME ="DOC.242.4">
244
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void UpdateIndexLabel(const <!1><A HREF="string.html">string</A> *s)</B></TT>
245
<DD> update string of label.
247
<A NAME="SetIndexLabel">
248
<A NAME ="DOC.242.5">
249
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void SetIndexLabel(const <!1><A HREF="string.html">string</A> *s)</B></TT>
251
<A NAME="DrawDuplicate">
252
<A NAME ="DOC.242.6">
253
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void DrawDuplicate()</B></TT>
254
<DD> draw duplicate asterisk.
256
<A NAME="DrawMultiplicity">
257
<A NAME ="DOC.242.7">
258
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void DrawMultiplicity()</B></TT>
259
<DD> draw multiplicity number.
261
<A NAME="GetFillStyle">
262
<A NAME ="DOC.242.8">
263
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!2><A HREF="FillStyle.html#DOC.176.1">FillStyle::Type</A> GetFillStyle() const </B></TT>
265
<A NAME="SetFillStyle">
266
<A NAME ="DOC.242.9">
267
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void SetFillStyle(<!2><A HREF="FillStyle.html#DOC.176.1">FillStyle::Type</A> f)</B></TT>
269
<A NAME="UpdateFillStyle">
270
<A NAME ="DOC.242.10">
271
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void UpdateFillStyle(<!2><A HREF="FillStyle.html#DOC.176.1">FillStyle::Type</A> f)</B></TT>
273
<A NAME="GetFillColor">
274
<A NAME ="DOC.242.11">
275
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> const <!1><A HREF="string.html">string</A>* GetFillColor() const </B></TT>
277
<A NAME="SetFillColor">
278
<A NAME ="DOC.242.12">
279
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void SetFillColor(const <!1><A HREF="string.html">string</A> *c)</B></TT>
281
<A NAME="UpdateFillColor">
282
<A NAME ="DOC.242.13">
283
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void UpdateFillColor(const <!1><A HREF="string.html">string</A> *c)</B></TT>
285
<A NAME="SetPosition">
286
<A NAME ="DOC.242.14">
287
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void SetPosition(const <!1><A HREF="Point.html">Point</A> *p, bool snap=True)</B></TT>
288
<DD> adjusts also the label to a new place
291
<A NAME ="DOC.242.15">
292
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void SetSize(int w, int h)</B></TT>
293
<DD> adjusts also the label to a new place
295
<A NAME="SetGrafport">
296
<A NAME ="DOC.242.16">
297
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void SetGrafport(<!1><A HREF="Grafport.html">Grafport</A> *g)</B></TT>
300
<A NAME ="DOC.242.17">
301
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void SetView(<!1><A HREF="ShapeView.html">ShapeView</A> *v)</B></TT>
304
<A NAME ="DOC.242.18">
305
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void SetFont(<!1><A HREF="XFont.html">XFont</A> *ft)</B></TT>
307
<A NAME="SetTextColor">
308
<A NAME ="DOC.242.19">
309
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void SetTextColor(const <!1><A HREF="string.html">string</A> *<!2><A HREF="Shape.html#DOC.296.97">color</A>)</B></TT>
311
<A NAME="InTextArea">
312
<A NAME ="DOC.242.20">
313
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool InTextArea(int x, int y)</B></TT>
314
<DD> Returns if (x,y) is in text-area.
316
<A NAME="HitHandles">
317
<A NAME ="DOC.242.21">
318
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> int HitHandles(int, int)</B></TT>
320
<A NAME="ChooseTextShape">
321
<A NAME ="DOC.242.22">
322
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="TextShape.html">TextShape</A>* ChooseTextShape(int x, int y)</B></TT>
324
<A NAME="AdjustSize">
325
<A NAME ="DOC.242.23">
326
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void AdjustSize()</B></TT>
327
<DD> update size to make it fit the text shapes.
329
<A NAME="SetAssocSubject">
330
<A NAME ="DOC.242.24">
331
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool SetAssocSubject(<!1><A HREF="AssocList.html">AssocList</A> *al)</B></TT>
333
<A NAME="WriteMembers">
334
<A NAME ="DOC.242.25">
335
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void WriteMembers(<!1><A HREF="OutputFile.html">OutputFile</A> *ofile)</B></TT>
336
<DD> write it to file.
338
<A NAME="ReadMembers">
339
<A NAME ="DOC.242.26">
340
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool ReadMembers(<!1><A HREF="InputFile.html">InputFile</A> *ifile, double format)</B></TT>
341
<DD> read and parse it from file.
343
<A NAME="SetTextShape">
344
<A NAME ="DOC.242.27">
345
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void SetTextShape()</B></TT>
347
<A NAME="GetIndexLabel">
348
<A NAME ="DOC.242.28">
349
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="TextShape.html">TextShape</A>* GetIndexLabel() const </B></TT>
351
<A NAME="IsFixedIndexLabel">
352
<A NAME ="DOC.242.29">
353
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool IsFixedIndexLabel()</B></TT>
355
<A NAME="SetFixedIndexLabel">
356
<A NAME ="DOC.242.30">
357
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void SetFixedIndexLabel(bool b)</B></TT>
359
<A NAME="SetResizable">
360
<A NAME ="DOC.242.31">
361
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void SetResizable(bool b)</B></TT>
363
<A NAME="IsResizable">
364
<A NAME ="DOC.242.32">
365
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool IsResizable()</B></TT>
368
<A NAME ="DOC.242.33">
369
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void ForceSize(int w, int ht)</B></TT>
371
<A NAME="HasTextShape">
372
<A NAME ="DOC.242.34">
373
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool HasTextShape(<!1><A HREF="TextShape.html">TextShape</A> *t) const </B></TT>
376
<A NAME ="DOC.242.35">
377
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool HasString(const <!1><A HREF="string.html">string</A> *s, bool sens, bool sub) const </B></TT>
380
<A NAME ="DOC.242.36">
381
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool HasString(const <!1><A HREF="string.html">string</A>*, bool, bool, <!1><A HREF="List.html">List</A><<!1><A HREF="TextShape.html">TextShape</A> *> *)</B></TT>
383
<A NAME="DrawTextShapes">
384
<A NAME ="DOC.242.37">
385
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void DrawTextShapes()</B></TT>
386
<DD> draw name + index text shape.
388
<A NAME="CalcPositionIndexLabel">
389
<A NAME ="DOC.242.38">
390
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> virtual void CalcPositionIndexLabel()</B></TT>
393
<DL><DT><B>Direct child classes:
394
</B><DD><A HREF="Triangle.html"> Triangle </A><br>
395
<A HREF="StickMan.html"> StickMan </A><br>
396
<A HREF="Hexagon.html"> Hexagon </A><br>
397
<A HREF="Ellipse.html"> Ellipse </A><br>
398
<A HREF="Disk.html"> Disk </A><br>
399
<A HREF="Diamond.html"> Diamond </A><br>
400
<A HREF="BuildingBlock.html"> BuildingBlock </A><br>
401
<A HREF="Box.html"> Box </A><br>
403
<DL></DL><P><I><A HREF="aindex.html"> alphabetic index</A></I> <I><A HREF="HIER.html"> hierarchy of classes</A></I><P><hr>
404
<A HREF="http://www.zib.de/Visual/software/doc++/index.html"><IMG BORDER=0 ALIGN=RIGHT SRC=logo.gif></A>
405
<P Align=Center><I>this page has been generated automatically by doc++</I>
406
<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>