Inheritance diagram for os::TableView:
Public Member Functions | |
TableView (const Rect &cFrame, const String &cName, const String &cTitle, int nWidth, int nHeight, uint32 nResizeMask=CF_FOLLOW_LEFT|CF_FOLLOW_TOP) | |
~TableView () | |
void | AttachedToWindow (void) |
void | AllAttached (void) |
void | FrameSized (const Point &cDelta) |
Virtual hook called by the system when the view is resized. | |
void | Paint (const Rect &cUpdateRect) |
Called by the system update "damaged" areas of the view. | |
Point | GetPreferredSize (bool bLargest) const |
void | SetColAlignment (int nCol, alignment eAlign) |
void | SetCellAlignment (int x, int y, alignment eHor, alignment eVer=ALIGN_CENTER) |
void | SetCellBorders (int x, int y, int nLeft, int nTop, int nRight, int nBottom) |
void | SetCellBorders (int x, int nLeft, int nTop, int nRight, int nBottom) |
void | SetCellBorders (int nLeft, int nTop, int nRight, int nBottom) |
View * | SetChild (View *pcView, int nColumn, int nRow, float vHorWheight=1.0f, float vVerWheight=1.0f) |
TableCell * | GetCell (int x, int y) const |
void | Layout () |
TableView::TableView | ( | const Rect & | cFrame, | |
const String & | cName, | |||
const String & | cTitle, | |||
int | nWidth, | |||
int | nHeight, | |||
uint32 | nResizeMask = CF_FOLLOW_LEFT|CF_FOLLOW_TOP | |||
) |
TableView::~TableView | ( | ) |
void TableView::AttachedToWindow | ( | void | ) | [virtual] |
Reimplemented from os::View.
void TableView::AllAttached | ( | void | ) | [virtual] |
Reimplemented from os::View.
void TableView::FrameSized | ( | const Point & | cDelta | ) | [virtual] |
cDelta
calue from the current size. cDelta | The distance the bottom/right corner was moved relative to the upper/left corner. |
Reimplemented from os::View.
void TableView::Paint | ( | const Rect & | cUpdateRect | ) | [virtual] |
cUpdateRect | A rectangle enclosing all damaged areas. This is just a rough "worst-case", further fine-grained clipping will be performed by the Application Server to avoid updating non-damaged pixels and make the update as fast and flicker-free as possible. |
Reimplemented from os::View.
void TableView::SetColAlignment | ( | int | nCol, | |
alignment | eAlign | |||
) |
void TableView::SetCellBorders | ( | int | x, | |
int | y, | |||
int | nLeft, | |||
int | nTop, | |||
int | nRight, | |||
int | nBottom | |||
) |
void TableView::SetCellBorders | ( | int | x, | |
int | nLeft, | |||
int | nTop, | |||
int | nRight, | |||
int | nBottom | |||
) |
void TableView::SetCellBorders | ( | int | nLeft, | |
int | nTop, | |||
int | nRight, | |||
int | nBottom | |||
) |
View * TableView::SetChild | ( | View * | pcView, | |
int | nColumn, | |||
int | nRow, | |||
float | vHorWheight = 1.0f , |
|||
float | vVerWheight = 1.0f | |||
) |
TableCell * TableView::GetCell | ( | int | x, | |
int | y | |||
) | const |
void TableView::Layout | ( | ) |