1
<html><head><TITLE>CellText</TITLE></head>
3
<H2><A HREF ="#DOC.DOCU" > <IMG BORDER=0 SRC=down.gif></A> class CellText : public <!2><A HREF="SimpleLabel.html#DOC.300.1">SimpleLabel</A> </H2><BLOCKQUOTE>
8
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=65>
9
<param name=classes value="CSimpleLabel,MSimpleLabel.html,CCellText,MCellText.html">
10
<param name=before value="M,M">
11
<param name=after value="Md_,M">
12
<param name=indent value="0,1">
13
<param name=arrowdir value="down">
19
<DT><h3>Public Methods</h3><DD><TR><TD VALIGN=top><A HREF="#DOC.41.1"> <IMG BORDER=0 SRC=icon1.gif></A> </TD><TD><B>CellText</B> (<!1><A HREF="Grafport.html">Grafport</A> *g, <!1><A HREF="XFont.html">XFont</A> *ft, <!1><A HREF="Cell.html">Cell</A> *<!2><A HREF="CellText.html#DOC.41.15">parent</A>)<br>
21
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.41.2"> <IMG BORDER=0 SRC=icon1.gif></A> </TD><TD><B>CellText</B> (const <!2><A HREF="CellText.html#DOC.41.1">CellText</A> &<!2><A HREF="SimpleLabel.html#DOC.300.32">text</A>)<br>
22
<I> creation + initialization.</I>
23
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.41.3"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>Draw</B> ()<br>
25
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.41.4"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>DrawAligned</B> (<!2><A HREF="TextAlign.html#DOC.374.1">TextAlign::Type</A> a)<br>
26
<I> draw cell text. </I>
27
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.41.5"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>UndrawAligned</B> (<!2><A HREF="TextAlign.html#DOC.374.1">TextAlign::Type</A> a)<br>
28
<I> erase cell cell.</I>
29
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.41.6"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>UpdatePosition</B> (const <!1><A HREF="Point.html">Point</A> *)<br>
30
<I> update position and redraw.</I>
31
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.41.7"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>UpdateText</B> (const <!1><A HREF="string.html">string</A> *)<br>
32
<I> update text and redraw.</I>
33
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.41.8"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>UpdateFont</B> (<!1><A HREF="XFont.html">XFont</A> *)<br>
34
<I> update font and redraw.</I>
35
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.41.9"> <IMG BORDER=0 SRC=icon1.gif></A> virtual bool </TD><TD><B>IsUnderlined</B> () const <br>
37
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.41.10"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetUnderlined</B> (bool b)<br>
39
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.41.11"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>UpdateUnderlined</B> (bool b)<br>
41
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.41.12"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="Cell.html">Cell</A>* </TD><TD><B>GetParent</B> () const <br>
43
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.41.13"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>Write</B> (<!1><A HREF="OutputFile.html">OutputFile</A> *f)<br>
45
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.41.14"> <IMG BORDER=0 SRC=icon1.gif></A> bool </TD><TD><B>Read</B> (<!1><A HREF="InputFile.html">InputFile</A> *f, double format)<br>
47
</TD></TR></TABLE></DL>
48
<hr><H3>Inherited from <A HREF="SimpleLabel.html">SimpleLabel:</A></h3>
52
<DT><h3>Public Fields</h3><DD><DT><IMG SRC=icon2.gif> static const int <B>MIN_TEXT_WIDTH</B>
53
<DT><IMG SRC=icon2.gif> static const int <B>MIN_TEXT_HEIGHT</B>
55
<DT><h3>Public Methods</h3><DD><DT><IMG SRC=icon2.gif> friend int <B>operator==</B>(const <!2><A HREF="SimpleLabel.html#DOC.300.1">SimpleLabel</A> &t1, const <!2><A HREF="SimpleLabel.html#DOC.300.1">SimpleLabel</A> &t2)
56
<DT><IMG SRC=icon2.gif> friend int <B>Compare</B>(<!2><A HREF="SimpleLabel.html#DOC.300.1">SimpleLabel</A> *r1, <!2><A HREF="SimpleLabel.html#DOC.300.1">SimpleLabel</A> *r2)
57
<DT><IMG SRC=icon2.gif> virtual void <B>Undraw</B>()
58
<DT><IMG SRC=icon2.gif> void <B>DrawOutLine</B>(const <!1><A HREF="Point.html">Point</A> *c)
59
<DT><IMG SRC=icon2.gif> void <B>SetPosition</B>(const <!1><A HREF="Point.html">Point</A> *pt)
60
<DT><IMG SRC=icon2.gif> void <B>SetText</B>(const <!1><A HREF="string.html">string</A> *s)
61
<DT><IMG SRC=icon2.gif> void <B>SetGrafport</B>(<!1><A HREF="Grafport.html">Grafport</A> *g)
62
<DT><IMG SRC=icon2.gif> void <B>CalcSize</B>()
63
<DT><IMG SRC=icon2.gif> bool <B>HitText</B>(int x, int y)
64
<DT><IMG SRC=icon2.gif> const <!1><A HREF="Point.html">Point</A>* <B>GetPosition</B>() const
65
<DT><IMG SRC=icon2.gif> const <!1><A HREF="Point.html">Point</A>* <B>GetTopLeft</B>() const
66
<DT><IMG SRC=icon2.gif> const <!1><A HREF="string.html">string</A>* <B>GetText</B>() const
67
<DT><IMG SRC=icon2.gif> int <B>GetWidth</B>() const
68
<DT><IMG SRC=icon2.gif> int <B>GetHeight</B>() const
69
<DT><IMG SRC=icon2.gif> <!1><A HREF="XFont.html">XFont</A>* <B>GetFont</B>() const
70
<DT><IMG SRC=icon2.gif> void <B>SetFont</B>(<!1><A HREF="XFont.html">XFont</A> *f)
71
<DT><IMG SRC=icon2.gif> int <B>FontHeight</B>() const
73
<DT><h3>Protected Methods</h3><DD><DT><IMG SRC=icon2.gif> <!1><A HREF="Grafport.html">Grafport</A>* <B>GetGrafport</B>() const
77
<h2> Documentation </h2>
86
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> CellText(<!1><A HREF="Grafport.html">Grafport</A> *g, <!1><A HREF="XFont.html">XFont</A> *ft, <!1><A HREF="Cell.html">Cell</A> *<!2><A HREF="CellText.html#DOC.41.15">parent</A>)</B></TT>
91
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> CellText(const <!2><A HREF="CellText.html#DOC.41.1">CellText</A> &<!2><A HREF="SimpleLabel.html#DOC.300.32">text</A>)</B></TT>
92
<DD> creation + initialization.
96
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void Draw()</B></TT>
98
<A NAME="DrawAligned">
100
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void DrawAligned(<!2><A HREF="TextAlign.html#DOC.374.1">TextAlign::Type</A> a)</B></TT>
103
<A NAME="UndrawAligned">
105
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void UndrawAligned(<!2><A HREF="TextAlign.html#DOC.374.1">TextAlign::Type</A> a)</B></TT>
106
<DD> erase cell cell.
108
<A NAME="UpdatePosition">
110
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void UpdatePosition(const <!1><A HREF="Point.html">Point</A> *)</B></TT>
111
<DD> update position and redraw.
113
<A NAME="UpdateText">
115
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void UpdateText(const <!1><A HREF="string.html">string</A> *)</B></TT>
116
<DD> update text and redraw.
118
<A NAME="UpdateFont">
120
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void UpdateFont(<!1><A HREF="XFont.html">XFont</A> *)</B></TT>
121
<DD> update font and redraw.
123
<A NAME="IsUnderlined">
125
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> virtual bool IsUnderlined() const </B></TT>
128
<A NAME="SetUnderlined">
129
<A NAME ="DOC.41.10">
130
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void SetUnderlined(bool b)</B></TT>
132
<A NAME="UpdateUnderlined">
133
<A NAME ="DOC.41.11">
134
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void UpdateUnderlined(bool b)</B></TT>
137
<A NAME ="DOC.41.12">
138
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="Cell.html">Cell</A>* GetParent() const </B></TT>
141
<A NAME ="DOC.41.13">
142
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void Write(<!1><A HREF="OutputFile.html">OutputFile</A> *f)</B></TT>
145
<A NAME ="DOC.41.14">
146
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool Read(<!1><A HREF="InputFile.html">InputFile</A> *f, double format)</B></TT>
149
<DL><DT><B>This class has no child classes.</B></DL>
150
<DL></DL><P><I><A HREF="aindex.html"> alphabetic index</A></I> <I><A HREF="HIER.html"> hierarchy of classes</A></I><P><hr>
151
<A HREF="http://www.zib.de/Visual/software/doc++/index.html"><IMG BORDER=0 ALIGN=RIGHT SRC=logo.gif></A>
152
<P Align=Center><I>this page has been generated automatically by doc++</I>
153
<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>