1
<html><head><TITLE>MiniBox</TITLE></head>
3
<H2><A HREF ="#DOC.DOCU" > <IMG BORDER=0 SRC=down.gif></A> class MiniBox : public <!2><A HREF="Box.html#DOC.28.3">Box</A> </H2><BLOCKQUOTE>
4
small box class, having fixed min. width and height.
8
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=185>
9
<param name=classes value="CThing,MThing.html,CShape,MShape.html,CGShape,MGShape.html,CNodeShape,MNodeShape.html,CBox,MBox.html,CMiniBox,MMiniBox.html">
10
<param name=before value="M,M,M,M,M,M">
11
<param name=after value="Md_SPSPSPSP,Md_SPSPSP,Md_SPSP,Md_SP,Md_,M">
12
<param name=indent value="0,1,2,3,4,5">
13
<param name=arrowdir value="down">
19
<DT><h3>Public Methods</h3><DD><TR><TD VALIGN=top><A HREF="#DOC.228.1"> <IMG BORDER=0 SRC=icon1.gif></A> </TD><TD><B>MiniBox</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.228.2"> <IMG BORDER=0 SRC=icon1.gif></A> </TD><TD><B>MiniBox</B> (const <!2><A HREF="NodeShape.html#DOC.242.2">NodeShape</A> &c)<br>
23
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.228.3"> <IMG BORDER=0 SRC=icon1.gif></A> <!2><A HREF="Shape.html#DOC.296.1">Shape</A>* </TD><TD><B>Clone</B> ()<br>
25
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.228.4"> <IMG BORDER=0 SRC=icon1.gif></A> int </TD><TD><B>GetClassType</B> () const <br>
27
</TD></TR></TABLE></DL>
28
<hr><H3>Inherited from <A HREF="Box.html">Box:</A></h3>
32
<DT><h3>Public Fields</h3><DD><DT><IMG SRC=icon2.gif> static const int <B>BOX_WIDTH</B>
33
<DT><IMG SRC=icon2.gif> static const int <B>BOX_HEIGHT</B>
34
<DT><IMG SRC=icon2.gif> static const int <B>BOX_HANDLES</B>
36
<DT><h3>Public Methods</h3><DD><DT><IMG SRC=icon2.gif> void <B>DrawOutLine</B>(const <!1><A HREF="Point.html">Point</A> *center)
37
<DT><IMG SRC=icon2.gif> <!1><A HREF="Point.html">Point</A> <B>GiveSnp</B>(<!1><A HREF="Point.html">Point</A> to) const
38
<DT><IMG SRC=icon2.gif> <!1><A HREF="Point.html">Point</A> <B>GiveOrthoSnp</B>(<!1><A HREF="Point.html">Point</A> to) const
39
<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)
41
<DT><h3>Protected Methods</h3><DD><DT><IMG SRC=icon2.gif> void <B>DrawShape</B>()
43
<hr><H3>Inherited from <A HREF = "NodeShape.html"> NodeShape:</A></h3>
47
<DT><h3>Public Methods</h3><DD><DT><IMG SRC=icon2.gif> void <B>UpdateIndexLabel</B>(const <!1><A HREF="string.html">string</A> *s)
48
<DT><IMG SRC=icon2.gif> void <B>SetIndexLabel</B>(const <!1><A HREF="string.html">string</A> *s)
49
<DT><IMG SRC=icon2.gif> void <B>DrawDuplicate</B>()
50
<DT><IMG SRC=icon2.gif> void <B>DrawMultiplicity</B>()
51
<DT><IMG SRC=icon2.gif> <!2><A HREF="FillStyle.html#DOC.176.1">FillStyle::Type</A> <B>GetFillStyle</B>() const
52
<DT><IMG SRC=icon2.gif> void <B>SetFillStyle</B>(<!2><A HREF="FillStyle.html#DOC.176.1">FillStyle::Type</A> f)
53
<DT><IMG SRC=icon2.gif> void <B>UpdateFillStyle</B>(<!2><A HREF="FillStyle.html#DOC.176.1">FillStyle::Type</A> f)
54
<DT><IMG SRC=icon2.gif> const <!1><A HREF="string.html">string</A>* <B>GetFillColor</B>() const
55
<DT><IMG SRC=icon2.gif> void <B>SetFillColor</B>(const <!1><A HREF="string.html">string</A> *c)
56
<DT><IMG SRC=icon2.gif> void <B>UpdateFillColor</B>(const <!1><A HREF="string.html">string</A> *c)
57
<DT><IMG SRC=icon2.gif> void <B>SetPosition</B>(const <!1><A HREF="Point.html">Point</A> *p, bool snap=True)
58
<DT><IMG SRC=icon2.gif> void <B>SetSize</B>(int w, int h)
59
<DT><IMG SRC=icon2.gif> void <B>SetGrafport</B>(<!1><A HREF="Grafport.html">Grafport</A> *g)
60
<DT><IMG SRC=icon2.gif> void <B>SetView</B>(<!1><A HREF="ShapeView.html">ShapeView</A> *v)
61
<DT><IMG SRC=icon2.gif> void <B>SetFont</B>(<!1><A HREF="XFont.html">XFont</A> *ft)
62
<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>)
63
<DT><IMG SRC=icon2.gif> bool <B>InTextArea</B>(int x, int y)
64
<DT><IMG SRC=icon2.gif> int <B>HitHandles</B>(int, int)
65
<DT><IMG SRC=icon2.gif> <!1><A HREF="TextShape.html">TextShape</A>* <B>ChooseTextShape</B>(int x, int y)
66
<DT><IMG SRC=icon2.gif> void <B>AdjustSize</B>()
67
<DT><IMG SRC=icon2.gif> bool <B>SetAssocSubject</B>(<!1><A HREF="AssocList.html">AssocList</A> *al)
68
<DT><IMG SRC=icon2.gif> void <B>WriteMembers</B>(<!1><A HREF="OutputFile.html">OutputFile</A> *ofile)
69
<DT><IMG SRC=icon2.gif> bool <B>ReadMembers</B>(<!1><A HREF="InputFile.html">InputFile</A> *ifile, double format)
70
<DT><IMG SRC=icon2.gif> void <B>SetTextShape</B>()
71
<DT><IMG SRC=icon2.gif> <!1><A HREF="TextShape.html">TextShape</A>* <B>GetIndexLabel</B>() const
72
<DT><IMG SRC=icon2.gif> bool <B>IsFixedIndexLabel</B>()
73
<DT><IMG SRC=icon2.gif> void <B>SetFixedIndexLabel</B>(bool b)
74
<DT><IMG SRC=icon2.gif> void <B>SetResizable</B>(bool b)
75
<DT><IMG SRC=icon2.gif> bool <B>IsResizable</B>()
76
<DT><IMG SRC=icon2.gif> void <B>ForceSize</B>(int w, int ht)
77
<DT><IMG SRC=icon2.gif> bool <B>HasTextShape</B>(<!1><A HREF="TextShape.html">TextShape</A> *t) const
78
<DT><IMG SRC=icon2.gif> bool <B>HasString</B>(const <!1><A HREF="string.html">string</A> *s, bool sens, bool sub) const
79
<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> *> *)
81
<DT><h3>Protected Methods</h3><DD><DT><IMG SRC=icon2.gif> void <B>DrawTextShapes</B>()
82
<DT><IMG SRC=icon2.gif> virtual void <B>CalcPositionIndexLabel</B>()
84
<hr><H3>Inherited from <A HREF = "GShape.html"> GShape:</A></h3>
88
<DT><h3>Public Methods</h3><DD><DT><IMG SRC=icon2.gif> void <B>Draw</B>()
89
<DT><IMG SRC=icon2.gif> void <B>Undraw</B>()
90
<DT><IMG SRC=icon2.gif> virtual void <B>UndrawShape</B>()
91
<DT><IMG SRC=icon2.gif> virtual void <B>UndrawTextShapes</B>()
92
<DT><IMG SRC=icon2.gif> virtual void <B>UpdateNameString</B>(const <!1><A HREF="string.html">string</A> *s)
93
<DT><IMG SRC=icon2.gif> void <B>SetNameString</B>(const <!1><A HREF="string.html">string</A> *s)
94
<DT><IMG SRC=icon2.gif> const <!1><A HREF="string.html">string</A>* <B>GetNameString</B>()
95
<DT><IMG SRC=icon2.gif> <!1><A HREF="TextShape.html">TextShape</A>* <B>GetName</B>() const
96
<DT><IMG SRC=icon2.gif> virtual void <B>SetSelect</B>(bool s)
97
<DT><IMG SRC=icon2.gif> unsigned <B>GetLineWidth</B>() const
98
<DT><IMG SRC=icon2.gif> void <B>SetLineWidth</B>(unsigned n)
99
<DT><IMG SRC=icon2.gif> void <B>UpdateLineWidth</B>(unsigned n)
100
<DT><IMG SRC=icon2.gif> <!2><A HREF="LineStyle.html#DOC.213.1">LineStyle::Type</A> <B>GetLineStyle</B>() const
101
<DT><IMG SRC=icon2.gif> void <B>SetLineStyle</B>(<!2><A HREF="LineStyle.html#DOC.213.1">LineStyle::Type</A> x)
102
<DT><IMG SRC=icon2.gif> void <B>UpdateLineStyle</B>(<!2><A HREF="LineStyle.html#DOC.213.1">LineStyle::Type</A> x)
103
<DT><IMG SRC=icon2.gif> const <!1><A HREF="string.html">string</A>* <B>GetTextColor</B>() const
104
<DT><IMG SRC=icon2.gif> void <B>UpdateTextColor</B>(const <!1><A HREF="string.html">string</A> *c)
105
<DT><IMG SRC=icon2.gif> virtual <!1><A HREF="TextShape.html">TextShape</A>* <B>HitTextShape</B>(int x, int y)
106
<DT><IMG SRC=icon2.gif> virtual int <B>GetLeftMost</B>() const
107
<DT><IMG SRC=icon2.gif> virtual int <B>GetTopMost</B>() const
108
<DT><IMG SRC=icon2.gif> virtual int <B>GetRightMost</B>() const
109
<DT><IMG SRC=icon2.gif> virtual int <B>GetBottomMost</B>() const
110
<DT><IMG SRC=icon2.gif> bool <B>IsFixedName</B>()
111
<DT><IMG SRC=icon2.gif> void <B>SetFixedName</B>(bool b)
112
<DT><IMG SRC=icon2.gif> virtual void <B>UpdateFont</B>(<!1><A HREF="XFont.html">XFont</A> *ft)
113
<DT><IMG SRC=icon2.gif> virtual void <B>UpdateAlignment</B>(<!2><A HREF="TextAlign.html#DOC.374.1">TextAlign::Type</A> alignment)
114
<DT><IMG SRC=icon2.gif> virtual void <B>NotifyTextMove</B>(<!1><A HREF="TextShape.html">TextShape</A> *)
115
<DT><IMG SRC=icon2.gif> <!1><A HREF="XFont.html">XFont</A>* <B>GetFont</B>() const
116
<DT><IMG SRC=icon2.gif> <!2><A HREF="TextAlign.html#DOC.374.1">TextAlign::Type</A> <B>GetAlignment</B>() const
117
<DT><IMG SRC=icon2.gif> bool <B>HasNameString</B>(const <!1><A HREF="string.html">string</A> *s, bool c1, bool c2) const
118
<DT><IMG SRC=icon2.gif> bool <B>CheckReferences</B>()
120
<DT><h3>Protected Methods</h3><DD><DT><IMG SRC=icon2.gif> void <B>WriteGraphicsPart</B>(<!1><A HREF="OutputFile.html">OutputFile</A> *ofile)
121
<DT><IMG SRC=icon2.gif> bool <B>ReadGraphicsPart</B>(<!1><A HREF="InputFile.html">InputFile</A> *ifile, double format)
122
<DT><IMG SRC=icon2.gif> void <B>WriteTextPart</B>(<!1><A HREF="OutputFile.html">OutputFile</A> *ofile)
123
<DT><IMG SRC=icon2.gif> bool <B>ReadTextPart</B>(<!1><A HREF="InputFile.html">InputFile</A> *ifile, double format)
124
<DT><IMG SRC=icon2.gif> void <B>SetDrawAttributes</B>()
125
<DT><IMG SRC=icon2.gif> virtual void <B>SetAlignment</B>(<!2><A HREF="TextAlign.html#DOC.374.1">TextAlign::Type</A> a)
126
<DT><IMG SRC=icon2.gif> void <B>SnapPosition</B>()
127
<DT><IMG SRC=icon2.gif> void <B>SnapTopleft</B>()
129
<hr><H3>Inherited from <A HREF = "Shape.html"> Shape:</A></h3>
133
<DT><h3>Public Fields</h3><DD><DT><IMG SRC=icon2.gif> static const int <B>MIN_HEIGHT</B>
134
<DT><IMG SRC=icon2.gif> static const int <B>MIN_WIDTH</B>
135
<DT><IMG SRC=icon2.gif> static const int <B>HANDLE_WIDTH</B>
137
<DT><h3>Public Methods</h3><DD><DT><IMG SRC=icon2.gif> bool <B>IsShape</B>() const
138
<DT><IMG SRC=icon2.gif> virtual bool <B>IsTextShape</B>() const
139
<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)
140
<DT><IMG SRC=icon2.gif> virtual void <B>UpdateSize</B>(int w, int h)
141
<DT><IMG SRC=icon2.gif> virtual void <B>UpdateMove</B>(const <!1><A HREF="Point.html">Point</A> *delta)
142
<DT><IMG SRC=icon2.gif> virtual void <B>UpdateSelect</B>(bool s)
143
<DT><IMG SRC=icon2.gif> virtual void <B>UpdateFirstSelect</B>(bool s)
144
<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>)
145
<DT><IMG SRC=icon2.gif> virtual void <B>SetFirstSelect</B>(bool s)
146
<DT><IMG SRC=icon2.gif> bool <B>IsFirstSelected</B>() const
147
<DT><IMG SRC=icon2.gif> void <B>SetVisible</B>(bool s)
148
<DT><IMG SRC=icon2.gif> void <B>SetSubject</B>(<!1><A HREF="Subject.html">Subject</A> *s)
149
<DT><IMG SRC=icon2.gif> <!1><A HREF="Subject.html">Subject</A>* <B>GetSubject</B>() const
150
<DT><IMG SRC=icon2.gif> <!1><A HREF="ShapeView.html">ShapeView</A>* <B>GetView</B>() const
151
<DT><IMG SRC=icon2.gif> void <B>SetColor</B>(const <!1><A HREF="string.html">string</A> *c)
152
<DT><IMG SRC=icon2.gif> const <!1><A HREF="string.html">string</A>* <B>GetColor</B>() const
153
<DT><IMG SRC=icon2.gif> virtual void <B>Move</B>(const <!1><A HREF="Point.html">Point</A> *delta)
154
<DT><IMG SRC=icon2.gif> void <B>SetHandles</B>(int n)
155
<DT><IMG SRC=icon2.gif> virtual bool <B>ContainsPt</B>(int x, int y)
156
<DT><IMG SRC=icon2.gif> const <!1><A HREF="Point.html">Point</A>* <B>GetPosition</B>() const
157
<DT><IMG SRC=icon2.gif> const <!1><A HREF="Point.html">Point</A>* <B>GetTopLeft</B>() const
158
<DT><IMG SRC=icon2.gif> bool <B>IsSelected</B>() const
159
<DT><IMG SRC=icon2.gif> bool <B>IsVisible</B>() const
160
<DT><IMG SRC=icon2.gif> bool <B>IsDuplicate</B>() const
161
<DT><IMG SRC=icon2.gif> int <B>GetWidth</B>() const
162
<DT><IMG SRC=icon2.gif> int <B>GetHeight</B>() const
163
<DT><IMG SRC=icon2.gif> void <B>UndrawDuplicate</B>()
164
<DT><IMG SRC=icon2.gif> void <B>SetDuplicate</B>(bool b)
165
<DT><IMG SRC=icon2.gif> void <B>UpdateDuplicate</B>(bool b)
166
<DT><IMG SRC=icon2.gif> virtual bool <B>IsLine</B>() const
167
<DT><IMG SRC=icon2.gif> bool <B>SetAssocView</B>(<!1><A HREF="AssocList.html">AssocList</A> *)
168
<DT><IMG SRC=icon2.gif> virtual void <B>MoveRaw</B>(const <!1><A HREF="Point.html">Point</A> *delta)
170
<DT><h3>Protected Fields</h3><DD><DT><IMG SRC=icon2.gif> static const int <B>MIN_HANDLES</B>
172
<DT><h3>Protected Methods</h3><DD><DT><IMG SRC=icon2.gif> <!1><A HREF="Grafport.html">Grafport</A>* <B>GetGrafport</B>() const
173
<DT><IMG SRC=icon2.gif> void <B>SetOutlineAttributes</B>()
174
<DT><IMG SRC=icon2.gif> void <B>SetWidth</B>(int w)
175
<DT><IMG SRC=icon2.gif> void <B>SetHeight</B>(int h)
176
<DT><IMG SRC=icon2.gif> void <B>SetNrHandles</B>(int n)
177
<DT><IMG SRC=icon2.gif> <!1><A HREF="DiagramViewer.html">DiagramViewer</A>* <B>GetViewer</B>() const
178
<DT><IMG SRC=icon2.gif> void <B>PositiveCoord</B>(const <!1><A HREF="Point.html">Point</A>*)
179
<DT><IMG SRC=icon2.gif> virtual void <B>DrawSelect</B>()
180
<DT><IMG SRC=icon2.gif> virtual void <B>DrawGraySelect</B>()
181
<DT><IMG SRC=icon2.gif> virtual void <B>UndrawSelect</B>()
182
<DT><IMG SRC=icon2.gif> virtual void <B>UndrawGraySelect</B>()
183
<DT><IMG SRC=icon2.gif> void <B>SetTopLeft</B>(const <!1><A HREF="Point.html">Point</A> *topLeft)
184
<DT><IMG SRC=icon2.gif> virtual void <B>SetPositionHandles</B>()
185
<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>)
187
<hr><H3>Inherited from <A HREF = "Thing.html"> Thing:</A></h3>
191
<DT><h3>Public Classes</h3><DD><DT><IMG SRC=icon2.gif> enum <B>AssocType</B>
193
<DT><h3>Public Methods</h3><DD><DT><IMG SRC=icon2.gif> unsigned long <B>GetId</B>()
194
<DT><IMG SRC=icon2.gif> void <B>SetId</B>(unsigned long val)
195
<DT><IMG SRC=icon2.gif> virtual bool <B>IsSubject</B>() const
196
<DT><IMG SRC=icon2.gif> virtual bool <B>IsView</B>() const
197
<DT><IMG SRC=icon2.gif> void <B>Write</B>(<!1><A HREF="OutputFile.html">OutputFile</A> *ofile)
198
<DT><IMG SRC=icon2.gif> virtual bool <B>SetReferences</B>(<!1><A HREF="AssocList.html">AssocList</A> *)
202
<h2> Documentation </h2>
204
small box class, having fixed min. width and height.
210
<A NAME ="DOC.228.1">
211
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> MiniBox(<!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>
214
<A NAME ="DOC.228.2">
215
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> MiniBox(const <!2><A HREF="NodeShape.html#DOC.242.2">NodeShape</A> &c)</B></TT>
218
<A NAME ="DOC.228.3">
219
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!2><A HREF="Shape.html#DOC.296.1">Shape</A>* Clone()</B></TT>
221
<A NAME="GetClassType">
222
<A NAME ="DOC.228.4">
223
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> int GetClassType() const </B></TT>
226
<DL><DT><B>This class has no child classes.</B></DL>
227
<DL></DL><P><I><A HREF="aindex.html"> alphabetic index</A></I> <I><A HREF="HIER.html"> hierarchy of classes</A></I><P><hr>
228
<A HREF="http://www.zib.de/Visual/software/doc++/index.html"><IMG BORDER=0 ALIGN=RIGHT SRC=logo.gif></A>
229
<P Align=Center><I>this page has been generated automatically by doc++</I>
230
<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>