abstract base class of table rows and columns.
![]() | CellVector (TableViewer *v, unsigned number) creation. |
![]() | operator== (const CellVector &c1, const CellVector &c2) -1,0,1 iff c1.number ==,<,> c2.number |
![]() | Compare (CellVector *c1, CellVector *c2) -1,0,1 iff c1.number ==,<,> c2.number |
![]() | Draw () draw cell vector. |
![]() | Undraw () erase cell vector. |
![]() | DrawCells () |
![]() | UndrawCells () |
![]() | DrawLines () |
![]() | UndrawLines () |
![]() | DrawLabels () |
![]() | UndrawLabels () |
![]() | SetGrafport (Grafport *g) |
![]() | SetVisible (bool b) Make all cells and lines (in)visible. |
![]() | GetViewer () const |
![]() | UpdatePosition (int delta) |
![]() | HitLinePiece (int x, int y) |
![]() | HasCell (Cell *c) |
![]() | HitLabel (int x, int y) const |
![]() | AddCell (Cell *c, bool redraw=False) append cell to column. |
![]() | DeleteCell (Cell *c, bool redraw=False) delete cell from column. |
![]() | InsertCell (Cell *c, unsigned n, bool redraw=False) insert cell in column. |
![]() | ContainsPt (int x, int y) const |
![]() | Write (OutputFile *f) |
![]() | WritePartial (OutputFile *f, int i, List |
![]() | Read (InputFile *f, unsigned from = 0, double format = 1.0) |
![]() | GetAlignment () const |
![]() | SetAlignment (TextAlign::Type a) |
![]() | UpdateAlignment (TextAlign::Type a) |
![]() | UpdateNumber (unsigned nr) |
![]() | SetLabelsVisible (bool s) |
![]() | SetNumber (unsigned nr) |
![]() | FirstCell () return first cell, 0 if cells is empty. |
![]() | NextCell () return next cell, 0 if cells is empty. |
![]() | NthCell (unsigned n) return n-th cell, 0 if n-th cell does not exist. |
![]() | FirstLine () return first line, 0 if lines is empty. |
![]() | NextLine () return next line, 0 if lines is empty. |
![]() | NthLine (unsigned n) return n-th line, 0 if n-th line does not exist. |
![]() | GetNumber () const |
![]() | GetLabel1 () const |
![]() | GetLabel2 () const |
![]() | UpdateLabel1 (const string *txt) |
![]() | UpdateLabel2 (const string *txt) |
![]() | NrCells () const |
![]() | GetIndex (LinePiece *l) |
![]() | HasEmptyText () return nr of cells having empty texts. |
![]() | HasText (const string *s) return nr of cells having this text. |
![]() | IsAllEmpty () |
![]() | EmptyCells () |
![]() | CalcLabelPositions () |
![]() | cells the cells in the vector. |
![]() | lines cell boundaries between the cells in the vector. |
![]() | GetGrafport () const |
abstract base class of table rows and columns.
friend int operator==(const CellVector &c1, const CellVector &c2)
friend int Compare(CellVector *c1, CellVector *c2)
void Draw()
void Undraw()
void DrawCells()
void UndrawCells()
void DrawLines()
void UndrawLines()
void DrawLabels()
void UndrawLabels()
void SetGrafport(Grafport *g)
void SetVisible(bool b)
TableViewer* GetViewer() const
virtual void UpdatePosition(int delta)
virtual LinePiece* HitLinePiece(int x, int y)
bool HasCell(Cell *c)
RowColumnLabel* HitLabel(int x, int y) const
virtual void AddCell(Cell *c, bool redraw=False)
virtual void DeleteCell(Cell *c, bool redraw=False)
virtual void InsertCell(Cell *c, unsigned n, bool redraw=False)
virtual bool ContainsPt(int x, int y) const
virtual void Write(OutputFile *f)
virtual void WritePartial(OutputFile *f, int i, List
virtual bool Read(InputFile *f, unsigned from = 0, double format = 1.0)
TextAlign::Type GetAlignment() const
void SetAlignment(TextAlign::Type a)
void UpdateAlignment(TextAlign::Type a)
virtual void UpdateNumber(unsigned nr)
virtual void SetLabelsVisible(bool s)
void SetNumber(unsigned nr)
Cell* FirstCell()
Cell* NextCell()
Cell* NthCell(unsigned n)
LinePiece* FirstLine()
LinePiece* NextLine()
LinePiece* NthLine(unsigned n)
unsigned GetNumber() const
RowColumnLabel* GetLabel1() const
RowColumnLabel* GetLabel2() const
void UpdateLabel1(const string *txt)
void UpdateLabel2(const string *txt)
unsigned NrCells() const
int GetIndex(LinePiece *l)
unsigned HasEmptyText()
unsigned HasText(const string *s)
bool IsAllEmpty()
void EmptyCells()
virtual void CalcLabelPositions()
List <Cell *> * cells
List <LinePiece *> * lines
alphabetic index hierarchy of classes
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de