 class  Cell
  class  Cell  (table) cell class.
|   | Cell (Grafport *g, XFont *ft, CellRow *row, CellColumn *column, int x, int y, int wd, int ht) | 
|  virtual | ~Cell () | 
|  friend  int | operator== (const Cell &c1, const Cell &c2) alphabetical text comparison. | 
|  void | Draw () draw the cell. | 
|  void | Undraw () erase the cell. | 
|  void | UpdatePosition (const Point *pt) reposition and redraw | 
|  void | UpdateSize (int wd, int ht) resize and redraw. | 
|  void | UpdateSelect (bool) (de)select and redraw. | 
|  void | UpdateFont (XFont *ft) update text font and redraw. | 
|  void | UpdateTextPosition () recalculate text position and redraw. | 
|  void | SetTextSize () recalculate text size. | 
|  void | SetPosition (const Point *pt) reposition cell + text | 
|  void | SetSize (int wd, int ht) resize cell. | 
|  void | SetGrafport (Grafport *g) change grafport | 
|  bool | ContainsPt (int x, int y) const true iff (x,y) is inside cell. | 
|  void | Write (OutputFile *f) write cell attributes to output stream (file). | 
|  bool | Read (InputFile *f, double format) read cell attributes from input stream (file). | 
|  void | UpdateText (const string *) update cell text and redraw. | 
|  void | ClearText () make cell text empty. | 
|  bool | HasText (const string *s) const true iff celltext is 's'. | 
|  bool | HasText (const string *s, bool c1, bool c2) true iff celltext contains 's' (c1: case sensitive). | 
|  void | SetRow (CellRow *r) | 
|  void | SetColumn (CellColumn *c) | 
|  CellRow* | GetRow () const | 
|  CellColumn* | GetColumn () const | 
|  const  Point* | GetPosition () const | 
|  const  Point* | GetTopLeft () const | 
|  int | GetWidth () const | 
|  int | GetHeight () const | 
|  bool | IsSelected () const | 
|  bool | IsEditable () const | 
|  void | SetEditable (bool b) | 
|  bool | IsVisible () const | 
|  void | SetVisible (bool b) | 
|  CellText* | GetCellText () const | 
|  const  string* | GetText () const | 
|  void | SetFont (XFont *ft) | 
|  XFont* | GetFont () const | 
|  void | SetXLFD (const char *descr) | 
|  int | GetTextWidth () const | 
|  int | GetTextHeight () const | 
|  TextAlign::Type | GetColumnAlignment () const | 
|  void | CalcCellTextPosition () set cell text pos. given row/column alignment + margin width/height. | 
|  void | SetAnnotation (const string *s) | 
|  const  string* | GetAnnotation () const | 
(table) cell class.
 Cell(Grafport *g, XFont *ft, CellRow *row, CellColumn *column, int x, int y, int wd, int ht)
  Cell(Grafport *g, XFont *ft, CellRow *row, CellColumn *column, int x, int y, int wd, int ht)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 virtual  ~Cell()
 virtual  ~Cell()
 friend  int  operator==(const Cell &c1, const Cell &c2)
 friend  int  operator==(const Cell &c1, const Cell &c2)
 void  Draw()
 void  Draw()
 void  Undraw()
 void  Undraw()
 void  UpdatePosition(const Point *pt)
 void  UpdatePosition(const Point *pt)
 void  UpdateSize(int wd, int ht)
 void  UpdateSize(int wd, int ht)
 void  UpdateSelect(bool)
 void  UpdateSelect(bool)
 void  UpdateFont(XFont *ft)
 void  UpdateFont(XFont *ft)
 void  UpdateTextPosition()
 void  UpdateTextPosition()
 void  SetTextSize()
 void  SetTextSize()
 void  SetPosition(const Point *pt)
 void  SetPosition(const Point *pt)
 void  SetSize(int wd, int ht)
 void  SetSize(int wd, int ht)
 void  SetGrafport(Grafport *g)
 void  SetGrafport(Grafport *g)
 bool  ContainsPt(int x, int y) const
 bool  ContainsPt(int x, int y) const 
 void  Write(OutputFile *f)
 void  Write(OutputFile *f)
 bool  Read(InputFile *f, double format)
 bool  Read(InputFile *f, double format)
 void  UpdateText(const string *)
 void  UpdateText(const string *)
 void  ClearText()
 void  ClearText()
 bool  HasText(const string *s) const
 bool  HasText(const string *s) const 
 bool  HasText(const string *s, bool c1, bool c2)
 bool  HasText(const string *s, bool c1, bool c2)
 void  SetRow(CellRow *r)
 void  SetRow(CellRow *r)
 void  SetColumn(CellColumn *c)
 void  SetColumn(CellColumn *c)
 CellRow*  GetRow() const
 CellRow*  GetRow() const 
 CellColumn*  GetColumn() const
 CellColumn*  GetColumn() const 
 const  Point*  GetPosition() const
 const  Point*  GetPosition() const 
 const  Point*  GetTopLeft() const
 const  Point*  GetTopLeft() const 
 int  GetWidth() const
 int  GetWidth() const 
 int  GetHeight() const
 int  GetHeight() const 
 bool  IsSelected() const
 bool  IsSelected() const 
 bool  IsEditable() const
 bool  IsEditable() const 
 void  SetEditable(bool b)
 void  SetEditable(bool b)
 bool  IsVisible() const
 bool  IsVisible() const 
 void  SetVisible(bool b)
 void  SetVisible(bool b)
 CellText*  GetCellText() const
 CellText*  GetCellText() const 
 const  string*  GetText() const
 const  string*  GetText() const 
 void  SetFont(XFont *ft)
 void  SetFont(XFont *ft)
 XFont*  GetFont() const
 XFont*  GetFont() const 
 void  SetXLFD(const char *descr)
 void  SetXLFD(const char *descr)
 int  GetTextWidth() const
 int  GetTextWidth() const 
 int  GetTextHeight() const
 int  GetTextHeight() const 
 TextAlign::Type  GetColumnAlignment() const
 TextAlign::Type  GetColumnAlignment() const 
 void  CalcCellTextPosition()
 void  CalcCellTextPosition()
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