csGridCell Class Reference
[Grid]
The following class collects properties for drawing the cell and acts as a container for the csComponent (i.e.
More...
#include <csgrid.h>
Inheritance diagram for csGridCell:

Public Methods | |
| csGridCell () | |
| Create a grid cell with default parameters. | |
| virtual void | Draw () |
| Draw the cell. | |
| bool | IsUsed () |
| Query if this cell is used. | |
| void | SetUsed (bool iState=true) |
| Set the in-use flag for this cell. | |
Public Attributes | |
| csCellBorder | upper |
| The styles for upper, lower, left and right borders. | |
| csCellBorder | lower |
| The styles for upper, lower, left and right borders. | |
| csCellBorder | left |
| The styles for upper, lower, left and right borders. | |
| csCellBorder | right |
| The styles for upper, lower, left and right borders. | |
| int | row |
| The row and column for this cell (set before calling Draw() by grid). | |
| int | col |
| The row and column for this cell (set before calling Draw() by grid). | |
| void * | data |
| Data associated with this cell. | |
| csString | valuePattern |
| how content should be formated | |
Protected Methods | |
| void | DrawLine (int x1, int y1, int x2, int y2, csCellBorder &border) |
| Draw a line with given border style. | |
Detailed Description
The following class collects properties for drawing the cell and acts as a container for the csComponent (i.e.the thing that lives inside the cell)
Definition at line 206 of file csgrid.h.
Constructor & Destructor Documentation
|
|
Create a grid cell with default parameters.
|
Member Function Documentation
|
|
Draw the cell.
Reimplemented from csComponent. |
|
||||||||||||||||||||||||
|
Draw a line with given border style.
|
|
|
Query if this cell is used.
|
|
|
Set the in-use flag for this cell.
|
Member Data Documentation
|
|
The row and column for this cell (set before calling Draw() by grid).
|
|
|
Data associated with this cell.
|
|
|
The styles for upper, lower, left and right borders.
|
|
|
The styles for upper, lower, left and right borders.
|
|
|
The styles for upper, lower, left and right borders.
|
|
|
The row and column for this cell (set before calling Draw() by grid).
|
|
|
The styles for upper, lower, left and right borders.
|
|
|
how content should be formated
|
The documentation for this class was generated from the following file:
- csws/csgrid.h
Generated for Crystal Space by doxygen 1.2.18
