1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410
|
<html><head><TITLE>DoubleBox</TITLE></head>
<body>
<H2><A HREF ="#DOC.DOCU" > <IMG BORDER=0 SRC=down.gif></A> class DoubleBox : public <!2><A HREF="Box.html#DOC.28.3">Box</A> </H2><BLOCKQUOTE>
(abstract) box with two compartments: 1st for name, 2nd for a label list.
</BLOCKQUOTE>
<hr>
<h2> Inheritance:</h2>
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=245>
<param name=classes value="CThing,MThing.html,CShape,MShape.html,CGShape,MGShape.html,CNodeShape,MNodeShape.html,CBox,MBox.html,CDoubleBox,MDoubleBox.html,CTripleBox,MTripleBox.html,CDoubleClassBox,MDoubleClassBox.html">
<param name=before value="M,M,M,M,M,M,M|_,Mr_">
<param name=after value="Md_SPSPSPSP,Md_SPSPSP,Md_SPSP,Md_SP,Md_,M,M,M">
<param name=indent value="0,1,2,3,4,5,5,5">
<param name=arrowdir value="down">
</APPLET>
<hr>
<DL>
<TABLE>
<DT><h3>Public Methods</h3><DD><TR><TD VALIGN=top><A HREF="#DOC.119.1"> <IMG BORDER=0 SRC=icon1.gif></A> </TD><TD><B>DoubleBox</B> (<!1><A HREF="ShapeView.html">ShapeView</A> *v, <!1><A HREF="Grafport.html">Grafport</A> *g, int x, int y, int w, int h)<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.119.2"> <IMG BORDER=0 SRC=icon1.gif></A> </TD><TD><B>DoubleBox</B> (const <!2><A HREF="DoubleBox.html#DOC.119.2">DoubleBox</A> &s)<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.119.3"> <IMG BORDER=0 SRC=icon1.gif></A> </TD><TD><B>DoubleBox</B> (const <!2><A HREF="Box.html#DOC.28.3">Box</A> &s)<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.119.4"> <IMG BORDER=0 SRC=icon1.gif></A> </TD><TD><B>DoubleBox</B> (const <!2><A HREF="NodeShape.html#DOC.242.2">NodeShape</A> &s)<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.119.5"> <IMG BORDER=0 SRC=icon1.gif></A> virtual </TD><TD><B>~DoubleBox</B> ()<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.119.6"> <IMG BORDER=0 SRC=icon1.gif></A> int </TD><TD><B>GetClassType</B> () const <br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.119.7"> <IMG BORDER=0 SRC=icon1.gif></A> <!2><A HREF="Shape.html#DOC.296.1">Shape</A>* </TD><TD><B>Clone</B> ()<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.119.8"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetSize</B> (int w, int h)<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.119.9"> <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>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.119.10"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetFont</B> (<!1><A HREF="XFont.html">XFont</A> *ft)<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.119.11"> <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>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.119.12"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="TextShape.html">TextShape</A>* </TD><TD><B>ChooseTextShape</B> (int x, int y)<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.119.13"> <IMG BORDER=0 SRC=icon1.gif></A> bool </TD><TD><B>HasTextShape</B> (<!1><A HREF="TextShape.html">TextShape</A> *t) const <br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.119.14"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>AdjustSize</B> ()<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.119.15"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>UpdateLabel</B> (const <!1><A HREF="string.html">string</A> *s, unsigned n, bool update)<br>
<I> update or insert string of n-th label.</I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.119.16"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="TextShape.html">TextShape</A>* </TD><TD><B>GetLabel</B> (unsigned n)<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.119.17"> <IMG BORDER=0 SRC=icon1.gif></A> unsigned </TD><TD><B>NrLabels</B> ()<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.119.18"> <IMG BORDER=0 SRC=icon1.gif></A> bool </TD><TD><B>SetAssocSubject</B> (<!1><A HREF="AssocList.html">AssocList</A> *)<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.119.19"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetTextShape</B> ()<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.119.20"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetGrafport</B> (<!1><A HREF="Grafport.html">Grafport</A> *g)<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.119.21"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetView</B> (<!1><A HREF="ShapeView.html">ShapeView</A> *v)<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.119.22"> <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>
<I> contains s as string (case sensitive, substring).</I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.119.23"> <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> *> *list)<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.119.24"> <IMG BORDER=0 SRC=icon1.gif></A> <!2><A HREF="LineStyle.html#DOC.213.1">LineStyle::Type</A> </TD><TD><B>GetSeparatorLineStyle</B> () const <br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.119.25"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetSeparatorLineStyle</B> (<!2><A HREF="LineStyle.html#DOC.213.1">LineStyle::Type</A> x)<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.119.26"> <IMG BORDER=0 SRC=icon1.gif></A> int </TD><TD><B>GetInitialHeight</B> () const <br>
<I></I>
</TD></TR></TABLE><TABLE>
<DT><h3>Protected Fields</h3><DD><TR><TD VALIGN=top><A HREF="#DOC.119.33"> <IMG BORDER=0 SRC=icon1.gif></A> static const int </TD><TD><B>TEXTMARGIN</B> <br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.119.34"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="string.html">string</A> </TD><TD><B>labelDescription</B> <br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.119.35"> <IMG BORDER=0 SRC=icon1.gif></A> int </TD><TD><B>initialHeight</B> <br>
<I></I>
</TD></TR></TABLE><TABLE>
<DT><h3>Protected Methods</h3><DD><TR><TD VALIGN=top><A HREF="#DOC.119.27"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>DrawShape</B> ()<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.119.28"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>DrawTextShapes</B> ()<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.119.29"> <IMG BORDER=0 SRC=icon1.gif></A> virtual int </TD><TD><B>RequiredHeight</B> ()<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.119.30"> <IMG BORDER=0 SRC=icon1.gif></A> virtual void </TD><TD><B>CalcPositionLabels</B> ()<br>
<I> calculates name position in 1st compartiment, labels in 2nd.</I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.119.31"> <IMG BORDER=0 SRC=icon1.gif></A> virtual void </TD><TD><B>AdjustSizes</B> (const <!1><A HREF="string.html">string</A> *s)<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.119.32"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="List.html">List</A> <<!1><A HREF="TextShape.html">TextShape</A> *> * </TD><TD><B>GetLabels</B> ()<br>
<I> </I>
</TD></TR></TABLE></DL>
<hr><H3>Inherited from <A HREF="Box.html">Box:</A></h3>
<DL>
<DL>
<DT><h3>Public Fields</h3><DD><DT><IMG SRC=icon2.gif> static const int <B>BOX_WIDTH</B>
<DT><IMG SRC=icon2.gif> static const int <B>BOX_HEIGHT</B>
<DT><IMG SRC=icon2.gif> static const int <B>BOX_HANDLES</B>
</DL><DL>
<DT><h3>Public Methods</h3><DD><DT><IMG SRC=icon2.gif> void <B>DrawOutLine</B>(const <!1><A HREF="Point.html">Point</A> *center)
<DT><IMG SRC=icon2.gif> <!1><A HREF="Point.html">Point</A> <B>GiveSnp</B>(<!1><A HREF="Point.html">Point</A> to) const
<DT><IMG SRC=icon2.gif> <!1><A HREF="Point.html">Point</A> <B>GiveOrthoSnp</B>(<!1><A HREF="Point.html">Point</A> to) const
<DT><IMG SRC=icon2.gif> <!1><A HREF="Point.html">Point</A> <B>GiveSnp</B>(<!1><A HREF="Point.html">Point</A> p, int order, int count, int &code)
</DL></DL>
<hr><H3>Inherited from <A HREF = "NodeShape.html"> NodeShape:</A></h3>
<DL>
<DL>
<DT><h3>Public Methods</h3><DD><DT><IMG SRC=icon2.gif> void <B>UpdateIndexLabel</B>(const <!1><A HREF="string.html">string</A> *s)
<DT><IMG SRC=icon2.gif> void <B>SetIndexLabel</B>(const <!1><A HREF="string.html">string</A> *s)
<DT><IMG SRC=icon2.gif> void <B>DrawDuplicate</B>()
<DT><IMG SRC=icon2.gif> void <B>DrawMultiplicity</B>()
<DT><IMG SRC=icon2.gif> <!2><A HREF="FillStyle.html#DOC.176.1">FillStyle::Type</A> <B>GetFillStyle</B>() const
<DT><IMG SRC=icon2.gif> void <B>SetFillStyle</B>(<!2><A HREF="FillStyle.html#DOC.176.1">FillStyle::Type</A> f)
<DT><IMG SRC=icon2.gif> void <B>UpdateFillStyle</B>(<!2><A HREF="FillStyle.html#DOC.176.1">FillStyle::Type</A> f)
<DT><IMG SRC=icon2.gif> const <!1><A HREF="string.html">string</A>* <B>GetFillColor</B>() const
<DT><IMG SRC=icon2.gif> void <B>SetFillColor</B>(const <!1><A HREF="string.html">string</A> *c)
<DT><IMG SRC=icon2.gif> void <B>UpdateFillColor</B>(const <!1><A HREF="string.html">string</A> *c)
<DT><IMG SRC=icon2.gif> bool <B>InTextArea</B>(int x, int y)
<DT><IMG SRC=icon2.gif> int <B>HitHandles</B>(int, int)
<DT><IMG SRC=icon2.gif> void <B>WriteMembers</B>(<!1><A HREF="OutputFile.html">OutputFile</A> *ofile)
<DT><IMG SRC=icon2.gif> bool <B>ReadMembers</B>(<!1><A HREF="InputFile.html">InputFile</A> *ifile, double format)
<DT><IMG SRC=icon2.gif> <!1><A HREF="TextShape.html">TextShape</A>* <B>GetIndexLabel</B>() const
<DT><IMG SRC=icon2.gif> bool <B>IsFixedIndexLabel</B>()
<DT><IMG SRC=icon2.gif> void <B>SetFixedIndexLabel</B>(bool b)
<DT><IMG SRC=icon2.gif> void <B>SetResizable</B>(bool b)
<DT><IMG SRC=icon2.gif> bool <B>IsResizable</B>()
<DT><IMG SRC=icon2.gif> void <B>ForceSize</B>(int w, int ht)
</DL><DL>
<DT><h3>Protected Methods</h3><DD><DT><IMG SRC=icon2.gif> virtual void <B>CalcPositionIndexLabel</B>()
</DL></DL>
<hr><H3>Inherited from <A HREF = "GShape.html"> GShape:</A></h3>
<DL>
<DL>
<DT><h3>Public Methods</h3><DD><DT><IMG SRC=icon2.gif> void <B>Draw</B>()
<DT><IMG SRC=icon2.gif> void <B>Undraw</B>()
<DT><IMG SRC=icon2.gif> virtual void <B>UndrawShape</B>()
<DT><IMG SRC=icon2.gif> virtual void <B>UndrawTextShapes</B>()
<DT><IMG SRC=icon2.gif> virtual void <B>UpdateNameString</B>(const <!1><A HREF="string.html">string</A> *s)
<DT><IMG SRC=icon2.gif> void <B>SetNameString</B>(const <!1><A HREF="string.html">string</A> *s)
<DT><IMG SRC=icon2.gif> const <!1><A HREF="string.html">string</A>* <B>GetNameString</B>()
<DT><IMG SRC=icon2.gif> <!1><A HREF="TextShape.html">TextShape</A>* <B>GetName</B>() const
<DT><IMG SRC=icon2.gif> virtual void <B>SetSelect</B>(bool s)
<DT><IMG SRC=icon2.gif> unsigned <B>GetLineWidth</B>() const
<DT><IMG SRC=icon2.gif> void <B>SetLineWidth</B>(unsigned n)
<DT><IMG SRC=icon2.gif> void <B>UpdateLineWidth</B>(unsigned n)
<DT><IMG SRC=icon2.gif> <!2><A HREF="LineStyle.html#DOC.213.1">LineStyle::Type</A> <B>GetLineStyle</B>() const
<DT><IMG SRC=icon2.gif> void <B>SetLineStyle</B>(<!2><A HREF="LineStyle.html#DOC.213.1">LineStyle::Type</A> x)
<DT><IMG SRC=icon2.gif> void <B>UpdateLineStyle</B>(<!2><A HREF="LineStyle.html#DOC.213.1">LineStyle::Type</A> x)
<DT><IMG SRC=icon2.gif> const <!1><A HREF="string.html">string</A>* <B>GetTextColor</B>() const
<DT><IMG SRC=icon2.gif> void <B>UpdateTextColor</B>(const <!1><A HREF="string.html">string</A> *c)
<DT><IMG SRC=icon2.gif> virtual <!1><A HREF="TextShape.html">TextShape</A>* <B>HitTextShape</B>(int x, int y)
<DT><IMG SRC=icon2.gif> virtual int <B>GetLeftMost</B>() const
<DT><IMG SRC=icon2.gif> virtual int <B>GetTopMost</B>() const
<DT><IMG SRC=icon2.gif> virtual int <B>GetRightMost</B>() const
<DT><IMG SRC=icon2.gif> virtual int <B>GetBottomMost</B>() const
<DT><IMG SRC=icon2.gif> bool <B>IsFixedName</B>()
<DT><IMG SRC=icon2.gif> void <B>SetFixedName</B>(bool b)
<DT><IMG SRC=icon2.gif> virtual void <B>UpdateFont</B>(<!1><A HREF="XFont.html">XFont</A> *ft)
<DT><IMG SRC=icon2.gif> virtual void <B>UpdateAlignment</B>(<!2><A HREF="TextAlign.html#DOC.374.1">TextAlign::Type</A> alignment)
<DT><IMG SRC=icon2.gif> virtual void <B>NotifyTextMove</B>(<!1><A HREF="TextShape.html">TextShape</A> *)
<DT><IMG SRC=icon2.gif> <!1><A HREF="XFont.html">XFont</A>* <B>GetFont</B>() const
<DT><IMG SRC=icon2.gif> <!2><A HREF="TextAlign.html#DOC.374.1">TextAlign::Type</A> <B>GetAlignment</B>() const
<DT><IMG SRC=icon2.gif> bool <B>HasNameString</B>(const <!1><A HREF="string.html">string</A> *s, bool c1, bool c2) const
<DT><IMG SRC=icon2.gif> bool <B>CheckReferences</B>()
</DL><DL>
<DT><h3>Protected Methods</h3><DD><DT><IMG SRC=icon2.gif> void <B>WriteGraphicsPart</B>(<!1><A HREF="OutputFile.html">OutputFile</A> *ofile)
<DT><IMG SRC=icon2.gif> bool <B>ReadGraphicsPart</B>(<!1><A HREF="InputFile.html">InputFile</A> *ifile, double format)
<DT><IMG SRC=icon2.gif> void <B>WriteTextPart</B>(<!1><A HREF="OutputFile.html">OutputFile</A> *ofile)
<DT><IMG SRC=icon2.gif> bool <B>ReadTextPart</B>(<!1><A HREF="InputFile.html">InputFile</A> *ifile, double format)
<DT><IMG SRC=icon2.gif> void <B>SetDrawAttributes</B>()
<DT><IMG SRC=icon2.gif> virtual void <B>SetAlignment</B>(<!2><A HREF="TextAlign.html#DOC.374.1">TextAlign::Type</A> a)
<DT><IMG SRC=icon2.gif> void <B>SnapPosition</B>()
<DT><IMG SRC=icon2.gif> void <B>SnapTopleft</B>()
</DL></DL>
<hr><H3>Inherited from <A HREF = "Shape.html"> Shape:</A></h3>
<DL>
<DL>
<DT><h3>Public Fields</h3><DD><DT><IMG SRC=icon2.gif> static const int <B>MIN_HEIGHT</B>
<DT><IMG SRC=icon2.gif> static const int <B>MIN_WIDTH</B>
<DT><IMG SRC=icon2.gif> static const int <B>HANDLE_WIDTH</B>
</DL><DL>
<DT><h3>Public Methods</h3><DD><DT><IMG SRC=icon2.gif> bool <B>IsShape</B>() const
<DT><IMG SRC=icon2.gif> virtual bool <B>IsTextShape</B>() const
<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)
<DT><IMG SRC=icon2.gif> virtual void <B>UpdateSize</B>(int w, int h)
<DT><IMG SRC=icon2.gif> virtual void <B>UpdateMove</B>(const <!1><A HREF="Point.html">Point</A> *delta)
<DT><IMG SRC=icon2.gif> virtual void <B>UpdateSelect</B>(bool s)
<DT><IMG SRC=icon2.gif> virtual void <B>UpdateFirstSelect</B>(bool s)
<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>)
<DT><IMG SRC=icon2.gif> virtual void <B>SetFirstSelect</B>(bool s)
<DT><IMG SRC=icon2.gif> bool <B>IsFirstSelected</B>() const
<DT><IMG SRC=icon2.gif> void <B>SetVisible</B>(bool s)
<DT><IMG SRC=icon2.gif> void <B>SetSubject</B>(<!1><A HREF="Subject.html">Subject</A> *s)
<DT><IMG SRC=icon2.gif> <!1><A HREF="Subject.html">Subject</A>* <B>GetSubject</B>() const
<DT><IMG SRC=icon2.gif> <!1><A HREF="ShapeView.html">ShapeView</A>* <B>GetView</B>() const
<DT><IMG SRC=icon2.gif> void <B>SetColor</B>(const <!1><A HREF="string.html">string</A> *c)
<DT><IMG SRC=icon2.gif> const <!1><A HREF="string.html">string</A>* <B>GetColor</B>() const
<DT><IMG SRC=icon2.gif> virtual void <B>Move</B>(const <!1><A HREF="Point.html">Point</A> *delta)
<DT><IMG SRC=icon2.gif> void <B>SetHandles</B>(int n)
<DT><IMG SRC=icon2.gif> virtual bool <B>ContainsPt</B>(int x, int y)
<DT><IMG SRC=icon2.gif> const <!1><A HREF="Point.html">Point</A>* <B>GetPosition</B>() const
<DT><IMG SRC=icon2.gif> const <!1><A HREF="Point.html">Point</A>* <B>GetTopLeft</B>() const
<DT><IMG SRC=icon2.gif> bool <B>IsSelected</B>() const
<DT><IMG SRC=icon2.gif> bool <B>IsVisible</B>() const
<DT><IMG SRC=icon2.gif> bool <B>IsDuplicate</B>() const
<DT><IMG SRC=icon2.gif> int <B>GetWidth</B>() const
<DT><IMG SRC=icon2.gif> int <B>GetHeight</B>() const
<DT><IMG SRC=icon2.gif> void <B>UndrawDuplicate</B>()
<DT><IMG SRC=icon2.gif> void <B>SetDuplicate</B>(bool b)
<DT><IMG SRC=icon2.gif> void <B>UpdateDuplicate</B>(bool b)
<DT><IMG SRC=icon2.gif> virtual bool <B>IsLine</B>() const
<DT><IMG SRC=icon2.gif> bool <B>SetAssocView</B>(<!1><A HREF="AssocList.html">AssocList</A> *)
<DT><IMG SRC=icon2.gif> virtual void <B>MoveRaw</B>(const <!1><A HREF="Point.html">Point</A> *delta)
</DL><DL>
<DT><h3>Protected Fields</h3><DD><DT><IMG SRC=icon2.gif> static const int <B>MIN_HANDLES</B>
</DL><DL>
<DT><h3>Protected Methods</h3><DD><DT><IMG SRC=icon2.gif> <!1><A HREF="Grafport.html">Grafport</A>* <B>GetGrafport</B>() const
<DT><IMG SRC=icon2.gif> void <B>SetOutlineAttributes</B>()
<DT><IMG SRC=icon2.gif> void <B>SetWidth</B>(int w)
<DT><IMG SRC=icon2.gif> void <B>SetHeight</B>(int h)
<DT><IMG SRC=icon2.gif> void <B>SetNrHandles</B>(int n)
<DT><IMG SRC=icon2.gif> <!1><A HREF="DiagramViewer.html">DiagramViewer</A>* <B>GetViewer</B>() const
<DT><IMG SRC=icon2.gif> void <B>PositiveCoord</B>(const <!1><A HREF="Point.html">Point</A>*)
<DT><IMG SRC=icon2.gif> virtual void <B>DrawSelect</B>()
<DT><IMG SRC=icon2.gif> virtual void <B>DrawGraySelect</B>()
<DT><IMG SRC=icon2.gif> virtual void <B>UndrawSelect</B>()
<DT><IMG SRC=icon2.gif> virtual void <B>UndrawGraySelect</B>()
<DT><IMG SRC=icon2.gif> void <B>SetTopLeft</B>(const <!1><A HREF="Point.html">Point</A> *topLeft)
<DT><IMG SRC=icon2.gif> virtual void <B>SetPositionHandles</B>()
<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>)
</DL></DL>
<hr><H3>Inherited from <A HREF = "Thing.html"> Thing:</A></h3>
<DL>
<DL>
<DT><h3>Public Classes</h3><DD><DT><IMG SRC=icon2.gif> enum <B>AssocType</B>
</DL><DL>
<DT><h3>Public Methods</h3><DD><DT><IMG SRC=icon2.gif> unsigned long <B>GetId</B>()
<DT><IMG SRC=icon2.gif> void <B>SetId</B>(unsigned long val)
<DT><IMG SRC=icon2.gif> virtual bool <B>IsSubject</B>() const
<DT><IMG SRC=icon2.gif> virtual bool <B>IsView</B>() const
<DT><IMG SRC=icon2.gif> void <B>Write</B>(<!1><A HREF="OutputFile.html">OutputFile</A> *ofile)
<DT><IMG SRC=icon2.gif> virtual bool <B>SetReferences</B>(<!1><A HREF="AssocList.html">AssocList</A> *)
</DL></DL>
<A NAME="DOC.DOCU">
<hr>
<h2> Documentation </h2>
<BLOCKQUOTE>
(abstract) box with two compartments: 1st for name, 2nd for a label list.
</BLOCKQUOTE>
<DL>
<A NAME="DoubleBox">
<A NAME ="DOC.119.1">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> DoubleBox(<!1><A HREF="ShapeView.html">ShapeView</A> *v, <!1><A HREF="Grafport.html">Grafport</A> *g, int x, int y, int w, int h)</B></TT>
<DL></DL><P>
<A NAME="DoubleBox">
<A NAME ="DOC.119.2">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> DoubleBox(const <!2><A HREF="DoubleBox.html#DOC.119.2">DoubleBox</A> &s)</B></TT>
<DL></DL><P>
<A NAME="DoubleBox">
<A NAME ="DOC.119.3">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> DoubleBox(const <!2><A HREF="Box.html#DOC.28.3">Box</A> &s)</B></TT>
<DL></DL><P>
<A NAME="DoubleBox">
<A NAME ="DOC.119.4">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> DoubleBox(const <!2><A HREF="NodeShape.html#DOC.242.2">NodeShape</A> &s)</B></TT>
<DL></DL><P>
<A NAME="~DoubleBox">
<A NAME ="DOC.119.5">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> virtual ~DoubleBox()</B></TT>
<DL></DL><P>
<A NAME="GetClassType">
<A NAME ="DOC.119.6">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> int GetClassType() const </B></TT>
<DL></DL><P>
<A NAME="Clone">
<A NAME ="DOC.119.7">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!2><A HREF="Shape.html#DOC.296.1">Shape</A>* Clone()</B></TT>
<DL></DL><P>
<A NAME="SetSize">
<A NAME ="DOC.119.8">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void SetSize(int w, int h)</B></TT>
<DL></DL><P>
<A NAME="SetPosition">
<A NAME ="DOC.119.9">
<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>
<DL></DL><P>
<A NAME="SetFont">
<A NAME ="DOC.119.10">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void SetFont(<!1><A HREF="XFont.html">XFont</A> *ft)</B></TT>
<DL></DL><P>
<A NAME="SetTextColor">
<A NAME ="DOC.119.11">
<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>
<DL></DL><P>
<A NAME="ChooseTextShape">
<A NAME ="DOC.119.12">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="TextShape.html">TextShape</A>* ChooseTextShape(int x, int y)</B></TT>
<DL></DL><P>
<A NAME="HasTextShape">
<A NAME ="DOC.119.13">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool HasTextShape(<!1><A HREF="TextShape.html">TextShape</A> *t) const </B></TT>
<DL></DL><P>
<A NAME="AdjustSize">
<A NAME ="DOC.119.14">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void AdjustSize()</B></TT>
<DL></DL><P>
<A NAME="UpdateLabel">
<A NAME ="DOC.119.15">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void UpdateLabel(const <!1><A HREF="string.html">string</A> *s, unsigned n, bool update)</B></TT>
<DD> update or insert string of n-th label.
<DL></DL><P>
<A NAME="GetLabel">
<A NAME ="DOC.119.16">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="TextShape.html">TextShape</A>* GetLabel(unsigned n)</B></TT>
<DL></DL><P>
<A NAME="NrLabels">
<A NAME ="DOC.119.17">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> unsigned NrLabels()</B></TT>
<DL></DL><P>
<A NAME="SetAssocSubject">
<A NAME ="DOC.119.18">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool SetAssocSubject(<!1><A HREF="AssocList.html">AssocList</A> *)</B></TT>
<DL></DL><P>
<A NAME="SetTextShape">
<A NAME ="DOC.119.19">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void SetTextShape()</B></TT>
<DL></DL><P>
<A NAME="SetGrafport">
<A NAME ="DOC.119.20">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void SetGrafport(<!1><A HREF="Grafport.html">Grafport</A> *g)</B></TT>
<DL></DL><P>
<A NAME="SetView">
<A NAME ="DOC.119.21">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void SetView(<!1><A HREF="ShapeView.html">ShapeView</A> *v)</B></TT>
<DL></DL><P>
<A NAME="HasString">
<A NAME ="DOC.119.22">
<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>
<DD> contains s as string (case sensitive, substring).
<DL></DL><P>
<A NAME="HasString">
<A NAME ="DOC.119.23">
<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> *> *list)</B></TT>
<DL></DL><P>
<A NAME="GetSeparatorLineStyle">
<A NAME ="DOC.119.24">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!2><A HREF="LineStyle.html#DOC.213.1">LineStyle::Type</A> GetSeparatorLineStyle() const </B></TT>
<DL></DL><P>
<A NAME="SetSeparatorLineStyle">
<A NAME ="DOC.119.25">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void SetSeparatorLineStyle(<!2><A HREF="LineStyle.html#DOC.213.1">LineStyle::Type</A> x)</B></TT>
<DL></DL><P>
<A NAME="GetInitialHeight">
<A NAME ="DOC.119.26">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> int GetInitialHeight() const </B></TT>
<DL></DL><P>
<A NAME="DrawShape">
<A NAME ="DOC.119.27">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void DrawShape()</B></TT>
<DL></DL><P>
<A NAME="DrawTextShapes">
<A NAME ="DOC.119.28">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void DrawTextShapes()</B></TT>
<DL></DL><P>
<A NAME="RequiredHeight">
<A NAME ="DOC.119.29">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> virtual int RequiredHeight()</B></TT>
<DL></DL><P>
<A NAME="CalcPositionLabels">
<A NAME ="DOC.119.30">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> virtual void CalcPositionLabels()</B></TT>
<DD> calculates name position in 1st compartiment, labels in 2nd.
<DL></DL><P>
<A NAME="AdjustSizes">
<A NAME ="DOC.119.31">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> virtual void AdjustSizes(const <!1><A HREF="string.html">string</A> *s)</B></TT>
<DL></DL><P>
<A NAME="GetLabels">
<A NAME ="DOC.119.32">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="List.html">List</A> <<!1><A HREF="TextShape.html">TextShape</A> *> * GetLabels()</B></TT>
<DD>
<DL></DL><P>
<A NAME="TEXTMARGIN">
<A NAME ="DOC.119.33">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> static const int TEXTMARGIN</B></TT>
<DL></DL><P>
<A NAME="labelDescription">
<A NAME ="DOC.119.34">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="string.html">string</A> labelDescription</B></TT>
<DL></DL><P>
<A NAME="initialHeight">
<A NAME ="DOC.119.35">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> int initialHeight</B></TT>
<DL></DL><P></DL>
<hr>
<DL><DT><B>Direct child classes:
</B><DD><A HREF="TripleBox.html"> TripleBox </A><br>
<A HREF="DoubleClassBox.html"> DoubleClassBox </A><br>
</DL>
<DL></DL><P><I><A HREF="aindex.html"> alphabetic index</A></I> <I><A HREF="HIER.html"> hierarchy of classes</A></I><P><hr>
<A HREF="http://www.zib.de/Visual/software/doc++/index.html"><IMG BORDER=0 ALIGN=RIGHT SRC=logo.gif></A>
<P Align=Center><I>this page has been generated automatically by doc++</I>
<P Align=Center><I>(c)opyright by <A HREF="http://www.zib.de/zoeckler/"> Malte Zöckler</A>, <A HREF="mailto:wunderling@zib.de"> Roland Wunderling </A><br>contact: <A HREF="mailto:doc++@zib.de"> doc++@zib.de</a></I>
</BODY>
|