~ubuntu-branches/ubuntu/intrepid/tcm/intrepid

« back to all changes in this revision

Viewing changes to doc/sourcecode/NodeShape.html

  • Committer: Bazaar Package Importer
  • Author(s): Otavio Salvador
  • Date: 2003-07-03 20:08:21 UTC
  • Revision ID: james.westby@ubuntu.com-20030703200821-se4xtqx25e5miczi
Tags: upstream-2.20
ImportĀ upstreamĀ versionĀ 2.20

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<html><head><TITLE>NodeShape</TITLE></head>
 
2
<body>
 
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.
 
5
</BLOCKQUOTE>
 
6
<hr>
 
7
 <h2> Inheritance:</h2>
 
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">
 
14
</APPLET>
 
15
<hr>
 
16
 
 
17
<DL>
 
18
<TABLE>
 
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>
 
20
<I> </I>
 
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>
 
22
<I></I>
 
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>
 
24
<I></I>
 
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>
 
28
<I></I>
 
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>
 
34
<I></I>
 
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>
 
36
<I></I>
 
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>
 
38
<I></I>
 
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>
 
40
<I></I>
 
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>
 
42
<I></I>
 
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>
 
44
<I></I>
 
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>
 
50
<I></I>
 
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>
 
52
<I></I>
 
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>
 
54
<I></I>
 
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>
 
56
<I></I>
 
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>
 
60
<I></I>
 
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>
 
62
<I></I>
 
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>
 
66
<I></I>
 
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>
 
72
<I></I>
 
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>
 
74
<I></I>
 
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>
 
76
<I></I>
 
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>
 
78
<I></I>
 
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>
 
80
<I></I>
 
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>
 
82
<I></I>
 
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>
 
84
<I></I>
 
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>
 
86
<I></I>
 
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>
 
88
<I></I>
 
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>
 
90
<I></I>
 
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>
 
95
<I></I>
 
96
</TD></TR></TABLE></DL>
 
97
<hr><H3>Inherited from <A HREF="GShape.html">GShape:</A></h3>
 
98
 
 
99
<DL>
 
100
<DL>
 
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>()
 
133
</DL><DL>
 
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>()
 
142
</DL></DL>
 
143
<hr><H3>Inherited from <A HREF = "Shape.html"> Shape:</A></h3>
 
144
 
 
145
<DL>
 
146
<DL>
 
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>
 
150
</DL><DL>
 
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)
 
188
</DL><DL>
 
189
<DT><h3>Protected Fields</h3><DD><DT><IMG SRC=icon2.gif> static  const  int  <B>MIN_HANDLES</B>
 
190
</DL><DL>
 
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>)
 
205
</DL></DL>
 
206
<hr><H3>Inherited from <A HREF = "Thing.html"> Thing:</A></h3>
 
207
 
 
208
<DL>
 
209
<DL>
 
210
<DT><h3>Public Classes</h3><DD><DT><IMG SRC=icon2.gif>  enum  <B>AssocType</B>
 
211
</DL><DL>
 
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> *)
 
219
</DL></DL>
 
220
<A NAME="DOC.DOCU">
 
221
<hr>
 
222
 <h2> Documentation </h2>
 
223
<BLOCKQUOTE>
 
224
 (abstract) graphical node shape class, superclass of box, ellipse etc.
 
225
 
 
226
</BLOCKQUOTE>
 
227
<DL>
 
228
 
 
229
<A NAME="NodeShape">
 
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>
 
232
<DD> 
 
233
<DL></DL><P>
 
234
<A NAME="NodeShape">
 
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>
 
237
<DL></DL><P>
 
238
<A NAME="~NodeShape">
 
239
<A NAME ="DOC.242.3">
 
240
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> virtual  ~NodeShape()</B></TT>
 
241
<DL></DL><P>
 
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.
 
246
<DL></DL><P>
 
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>
 
250
<DL></DL><P>
 
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.
 
255
<DL></DL><P>
 
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.
 
260
<DL></DL><P>
 
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>
 
264
<DL></DL><P>
 
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>
 
268
<DL></DL><P>
 
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>
 
272
<DL></DL><P>
 
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>
 
276
<DL></DL><P>
 
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>
 
280
<DL></DL><P>
 
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>
 
284
<DL></DL><P>
 
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
 
289
<DL></DL><P>
 
290
<A NAME="SetSize">
 
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
 
294
<DL></DL><P>
 
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>
 
298
<DL></DL><P>
 
299
<A NAME="SetView">
 
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>
 
302
<DL></DL><P>
 
303
<A NAME="SetFont">
 
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>
 
306
<DL></DL><P>
 
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>
 
310
<DL></DL><P>
 
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.
 
315
<DL></DL><P>
 
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>
 
319
<DL></DL><P>
 
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>
 
323
<DL></DL><P>
 
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.
 
328
<DL></DL><P>
 
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>
 
332
<DL></DL><P>
 
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.
 
337
<DL></DL><P>
 
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.
 
342
<DL></DL><P>
 
343
<A NAME="SetTextShape">
 
344
<A NAME ="DOC.242.27">
 
345
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  SetTextShape()</B></TT>
 
346
<DL></DL><P>
 
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>
 
350
<DL></DL><P>
 
351
<A NAME="IsFixedIndexLabel">
 
352
<A NAME ="DOC.242.29">
 
353
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool  IsFixedIndexLabel()</B></TT>
 
354
<DL></DL><P>
 
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>
 
358
<DL></DL><P>
 
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>
 
362
<DL></DL><P>
 
363
<A NAME="IsResizable">
 
364
<A NAME ="DOC.242.32">
 
365
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool  IsResizable()</B></TT>
 
366
<DL></DL><P>
 
367
<A NAME="ForceSize">
 
368
<A NAME ="DOC.242.33">
 
369
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  ForceSize(int w, int ht)</B></TT>
 
370
<DL></DL><P>
 
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>
 
374
<DL></DL><P>
 
375
<A NAME="HasString">
 
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>
 
378
<DL></DL><P>
 
379
<A NAME="HasString">
 
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>
 
382
<DL></DL><P>
 
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.
 
387
<DL></DL><P>
 
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>
 
391
<DL></DL><P></DL>
 
392
<hr>
 
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>
 
402
</DL>
 
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&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>
 
407
</BODY>