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