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
|
<html><head><TITLE>CellRow</TITLE></head>
<body>
<H2><A HREF ="#DOC.DOCU" > <IMG BORDER=0 SRC=down.gif></A> class CellRow : public <!2><A HREF="CellVector.html#DOC.42.1">CellVector</A> </H2><BLOCKQUOTE>
(table) row class.
</BLOCKQUOTE>
<hr>
<h2> Inheritance:</h2>
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=65>
<param name=classes value="CCellVector,MCellVector.html,CCellRow,MCellRow.html">
<param name=before value="M,M">
<param name=after value="Md_,M">
<param name=indent value="0,1">
<param name=arrowdir value="down">
</APPLET>
<hr>
<DL>
<TABLE>
<DT><h3>Public Methods</h3><DD><TR><TD VALIGN=top><A HREF="#DOC.37.1"> <IMG BORDER=0 SRC=icon1.gif></A> </TD><TD><B>CellRow</B> (<!1><A HREF="TableViewer.html">TableViewer</A> *v, unsigned rowNumber, int <!2><A HREF="CellRow.html#DOC.37.21">height</A>)<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.37.2"> <IMG BORDER=0 SRC=icon1.gif></A> friend int </TD><TD><B>Compare</B> (<!2><A HREF="CellRow.html#DOC.37.1">CellRow</A> *r1, <!2><A HREF="CellRow.html#DOC.37.1">CellRow</A> *r2)<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.37.3"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>UpdateHeight</B> (int <!2><A HREF="CellRow.html#DOC.37.21">height</A>)<br>
<I> each cell will be this height.</I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.37.4"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>UpdatePosition</B> (int delta)<br>
<I> each cell is moved delta up/down</I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.37.5"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>UpdateWidth</B> (unsigned celnr)<br>
<I> resize cells and lines from index cellnr and higher.</I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.37.6"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="Cell.html">Cell</A>* </TD><TD><B>HitCell</B> (int x, int y)<br>
<I> if (x,y) is in a cell, return it.</I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.37.7"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="LinePiece.html">LinePiece</A>* </TD><TD><B>HitLinePiece</B> (int x, int y)<br>
<I> if (x,y) is on a line piece, return it.</I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.37.8"> <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>
<I> append cell to row.</I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.37.9"> <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>
<I> delete cell from row.</I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.37.10"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>InsertCell</B> (<!1><A HREF="Cell.html">Cell</A> *c, unsigned p, bool redraw=True)<br>
<I> insert cell in row, at position p.</I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.37.11"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>Write</B> (<!1><A HREF="OutputFile.html">OutputFile</A> *f)<br>
<I> write attributes (including cell contents to file.</I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.37.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> *columnNumbers)<br>
<I> write part of row to file (only given columns).</I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.37.13"> <IMG BORDER=0 SRC=icon1.gif></A> bool </TD><TD><B>Read</B> (<!1><A HREF="InputFile.html">InputFile</A> *f, unsigned fromColumn, double format)<br>
<I> read attributes back from file starting at position n.</I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.37.14"> <IMG BORDER=0 SRC=icon1.gif></A> bool </TD><TD><B>ContainsPt</B> (int x, int y) const <br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.37.15"> <IMG BORDER=0 SRC=icon1.gif></A> int </TD><TD><B>GetMinimalHeight</B> ()<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.37.16"> <IMG BORDER=0 SRC=icon1.gif></A> int </TD><TD><B>GetHeight</B> () const <br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.37.17"> <IMG BORDER=0 SRC=icon1.gif></A> int </TD><TD><B>GetMarginHeight</B> () const <br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.37.18"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>UpdateTextPositions</B> ()<br>
<I> recalculate text positions in cells.</I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.37.19"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetTextSizes</B> ()<br>
<I> recalculate text size in cells.</I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.37.20"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>CalcLabelPositions</B> ()<br>
<I></I>
</TD></TR></TABLE></DL>
<hr><H3>Inherited from <A HREF="CellVector.html">CellVector:</A></h3>
<DL>
<DL>
<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)
<DT><IMG SRC=icon2.gif> void <B>Draw</B>()
<DT><IMG SRC=icon2.gif> void <B>Undraw</B>()
<DT><IMG SRC=icon2.gif> void <B>DrawCells</B>()
<DT><IMG SRC=icon2.gif> void <B>UndrawCells</B>()
<DT><IMG SRC=icon2.gif> void <B>DrawLines</B>()
<DT><IMG SRC=icon2.gif> void <B>UndrawLines</B>()
<DT><IMG SRC=icon2.gif> void <B>DrawLabels</B>()
<DT><IMG SRC=icon2.gif> void <B>UndrawLabels</B>()
<DT><IMG SRC=icon2.gif> void <B>SetGrafport</B>(<!1><A HREF="Grafport.html">Grafport</A> *g)
<DT><IMG SRC=icon2.gif> void <B>SetVisible</B>(bool b)
<DT><IMG SRC=icon2.gif> <!1><A HREF="TableViewer.html">TableViewer</A>* <B>GetViewer</B>() const
<DT><IMG SRC=icon2.gif> bool <B>HasCell</B>(<!1><A HREF="Cell.html">Cell</A> *c)
<DT><IMG SRC=icon2.gif> <!1><A HREF="RowColumnLabel.html">RowColumnLabel</A>* <B>HitLabel</B>(int x, int y) 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> void <B>SetAlignment</B>(<!2><A HREF="TextAlign.html#DOC.374.1">TextAlign::Type</A> a)
<DT><IMG SRC=icon2.gif> void <B>UpdateAlignment</B>(<!2><A HREF="TextAlign.html#DOC.374.1">TextAlign::Type</A> a)
<DT><IMG SRC=icon2.gif> virtual void <B>UpdateNumber</B>(unsigned nr)
<DT><IMG SRC=icon2.gif> virtual void <B>SetLabelsVisible</B>(bool s)
<DT><IMG SRC=icon2.gif> void <B>SetNumber</B>(unsigned nr)
<DT><IMG SRC=icon2.gif> <!1><A HREF="Cell.html">Cell</A>* <B>FirstCell</B>()
<DT><IMG SRC=icon2.gif> <!1><A HREF="Cell.html">Cell</A>* <B>NextCell</B>()
<DT><IMG SRC=icon2.gif> <!1><A HREF="Cell.html">Cell</A>* <B>NthCell</B>(unsigned n)
<DT><IMG SRC=icon2.gif> <!1><A HREF="LinePiece.html">LinePiece</A>* <B>FirstLine</B>()
<DT><IMG SRC=icon2.gif> <!1><A HREF="LinePiece.html">LinePiece</A>* <B>NextLine</B>()
<DT><IMG SRC=icon2.gif> <!1><A HREF="LinePiece.html">LinePiece</A>* <B>NthLine</B>(unsigned n)
<DT><IMG SRC=icon2.gif> unsigned <B>GetNumber</B>() const
<DT><IMG SRC=icon2.gif> <!1><A HREF="RowColumnLabel.html">RowColumnLabel</A>* <B>GetLabel1</B>() const
<DT><IMG SRC=icon2.gif> <!1><A HREF="RowColumnLabel.html">RowColumnLabel</A>* <B>GetLabel2</B>() const
<DT><IMG SRC=icon2.gif> void <B>UpdateLabel1</B>(const <!1><A HREF="string.html">string</A> *txt)
<DT><IMG SRC=icon2.gif> void <B>UpdateLabel2</B>(const <!1><A HREF="string.html">string</A> *txt)
<DT><IMG SRC=icon2.gif> unsigned <B>NrCells</B>() const
<DT><IMG SRC=icon2.gif> int <B>GetIndex</B>(<!1><A HREF="LinePiece.html">LinePiece</A> *l)
<DT><IMG SRC=icon2.gif> unsigned <B>HasEmptyText</B>()
<DT><IMG SRC=icon2.gif> unsigned <B>HasText</B>(const <!1><A HREF="string.html">string</A> *s)
<DT><IMG SRC=icon2.gif> bool <B>IsAllEmpty</B>()
<DT><IMG SRC=icon2.gif> void <B>EmptyCells</B>()
</DL><DL>
<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>
<DT><IMG SRC=icon2.gif> <!1><A HREF="List.html">List</A> <<!1><A HREF="LinePiece.html">LinePiece</A> *> * <B>lines</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
</DL></DL>
<A NAME="DOC.DOCU">
<hr>
<h2> Documentation </h2>
<BLOCKQUOTE>
(table) row class.
</BLOCKQUOTE>
<DL>
<A NAME="CellRow">
<A NAME ="DOC.37.1">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> CellRow(<!1><A HREF="TableViewer.html">TableViewer</A> *v, unsigned rowNumber, int <!2><A HREF="CellRow.html#DOC.37.21">height</A>)</B></TT>
<DL></DL><P>
<A NAME="Compare">
<A NAME ="DOC.37.2">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> friend int Compare(<!2><A HREF="CellRow.html#DOC.37.1">CellRow</A> *r1, <!2><A HREF="CellRow.html#DOC.37.1">CellRow</A> *r2)</B></TT>
<DL></DL><P>
<A NAME="UpdateHeight">
<A NAME ="DOC.37.3">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void UpdateHeight(int <!2><A HREF="CellRow.html#DOC.37.21">height</A>)</B></TT>
<DD> each cell will be this height.
<DL></DL><P>
<A NAME="UpdatePosition">
<A NAME ="DOC.37.4">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void UpdatePosition(int delta)</B></TT>
<DD> each cell is moved delta up/down
<DL></DL><P>
<A NAME="UpdateWidth">
<A NAME ="DOC.37.5">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void UpdateWidth(unsigned celnr)</B></TT>
<DD> resize cells and lines from index cellnr and higher.
<DL></DL><P>
<A NAME="HitCell">
<A NAME ="DOC.37.6">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="Cell.html">Cell</A>* HitCell(int x, int y)</B></TT>
<DD> if (x,y) is in a cell, return it.
<DL></DL><P>
<A NAME="HitLinePiece">
<A NAME ="DOC.37.7">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="LinePiece.html">LinePiece</A>* HitLinePiece(int x, int y)</B></TT>
<DD> if (x,y) is on a line piece, return it.
<DL></DL><P>
<A NAME="AddCell">
<A NAME ="DOC.37.8">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void AddCell(<!1><A HREF="Cell.html">Cell</A> *c, bool redraw=True)</B></TT>
<DD> append cell to row.
<DL></DL><P>
<A NAME="DeleteCell">
<A NAME ="DOC.37.9">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void DeleteCell(<!1><A HREF="Cell.html">Cell</A> *c, bool redraw=True)</B></TT>
<DD> delete cell from row.
<DL></DL><P>
<A NAME="InsertCell">
<A NAME ="DOC.37.10">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void InsertCell(<!1><A HREF="Cell.html">Cell</A> *c, unsigned p, bool redraw=True)</B></TT>
<DD> insert cell in row, at position p.
<DL></DL><P>
<A NAME="Write">
<A NAME ="DOC.37.11">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void Write(<!1><A HREF="OutputFile.html">OutputFile</A> *f)</B></TT>
<DD> write attributes (including cell contents to file.
<DL></DL><P>
<A NAME="WritePartial">
<A NAME ="DOC.37.12">
<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> *columnNumbers)</B></TT>
<DD> write part of row to file (only given columns).
<DL></DL><P>
<A NAME="Read">
<A NAME ="DOC.37.13">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool Read(<!1><A HREF="InputFile.html">InputFile</A> *f, unsigned fromColumn, double format)</B></TT>
<DD> read attributes back from file starting at position n.
<DL></DL><P>
<A NAME="ContainsPt">
<A NAME ="DOC.37.14">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool ContainsPt(int x, int y) const </B></TT>
<DL></DL><P>
<A NAME="GetMinimalHeight">
<A NAME ="DOC.37.15">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> int GetMinimalHeight()</B></TT>
<DL></DL><P>
<A NAME="GetHeight">
<A NAME ="DOC.37.16">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> int GetHeight() const </B></TT>
<DL></DL><P>
<A NAME="GetMarginHeight">
<A NAME ="DOC.37.17">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> int GetMarginHeight() const </B></TT>
<DL></DL><P>
<A NAME="UpdateTextPositions">
<A NAME ="DOC.37.18">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void UpdateTextPositions()</B></TT>
<DD> recalculate text positions in cells.
<DL></DL><P>
<A NAME="SetTextSizes">
<A NAME ="DOC.37.19">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void SetTextSizes()</B></TT>
<DD> recalculate text size in cells.
<DL></DL><P>
<A NAME="CalcLabelPositions">
<A NAME ="DOC.37.20">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void CalcLabelPositions()</B></TT>
<DL></DL><P></DL>
<hr>
<DL><DT><B>This class has no child classes.</B></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>
|