os::TableView Class Reference

Inheritance diagram for os::TableView:

os::View os::Handler List of all members.

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)
ViewSetChild (View *pcView, int nColumn, int nRow, float vHorWheight=1.0f, float vVerWheight=1.0f)
TableCellGetCell (int x, int y) const
void Layout ()

Constructor & Destructor Documentation

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 (  ) 


Member Function Documentation

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]

Description:
Overload this member if you need to know when the view is resized.
Note:
This member is called after the view is resized. If you need the old size you can subtract the cDelta calue from the current size.
Parameters:
cDelta The distance the bottom/right corner was moved relative to the upper/left corner.
See also:
FrameMoved(), SetFrame, ResizeBy(), ResizeTo()
Author:
Kurt Skauen ([email protected])

Reimplemented from os::View.

void TableView::Paint ( const Rect cUpdateRect  )  [virtual]

Description:
Note:
Warning:
Parameters:
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.
See also:
Invalidate(), Flush()
Author:
Kurt Skauen ([email protected])

Reimplemented from os::View.

Point TableView::GetPreferredSize ( bool  bLargest  )  const [virtual]

Reimplemented from os::View.

void TableView::SetColAlignment ( int  nCol,
alignment  eAlign 
)

void TableView::SetCellAlignment ( int  x,
int  y,
alignment  eHor,
alignment  eVer = ALIGN_CENTER 
)

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 (  ) 


Generated on Sat May 9 22:51:46 2009 for Syllable higlevel API by  doxygen 1.5.1