1
<html><head><TITLE>CellColumn</TITLE></head>
3
<H2><A HREF ="#DOC.DOCU" > <IMG BORDER=0 SRC=down.gif></A> class CellColumn : public <!2><A HREF="CellVector.html#DOC.42.1">CellVector</A> </H2><BLOCKQUOTE>
8
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=65>
9
<param name=classes value="CCellVector,MCellVector.html,CCellColumn,MCellColumn.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.35.1"> <IMG BORDER=0 SRC=icon1.gif></A> </TD><TD><B>CellColumn</B> (<!1><A HREF="TableViewer.html">TableViewer</A> *v, unsigned columnNumber, int <!2><A HREF="CellColumn.html#DOC.35.19">width</A>)<br>
21
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.35.2"> <IMG BORDER=0 SRC=icon1.gif></A> friend int </TD><TD><B>Compare</B> (<!2><A HREF="CellColumn.html#DOC.35.1">CellColumn</A> *c1, <!2><A HREF="CellColumn.html#DOC.35.1">CellColumn</A> *c2)<br>
23
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.35.3"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>UpdateWidth</B> (int <!2><A HREF="CellColumn.html#DOC.35.19">width</A>)<br>
24
<I> make each cell width wide.</I>
25
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.35.4"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>UpdatePosition</B> (int delta)<br>
26
<I> move each cell delta left/right.</I>
27
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.35.5"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>UpdateHeight</B> (unsigned rownr)<br>
28
<I> resize all cells from index rownr and lower.</I>
29
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.35.6"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="LinePiece.html">LinePiece</A>* </TD><TD><B>HitLinePiece</B> (int x, int y)<br>
30
<I> if (x,y) is on a linepiece, return it.</I>
31
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.35.7"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>AddCell</B> (<!1><A HREF="Cell.html">Cell</A> *c, bool redraw=True)<br>
32
<I> append cell to column.</I>
33
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.35.8"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>DeleteCell</B> (<!1><A HREF="Cell.html">Cell</A> *c, bool redraw=True)<br>
34
<I> delete cell from column.</I>
35
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.35.9"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>InsertCell</B> (<!1><A HREF="Cell.html">Cell</A> *c, unsigned n, bool redraw=True)<br>
36
<I> insert cell in column at position n.</I>
37
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.35.10"> <IMG BORDER=0 SRC=icon1.gif></A> bool </TD><TD><B>ContainsPt</B> (int x, int y) const <br>
39
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.35.11"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>Write</B> (<!1><A HREF="OutputFile.html">OutputFile</A> *f)<br>
40
<I> write attributes (but not cell contents) to file.</I>
41
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.35.12"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>WritePartial</B> (<!1><A HREF="OutputFile.html">OutputFile</A> *f, int i, <!1><A HREF="List.html">List</A><int> *rowNumbers)<br>
42
<I> write part of column to file (only given rows).</I>
43
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.35.13"> <IMG BORDER=0 SRC=icon1.gif></A> bool </TD><TD><B>Read</B> (<!1><A HREF="InputFile.html">InputFile</A> *f, unsigned fromRow, double format)<br>
44
<I> read attributes back from file starting at row n.</I>
45
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.35.14"> <IMG BORDER=0 SRC=icon1.gif></A> int </TD><TD><B>GetMinimalWidth</B> ()<br>
47
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.35.15"> <IMG BORDER=0 SRC=icon1.gif></A> int </TD><TD><B>GetWidth</B> () const <br>
49
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.35.16"> <IMG BORDER=0 SRC=icon1.gif></A> int </TD><TD><B>GetMarginWidth</B> () const <br>
51
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.35.17"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>UpdateTextPositions</B> ()<br>
53
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.35.18"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>CalcLabelPositions</B> ()<br>
55
</TD></TR></TABLE></DL>
56
<hr><H3>Inherited from <A HREF="CellVector.html">CellVector:</A></h3>
60
<DT><h3>Public Methods</h3><DD><DT><IMG SRC=icon2.gif> friend int <B>operator==</B>(const <!2><A HREF="CellVector.html#DOC.42.1">CellVector</A> &c1, const <!2><A HREF="CellVector.html#DOC.42.1">CellVector</A> &c2)
61
<DT><IMG SRC=icon2.gif> void <B>Draw</B>()
62
<DT><IMG SRC=icon2.gif> void <B>Undraw</B>()
63
<DT><IMG SRC=icon2.gif> void <B>DrawCells</B>()
64
<DT><IMG SRC=icon2.gif> void <B>UndrawCells</B>()
65
<DT><IMG SRC=icon2.gif> void <B>DrawLines</B>()
66
<DT><IMG SRC=icon2.gif> void <B>UndrawLines</B>()
67
<DT><IMG SRC=icon2.gif> void <B>DrawLabels</B>()
68
<DT><IMG SRC=icon2.gif> void <B>UndrawLabels</B>()
69
<DT><IMG SRC=icon2.gif> void <B>SetGrafport</B>(<!1><A HREF="Grafport.html">Grafport</A> *g)
70
<DT><IMG SRC=icon2.gif> void <B>SetVisible</B>(bool b)
71
<DT><IMG SRC=icon2.gif> <!1><A HREF="TableViewer.html">TableViewer</A>* <B>GetViewer</B>() const
72
<DT><IMG SRC=icon2.gif> bool <B>HasCell</B>(<!1><A HREF="Cell.html">Cell</A> *c)
73
<DT><IMG SRC=icon2.gif> <!1><A HREF="RowColumnLabel.html">RowColumnLabel</A>* <B>HitLabel</B>(int x, int y) const
74
<DT><IMG SRC=icon2.gif> <!2><A HREF="TextAlign.html#DOC.374.1">TextAlign::Type</A> <B>GetAlignment</B>() const
75
<DT><IMG SRC=icon2.gif> void <B>SetAlignment</B>(<!2><A HREF="TextAlign.html#DOC.374.1">TextAlign::Type</A> a)
76
<DT><IMG SRC=icon2.gif> void <B>UpdateAlignment</B>(<!2><A HREF="TextAlign.html#DOC.374.1">TextAlign::Type</A> a)
77
<DT><IMG SRC=icon2.gif> virtual void <B>UpdateNumber</B>(unsigned nr)
78
<DT><IMG SRC=icon2.gif> virtual void <B>SetLabelsVisible</B>(bool s)
79
<DT><IMG SRC=icon2.gif> void <B>SetNumber</B>(unsigned nr)
80
<DT><IMG SRC=icon2.gif> <!1><A HREF="Cell.html">Cell</A>* <B>FirstCell</B>()
81
<DT><IMG SRC=icon2.gif> <!1><A HREF="Cell.html">Cell</A>* <B>NextCell</B>()
82
<DT><IMG SRC=icon2.gif> <!1><A HREF="Cell.html">Cell</A>* <B>NthCell</B>(unsigned n)
83
<DT><IMG SRC=icon2.gif> <!1><A HREF="LinePiece.html">LinePiece</A>* <B>FirstLine</B>()
84
<DT><IMG SRC=icon2.gif> <!1><A HREF="LinePiece.html">LinePiece</A>* <B>NextLine</B>()
85
<DT><IMG SRC=icon2.gif> <!1><A HREF="LinePiece.html">LinePiece</A>* <B>NthLine</B>(unsigned n)
86
<DT><IMG SRC=icon2.gif> unsigned <B>GetNumber</B>() const
87
<DT><IMG SRC=icon2.gif> <!1><A HREF="RowColumnLabel.html">RowColumnLabel</A>* <B>GetLabel1</B>() const
88
<DT><IMG SRC=icon2.gif> <!1><A HREF="RowColumnLabel.html">RowColumnLabel</A>* <B>GetLabel2</B>() const
89
<DT><IMG SRC=icon2.gif> void <B>UpdateLabel1</B>(const <!1><A HREF="string.html">string</A> *txt)
90
<DT><IMG SRC=icon2.gif> void <B>UpdateLabel2</B>(const <!1><A HREF="string.html">string</A> *txt)
91
<DT><IMG SRC=icon2.gif> unsigned <B>NrCells</B>() const
92
<DT><IMG SRC=icon2.gif> int <B>GetIndex</B>(<!1><A HREF="LinePiece.html">LinePiece</A> *l)
93
<DT><IMG SRC=icon2.gif> unsigned <B>HasEmptyText</B>()
94
<DT><IMG SRC=icon2.gif> unsigned <B>HasText</B>(const <!1><A HREF="string.html">string</A> *s)
95
<DT><IMG SRC=icon2.gif> bool <B>IsAllEmpty</B>()
96
<DT><IMG SRC=icon2.gif> void <B>EmptyCells</B>()
98
<DT><h3>Protected Fields</h3><DD><DT><IMG SRC=icon2.gif> <!1><A HREF="List.html">List</A> <<!1><A HREF="Cell.html">Cell</A> *> * <B>cells</B>
99
<DT><IMG SRC=icon2.gif> <!1><A HREF="List.html">List</A> <<!1><A HREF="LinePiece.html">LinePiece</A> *> * <B>lines</B>
101
<DT><h3>Protected Methods</h3><DD><DT><IMG SRC=icon2.gif> <!1><A HREF="Grafport.html">Grafport</A>* <B>GetGrafport</B>() const
105
<h2> Documentation </h2>
107
(table) column class.
112
<A NAME="CellColumn">
114
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> CellColumn(<!1><A HREF="TableViewer.html">TableViewer</A> *v, unsigned columnNumber, int <!2><A HREF="CellColumn.html#DOC.35.19">width</A>)</B></TT>
118
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> friend int Compare(<!2><A HREF="CellColumn.html#DOC.35.1">CellColumn</A> *c1, <!2><A HREF="CellColumn.html#DOC.35.1">CellColumn</A> *c2)</B></TT>
120
<A NAME="UpdateWidth">
122
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void UpdateWidth(int <!2><A HREF="CellColumn.html#DOC.35.19">width</A>)</B></TT>
123
<DD> make each cell width wide.
125
<A NAME="UpdatePosition">
127
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void UpdatePosition(int delta)</B></TT>
128
<DD> move each cell delta left/right.
130
<A NAME="UpdateHeight">
132
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void UpdateHeight(unsigned rownr)</B></TT>
133
<DD> resize all cells from index rownr and lower.
135
<A NAME="HitLinePiece">
137
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="LinePiece.html">LinePiece</A>* HitLinePiece(int x, int y)</B></TT>
138
<DD> if (x,y) is on a linepiece, return it.
142
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void AddCell(<!1><A HREF="Cell.html">Cell</A> *c, bool redraw=True)</B></TT>
143
<DD> append cell to column.
145
<A NAME="DeleteCell">
147
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void DeleteCell(<!1><A HREF="Cell.html">Cell</A> *c, bool redraw=True)</B></TT>
148
<DD> delete cell from column.
150
<A NAME="InsertCell">
152
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void InsertCell(<!1><A HREF="Cell.html">Cell</A> *c, unsigned n, bool redraw=True)</B></TT>
153
<DD> insert cell in column at position n.
155
<A NAME="ContainsPt">
156
<A NAME ="DOC.35.10">
157
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool ContainsPt(int x, int y) const </B></TT>
160
<A NAME ="DOC.35.11">
161
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void Write(<!1><A HREF="OutputFile.html">OutputFile</A> *f)</B></TT>
162
<DD> write attributes (but not cell contents) to file.
164
<A NAME="WritePartial">
165
<A NAME ="DOC.35.12">
166
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void WritePartial(<!1><A HREF="OutputFile.html">OutputFile</A> *f, int i, <!1><A HREF="List.html">List</A><int> *rowNumbers)</B></TT>
167
<DD> write part of column to file (only given rows).
170
<A NAME ="DOC.35.13">
171
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool Read(<!1><A HREF="InputFile.html">InputFile</A> *f, unsigned fromRow, double format)</B></TT>
172
<DD> read attributes back from file starting at row n.
174
<A NAME="GetMinimalWidth">
175
<A NAME ="DOC.35.14">
176
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> int GetMinimalWidth()</B></TT>
179
<A NAME ="DOC.35.15">
180
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> int GetWidth() const </B></TT>
182
<A NAME="GetMarginWidth">
183
<A NAME ="DOC.35.16">
184
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> int GetMarginWidth() const </B></TT>
186
<A NAME="UpdateTextPositions">
187
<A NAME ="DOC.35.17">
188
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void UpdateTextPositions()</B></TT>
190
<A NAME="CalcLabelPositions">
191
<A NAME ="DOC.35.18">
192
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void CalcLabelPositions()</B></TT>
195
<DL><DT><B>This class has no child classes.</B></DL>
196
<DL></DL><P><I><A HREF="aindex.html"> alphabetic index</A></I> <I><A HREF="HIER.html"> hierarchy of classes</A></I><P><hr>
197
<A HREF="http://www.zib.de/Visual/software/doc++/index.html"><IMG BORDER=0 ALIGN=RIGHT SRC=logo.gif></A>
198
<P Align=Center><I>this page has been generated automatically by doc++</I>
199
<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>