~ubuntu-branches/ubuntu/utopic/tcm/utopic

« back to all changes in this revision

Viewing changes to doc/sourcecode/Box.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>Box</TITLE></head>
 
2
<body>
 
3
<H2><A HREF ="#DOC.DOCU" > <IMG BORDER=0 SRC=down.gif></A>  class  Box : public <!2><A HREF="NodeShape.html#DOC.242.2">NodeShape</A> </H2><BLOCKQUOTE>
 
4
 Rectangular shape class.
 
5
</BLOCKQUOTE>
 
6
<hr>
 
7
 <h2> Inheritance:</h2>
 
8
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=665>
 
9
<param name=classes value="CThing,MThing.html,CShape,MShape.html,CGShape,MGShape.html,CNodeShape,MNodeShape.html,CBox,MBox.html,CVerticalBar,MVerticalBar.html,CURLabeledBox,MURLabeledBox.html,CUCDSingleClassBox,MUCDSingleClassBox.html,CUCDBoundaryBox,MUCDBoundaryBox.html,CTextBox,MTextBox.html,CSquare,MSquare.html,CSolidVerticalBar,MSolidVerticalBar.html,CSolidHorizontalBar,MSolidHorizontalBar.html,CSSDSingleObjectBox,MSSDSingleObjectBox.html,CSSDSingleClassBox,MSSDSingleClassBox.html,CRoundedBox,MRoundedBox.html,CMiniBox,MMiniBox.html,CInitialStateBox,MInitialStateBox.html,CHorizontalBar,MHorizontalBar.html,CEllipsis,MEllipsis.html,CEllipsedBox,MEllipsedBox.html,CDoubleBox,MDoubleBox.html">
 
10
<param name=before value="M,M,M,M,M,M|_,MR_,MR_,MR_,MR_,MR_,MR_,MR_,MR_,MR_,MR_,MR_,MR_,MR_,MR_,MR_,Mr_">
 
11
<param name=after value="Md_SPSPSP,Md_SPSP,Md_SP,Md_,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M">
 
12
<param name=indent value="0,1,2,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4">
 
13
<param name=arrowdir value="down">
 
14
</APPLET>
 
15
<hr>
 
16
 
 
17
<DL>
 
18
<TABLE>
 
19
<DT><h3>Public Fields</h3><DD><TR><TD VALIGN=top><A HREF="#DOC.28.1"> <IMG BORDER=0 SRC=icon1.gif></A> static  const  int </TD><TD><B>BOX_WIDTH</B> <br>
 
20
<I> default width</I>
 
21
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.28.2"> <IMG BORDER=0 SRC=icon1.gif></A> static  const  int </TD><TD><B>BOX_HEIGHT</B> <br>
 
22
<I> default height</I>
 
23
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.28.11"> <IMG BORDER=0 SRC=icon1.gif></A> static  const  int </TD><TD><B>BOX_HANDLES</B> <br>
 
24
<I> default nr. of handles.</I>
 
25
</TD></TR></TABLE><TABLE>
 
26
<DT><h3>Public Methods</h3><DD><TR><TD VALIGN=top><A HREF="#DOC.28.3"> <IMG BORDER=0 SRC=icon1.gif></A> </TD><TD><B>Box</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="Box.html#DOC.28.1">BOX_WIDTH</A>, int h = <!2><A HREF="Box.html#DOC.28.2">BOX_HEIGHT</A>)<br>
 
27
<I></I>
 
28
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.28.4"> <IMG BORDER=0 SRC=icon1.gif></A> </TD><TD><B>Box</B> (const <!2><A HREF="NodeShape.html#DOC.242.2">NodeShape</A> &)<br>
 
29
<I></I>
 
30
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.28.5"> <IMG BORDER=0 SRC=icon1.gif></A> <!2><A HREF="Shape.html#DOC.296.1">Shape</A>* </TD><TD><B>Clone</B> ()<br>
 
31
<I></I>
 
32
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.28.6"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>DrawOutLine</B> (const <!1><A HREF="Point.html">Point</A> *center)<br>
 
33
<I> draw box-form dotted outline snaps to the grid.</I>
 
34
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.28.7"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="Point.html">Point</A> </TD><TD><B>GiveSnp</B> (<!1><A HREF="Point.html">Point</A> to) const <br>
 
35
<I> See Shape::</I>
 
36
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.28.8"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="Point.html">Point</A> </TD><TD><B>GiveOrthoSnp</B> (<!1><A HREF="Point.html">Point</A> to) const <br>
 
37
<I> See Shape::</I>
 
38
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.28.9"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="Point.html">Point</A> </TD><TD><B>GiveSnp</B> (<!1><A HREF="Point.html">Point</A> p, int order, int count, int &code)<br>
 
39
<I> order and count are for multiple edges. code for horz or vert point.</I>
 
40
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.28.10"> <IMG BORDER=0 SRC=icon1.gif></A> int </TD><TD><B>GetClassType</B> () const <br>
 
41
<I></I>
 
42
</TD></TR></TABLE><TABLE>
 
43
<DT><h3>Protected Methods</h3><DD><TR><TD VALIGN=top><A HREF="#DOC.28.12"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>DrawShape</B> ()<br>
 
44
<I> draws a rectangle</I>
 
45
</TD></TR></TABLE></DL>
 
46
<hr><H3>Inherited from <A HREF="NodeShape.html">NodeShape:</A></h3>
 
47
 
 
48
<DL>
 
49
<DL>
 
50
<DT><h3>Public Methods</h3><DD><DT><IMG SRC=icon2.gif> void  <B>UpdateIndexLabel</B>(const <!1><A HREF="string.html">string</A> *s)
 
51
<DT><IMG SRC=icon2.gif> void  <B>SetIndexLabel</B>(const <!1><A HREF="string.html">string</A> *s)
 
52
<DT><IMG SRC=icon2.gif> void  <B>DrawDuplicate</B>()
 
53
<DT><IMG SRC=icon2.gif> void  <B>DrawMultiplicity</B>()
 
54
<DT><IMG SRC=icon2.gif> <!2><A HREF="FillStyle.html#DOC.176.1">FillStyle::Type</A>  <B>GetFillStyle</B>() const 
 
55
<DT><IMG SRC=icon2.gif> void  <B>SetFillStyle</B>(<!2><A HREF="FillStyle.html#DOC.176.1">FillStyle::Type</A> f)
 
56
<DT><IMG SRC=icon2.gif> void  <B>UpdateFillStyle</B>(<!2><A HREF="FillStyle.html#DOC.176.1">FillStyle::Type</A> f)
 
57
<DT><IMG SRC=icon2.gif> const  <!1><A HREF="string.html">string</A>*  <B>GetFillColor</B>() const 
 
58
<DT><IMG SRC=icon2.gif> void  <B>SetFillColor</B>(const <!1><A HREF="string.html">string</A> *c)
 
59
<DT><IMG SRC=icon2.gif> void  <B>UpdateFillColor</B>(const <!1><A HREF="string.html">string</A> *c)
 
60
<DT><IMG SRC=icon2.gif> void  <B>SetPosition</B>(const <!1><A HREF="Point.html">Point</A> *p, bool snap=True)
 
61
<DT><IMG SRC=icon2.gif> void  <B>SetSize</B>(int w, int h)
 
62
<DT><IMG SRC=icon2.gif> void  <B>SetGrafport</B>(<!1><A HREF="Grafport.html">Grafport</A> *g)
 
63
<DT><IMG SRC=icon2.gif> void  <B>SetView</B>(<!1><A HREF="ShapeView.html">ShapeView</A> *v)
 
64
<DT><IMG SRC=icon2.gif> void  <B>SetFont</B>(<!1><A HREF="XFont.html">XFont</A> *ft)
 
65
<DT><IMG SRC=icon2.gif> void  <B>SetTextColor</B>(const <!1><A HREF="string.html">string</A> *<!2><A HREF="Shape.html#DOC.296.97">color</A>)
 
66
<DT><IMG SRC=icon2.gif> bool  <B>InTextArea</B>(int x, int y)
 
67
<DT><IMG SRC=icon2.gif> int  <B>HitHandles</B>(int, int)
 
68
<DT><IMG SRC=icon2.gif> <!1><A HREF="TextShape.html">TextShape</A>*  <B>ChooseTextShape</B>(int x, int y)
 
69
<DT><IMG SRC=icon2.gif> void  <B>AdjustSize</B>()
 
70
<DT><IMG SRC=icon2.gif> bool  <B>SetAssocSubject</B>(<!1><A HREF="AssocList.html">AssocList</A> *al)
 
71
<DT><IMG SRC=icon2.gif> void  <B>WriteMembers</B>(<!1><A HREF="OutputFile.html">OutputFile</A> *ofile)
 
72
<DT><IMG SRC=icon2.gif> bool  <B>ReadMembers</B>(<!1><A HREF="InputFile.html">InputFile</A> *ifile, double format)
 
73
<DT><IMG SRC=icon2.gif> void  <B>SetTextShape</B>()
 
74
<DT><IMG SRC=icon2.gif> <!1><A HREF="TextShape.html">TextShape</A>*  <B>GetIndexLabel</B>() const 
 
75
<DT><IMG SRC=icon2.gif> bool  <B>IsFixedIndexLabel</B>()
 
76
<DT><IMG SRC=icon2.gif> void  <B>SetFixedIndexLabel</B>(bool b)
 
77
<DT><IMG SRC=icon2.gif> void  <B>SetResizable</B>(bool b)
 
78
<DT><IMG SRC=icon2.gif> bool  <B>IsResizable</B>()
 
79
<DT><IMG SRC=icon2.gif> void  <B>ForceSize</B>(int w, int ht)
 
80
<DT><IMG SRC=icon2.gif> bool  <B>HasTextShape</B>(<!1><A HREF="TextShape.html">TextShape</A> *t) const 
 
81
<DT><IMG SRC=icon2.gif> bool  <B>HasString</B>(const <!1><A HREF="string.html">string</A> *s, bool sens, bool sub) const 
 
82
<DT><IMG SRC=icon2.gif> bool  <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> *> *)
 
83
</DL><DL>
 
84
<DT><h3>Protected Methods</h3><DD><DT><IMG SRC=icon2.gif> void  <B>DrawTextShapes</B>()
 
85
<DT><IMG SRC=icon2.gif> virtual  void  <B>CalcPositionIndexLabel</B>()
 
86
</DL></DL>
 
87
<hr><H3>Inherited from <A HREF = "GShape.html"> GShape:</A></h3>
 
88
 
 
89
<DL>
 
90
<DL>
 
91
<DT><h3>Public Methods</h3><DD><DT><IMG SRC=icon2.gif> void  <B>Draw</B>()
 
92
<DT><IMG SRC=icon2.gif> void  <B>Undraw</B>()
 
93
<DT><IMG SRC=icon2.gif> virtual  void  <B>UndrawShape</B>()
 
94
<DT><IMG SRC=icon2.gif> virtual  void  <B>UndrawTextShapes</B>()
 
95
<DT><IMG SRC=icon2.gif> virtual  void  <B>UpdateNameString</B>(const <!1><A HREF="string.html">string</A> *s)
 
96
<DT><IMG SRC=icon2.gif> void  <B>SetNameString</B>(const <!1><A HREF="string.html">string</A> *s)
 
97
<DT><IMG SRC=icon2.gif> const  <!1><A HREF="string.html">string</A>*  <B>GetNameString</B>()
 
98
<DT><IMG SRC=icon2.gif> <!1><A HREF="TextShape.html">TextShape</A>*  <B>GetName</B>() const 
 
99
<DT><IMG SRC=icon2.gif> virtual  void  <B>SetSelect</B>(bool s)
 
100
<DT><IMG SRC=icon2.gif> unsigned  <B>GetLineWidth</B>() const 
 
101
<DT><IMG SRC=icon2.gif> void  <B>SetLineWidth</B>(unsigned n)
 
102
<DT><IMG SRC=icon2.gif> void  <B>UpdateLineWidth</B>(unsigned n)
 
103
<DT><IMG SRC=icon2.gif> <!2><A HREF="LineStyle.html#DOC.213.1">LineStyle::Type</A>  <B>GetLineStyle</B>() const 
 
104
<DT><IMG SRC=icon2.gif> void  <B>SetLineStyle</B>(<!2><A HREF="LineStyle.html#DOC.213.1">LineStyle::Type</A> x)
 
105
<DT><IMG SRC=icon2.gif> void  <B>UpdateLineStyle</B>(<!2><A HREF="LineStyle.html#DOC.213.1">LineStyle::Type</A> x)
 
106
<DT><IMG SRC=icon2.gif> const  <!1><A HREF="string.html">string</A>*  <B>GetTextColor</B>() const 
 
107
<DT><IMG SRC=icon2.gif> void  <B>UpdateTextColor</B>(const <!1><A HREF="string.html">string</A> *c)
 
108
<DT><IMG SRC=icon2.gif> virtual  <!1><A HREF="TextShape.html">TextShape</A>*  <B>HitTextShape</B>(int x, int y)
 
109
<DT><IMG SRC=icon2.gif> virtual  int  <B>GetLeftMost</B>() const 
 
110
<DT><IMG SRC=icon2.gif> virtual  int  <B>GetTopMost</B>() const 
 
111
<DT><IMG SRC=icon2.gif> virtual  int  <B>GetRightMost</B>() const 
 
112
<DT><IMG SRC=icon2.gif> virtual  int  <B>GetBottomMost</B>() const 
 
113
<DT><IMG SRC=icon2.gif> bool  <B>IsFixedName</B>()
 
114
<DT><IMG SRC=icon2.gif> void  <B>SetFixedName</B>(bool b)
 
115
<DT><IMG SRC=icon2.gif> virtual  void  <B>UpdateFont</B>(<!1><A HREF="XFont.html">XFont</A> *ft)
 
116
<DT><IMG SRC=icon2.gif> virtual  void  <B>UpdateAlignment</B>(<!2><A HREF="TextAlign.html#DOC.374.1">TextAlign::Type</A> alignment)
 
117
<DT><IMG SRC=icon2.gif> virtual  void  <B>NotifyTextMove</B>(<!1><A HREF="TextShape.html">TextShape</A> *)
 
118
<DT><IMG SRC=icon2.gif> <!1><A HREF="XFont.html">XFont</A>*  <B>GetFont</B>() const 
 
119
<DT><IMG SRC=icon2.gif> <!2><A HREF="TextAlign.html#DOC.374.1">TextAlign::Type</A>  <B>GetAlignment</B>() const 
 
120
<DT><IMG SRC=icon2.gif> bool  <B>HasNameString</B>(const <!1><A HREF="string.html">string</A> *s, bool c1, bool c2) const 
 
121
<DT><IMG SRC=icon2.gif> bool  <B>CheckReferences</B>()
 
122
</DL><DL>
 
123
<DT><h3>Protected Methods</h3><DD><DT><IMG SRC=icon2.gif> void  <B>WriteGraphicsPart</B>(<!1><A HREF="OutputFile.html">OutputFile</A> *ofile)
 
124
<DT><IMG SRC=icon2.gif> bool  <B>ReadGraphicsPart</B>(<!1><A HREF="InputFile.html">InputFile</A> *ifile, double format)
 
125
<DT><IMG SRC=icon2.gif> void  <B>WriteTextPart</B>(<!1><A HREF="OutputFile.html">OutputFile</A> *ofile)
 
126
<DT><IMG SRC=icon2.gif> bool  <B>ReadTextPart</B>(<!1><A HREF="InputFile.html">InputFile</A> *ifile, double format)
 
127
<DT><IMG SRC=icon2.gif> void  <B>SetDrawAttributes</B>()
 
128
<DT><IMG SRC=icon2.gif> virtual  void  <B>SetAlignment</B>(<!2><A HREF="TextAlign.html#DOC.374.1">TextAlign::Type</A> a)
 
129
<DT><IMG SRC=icon2.gif> void  <B>SnapPosition</B>()
 
130
<DT><IMG SRC=icon2.gif> void  <B>SnapTopleft</B>()
 
131
</DL></DL>
 
132
<hr><H3>Inherited from <A HREF = "Shape.html"> Shape:</A></h3>
 
133
 
 
134
<DL>
 
135
<DL>
 
136
<DT><h3>Public Fields</h3><DD><DT><IMG SRC=icon2.gif> static  const  int  <B>MIN_HEIGHT</B>
 
137
<DT><IMG SRC=icon2.gif> static  const  int  <B>MIN_WIDTH</B>
 
138
<DT><IMG SRC=icon2.gif> static  const  int  <B>HANDLE_WIDTH</B>
 
139
</DL><DL>
 
140
<DT><h3>Public Methods</h3><DD><DT><IMG SRC=icon2.gif> bool  <B>IsShape</B>() const 
 
141
<DT><IMG SRC=icon2.gif> virtual  bool  <B>IsTextShape</B>() const 
 
142
<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)
 
143
<DT><IMG SRC=icon2.gif> virtual  void  <B>UpdateSize</B>(int w, int h)
 
144
<DT><IMG SRC=icon2.gif> virtual  void  <B>UpdateMove</B>(const <!1><A HREF="Point.html">Point</A> *delta)
 
145
<DT><IMG SRC=icon2.gif> virtual  void  <B>UpdateSelect</B>(bool s)
 
146
<DT><IMG SRC=icon2.gif> virtual  void  <B>UpdateFirstSelect</B>(bool s)
 
147
<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>)
 
148
<DT><IMG SRC=icon2.gif> virtual  void  <B>SetFirstSelect</B>(bool s)
 
149
<DT><IMG SRC=icon2.gif> bool  <B>IsFirstSelected</B>() const 
 
150
<DT><IMG SRC=icon2.gif> void  <B>SetVisible</B>(bool s)
 
151
<DT><IMG SRC=icon2.gif> void  <B>SetSubject</B>(<!1><A HREF="Subject.html">Subject</A> *s)
 
152
<DT><IMG SRC=icon2.gif> <!1><A HREF="Subject.html">Subject</A>*  <B>GetSubject</B>() const 
 
153
<DT><IMG SRC=icon2.gif> <!1><A HREF="ShapeView.html">ShapeView</A>*  <B>GetView</B>() const 
 
154
<DT><IMG SRC=icon2.gif> void  <B>SetColor</B>(const <!1><A HREF="string.html">string</A> *c)
 
155
<DT><IMG SRC=icon2.gif> const  <!1><A HREF="string.html">string</A>*  <B>GetColor</B>() const 
 
156
<DT><IMG SRC=icon2.gif> virtual  void  <B>Move</B>(const <!1><A HREF="Point.html">Point</A> *delta)
 
157
<DT><IMG SRC=icon2.gif> void  <B>SetHandles</B>(int n)
 
158
<DT><IMG SRC=icon2.gif> virtual  bool  <B>ContainsPt</B>(int x, int y)
 
159
<DT><IMG SRC=icon2.gif> const  <!1><A HREF="Point.html">Point</A>*  <B>GetPosition</B>() const 
 
160
<DT><IMG SRC=icon2.gif> const  <!1><A HREF="Point.html">Point</A>*  <B>GetTopLeft</B>() const 
 
161
<DT><IMG SRC=icon2.gif> bool  <B>IsSelected</B>() const 
 
162
<DT><IMG SRC=icon2.gif> bool  <B>IsVisible</B>() const 
 
163
<DT><IMG SRC=icon2.gif> bool  <B>IsDuplicate</B>() const 
 
164
<DT><IMG SRC=icon2.gif> int  <B>GetWidth</B>() const 
 
165
<DT><IMG SRC=icon2.gif> int  <B>GetHeight</B>() const 
 
166
<DT><IMG SRC=icon2.gif> void  <B>UndrawDuplicate</B>()
 
167
<DT><IMG SRC=icon2.gif> void  <B>SetDuplicate</B>(bool b)
 
168
<DT><IMG SRC=icon2.gif> void  <B>UpdateDuplicate</B>(bool b)
 
169
<DT><IMG SRC=icon2.gif> virtual  bool  <B>IsLine</B>() const 
 
170
<DT><IMG SRC=icon2.gif> bool  <B>SetAssocView</B>(<!1><A HREF="AssocList.html">AssocList</A> *)
 
171
<DT><IMG SRC=icon2.gif> virtual  void  <B>MoveRaw</B>(const <!1><A HREF="Point.html">Point</A> *delta)
 
172
</DL><DL>
 
173
<DT><h3>Protected Fields</h3><DD><DT><IMG SRC=icon2.gif> static  const  int  <B>MIN_HANDLES</B>
 
174
</DL><DL>
 
175
<DT><h3>Protected Methods</h3><DD><DT><IMG SRC=icon2.gif> <!1><A HREF="Grafport.html">Grafport</A>*  <B>GetGrafport</B>() const 
 
176
<DT><IMG SRC=icon2.gif> void  <B>SetOutlineAttributes</B>()
 
177
<DT><IMG SRC=icon2.gif> void  <B>SetWidth</B>(int w)
 
178
<DT><IMG SRC=icon2.gif> void  <B>SetHeight</B>(int h)
 
179
<DT><IMG SRC=icon2.gif> void  <B>SetNrHandles</B>(int n)
 
180
<DT><IMG SRC=icon2.gif> <!1><A HREF="DiagramViewer.html">DiagramViewer</A>*  <B>GetViewer</B>() const 
 
181
<DT><IMG SRC=icon2.gif> void  <B>PositiveCoord</B>(const <!1><A HREF="Point.html">Point</A>*)
 
182
<DT><IMG SRC=icon2.gif> virtual  void  <B>DrawSelect</B>()
 
183
<DT><IMG SRC=icon2.gif> virtual  void  <B>DrawGraySelect</B>()
 
184
<DT><IMG SRC=icon2.gif> virtual  void  <B>UndrawSelect</B>()
 
185
<DT><IMG SRC=icon2.gif> virtual  void  <B>UndrawGraySelect</B>()
 
186
<DT><IMG SRC=icon2.gif> void  <B>SetTopLeft</B>(const <!1><A HREF="Point.html">Point</A> *topLeft)
 
187
<DT><IMG SRC=icon2.gif> virtual  void  <B>SetPositionHandles</B>()
 
188
<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>)
 
189
</DL></DL>
 
190
<hr><H3>Inherited from <A HREF = "Thing.html"> Thing:</A></h3>
 
191
 
 
192
<DL>
 
193
<DL>
 
194
<DT><h3>Public Classes</h3><DD><DT><IMG SRC=icon2.gif>  enum  <B>AssocType</B>
 
195
</DL><DL>
 
196
<DT><h3>Public Methods</h3><DD><DT><IMG SRC=icon2.gif> unsigned  long  <B>GetId</B>()
 
197
<DT><IMG SRC=icon2.gif> void  <B>SetId</B>(unsigned long val)
 
198
<DT><IMG SRC=icon2.gif> virtual  bool  <B>IsSubject</B>() const 
 
199
<DT><IMG SRC=icon2.gif> virtual  bool  <B>IsView</B>() const 
 
200
<DT><IMG SRC=icon2.gif> void  <B>Write</B>(<!1><A HREF="OutputFile.html">OutputFile</A> *ofile)
 
201
<DT><IMG SRC=icon2.gif> virtual  bool  <B>SetReferences</B>(<!1><A HREF="AssocList.html">AssocList</A> *)
 
202
</DL></DL>
 
203
<A NAME="DOC.DOCU">
 
204
<hr>
 
205
 <h2> Documentation </h2>
 
206
<BLOCKQUOTE>
 
207
 Rectangular shape class.
 
208
 
 
209
</BLOCKQUOTE>
 
210
<DL>
 
211
 
 
212
<A NAME="BOX_WIDTH">
 
213
<A NAME ="DOC.28.1">
 
214
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> static  const  int  BOX_WIDTH</B></TT>
 
215
<DD> default width
 
216
<DL></DL><P>
 
217
<A NAME="BOX_HEIGHT">
 
218
<A NAME ="DOC.28.2">
 
219
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> static  const  int  BOX_HEIGHT</B></TT>
 
220
<DD> default height
 
221
<DL></DL><P>
 
222
<A NAME="Box">
 
223
<A NAME ="DOC.28.3">
 
224
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B>  Box(<!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="Box.html#DOC.28.1">BOX_WIDTH</A>, int h = <!2><A HREF="Box.html#DOC.28.2">BOX_HEIGHT</A>)</B></TT>
 
225
<DL></DL><P>
 
226
<A NAME="Box">
 
227
<A NAME ="DOC.28.4">
 
228
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B>  Box(const <!2><A HREF="NodeShape.html#DOC.242.2">NodeShape</A> &)</B></TT>
 
229
<DL></DL><P>
 
230
<A NAME="Clone">
 
231
<A NAME ="DOC.28.5">
 
232
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!2><A HREF="Shape.html#DOC.296.1">Shape</A>*  Clone()</B></TT>
 
233
<DL></DL><P>
 
234
<A NAME="DrawOutLine">
 
235
<A NAME ="DOC.28.6">
 
236
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  DrawOutLine(const <!1><A HREF="Point.html">Point</A> *center)</B></TT>
 
237
<DD> draw box-form dotted outline snaps to the grid.
 
238
<DL></DL><P>
 
239
<A NAME="GiveSnp">
 
240
<A NAME ="DOC.28.7">
 
241
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="Point.html">Point</A>  GiveSnp(<!1><A HREF="Point.html">Point</A> to) const </B></TT>
 
242
<DD> See Shape::
 
243
<DL></DL><P>
 
244
<A NAME="GiveOrthoSnp">
 
245
<A NAME ="DOC.28.8">
 
246
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="Point.html">Point</A>  GiveOrthoSnp(<!1><A HREF="Point.html">Point</A> to) const </B></TT>
 
247
<DD> See Shape::
 
248
<DL></DL><P>
 
249
<A NAME="GiveSnp">
 
250
<A NAME ="DOC.28.9">
 
251
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="Point.html">Point</A>  GiveSnp(<!1><A HREF="Point.html">Point</A> p, int order, int count, int &code)</B></TT>
 
252
<DD> order and count are for multiple edges. code for horz or vert point.
 
253
<DL></DL><P>
 
254
<A NAME="GetClassType">
 
255
<A NAME ="DOC.28.10">
 
256
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> int  GetClassType() const </B></TT>
 
257
<DL></DL><P>
 
258
<A NAME="BOX_HANDLES">
 
259
<A NAME ="DOC.28.11">
 
260
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> static  const  int  BOX_HANDLES</B></TT>
 
261
<DD> default nr. of handles.
 
262
<DL></DL><P>
 
263
<A NAME="DrawShape">
 
264
<A NAME ="DOC.28.12">
 
265
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  DrawShape()</B></TT>
 
266
<DD> draws a rectangle
 
267
<DL></DL><P></DL>
 
268
<hr>
 
269
<DL><DT><B>Direct child classes:
 
270
</B><DD><A HREF="VerticalBar.html"> VerticalBar </A><br>
 
271
<A HREF="URLabeledBox.html"> URLabeledBox </A><br>
 
272
<A HREF="UCDSingleClassBox.html"> UCDSingleClassBox </A><br>
 
273
<A HREF="UCDBoundaryBox.html"> UCDBoundaryBox </A><br>
 
274
<A HREF="TextBox.html"> TextBox </A><br>
 
275
<A HREF="Square.html"> Square </A><br>
 
276
<A HREF="SolidVerticalBar.html"> SolidVerticalBar </A><br>
 
277
<A HREF="SolidHorizontalBar.html"> SolidHorizontalBar </A><br>
 
278
<A HREF="SSDSingleObjectBox.html"> SSDSingleObjectBox </A><br>
 
279
<A HREF="SSDSingleClassBox.html"> SSDSingleClassBox </A><br>
 
280
<A HREF="RoundedBox.html"> RoundedBox </A><br>
 
281
<A HREF="MiniBox.html"> MiniBox </A><br>
 
282
<A HREF="InitialStateBox.html"> InitialStateBox </A><br>
 
283
<A HREF="HorizontalBar.html"> HorizontalBar </A><br>
 
284
<A HREF="Ellipsis.html"> Ellipsis </A><br>
 
285
<A HREF="EllipsedBox.html"> EllipsedBox </A><br>
 
286
<A HREF="DoubleBox.html"> DoubleBox </A><br>
 
287
</DL>
 
288
<DL></DL><P><I><A HREF="aindex.html"> alphabetic index</A></I>  <I><A HREF="HIER.html"> hierarchy of classes</A></I><P><hr>
 
289
<A HREF="http://www.zib.de/Visual/software/doc++/index.html"><IMG BORDER=0 ALIGN=RIGHT SRC=logo.gif></A>
 
290
<P Align=Center><I>this page has been generated automatically by doc++</I>
 
291
<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>
 
292
</BODY>