Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

os::TableView Class Reference

#include <tableview.h>

Inheritance diagram for os::TableView:

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

Public Methods

 TableView (const Rect &cFrame, const char *pzName, const char *pzTitle, int nWidth, int nHeight, uint32 nResizeMask=CF_FOLLOW_LEFT|CF_FOLLOW_TOP)
 ~TableView ()
void AttachedToWindow (void)
void AllAttached (void)
void FrameSized (const Point &cDelta)
void Paint (const Rect &cUpdateRect)
 Called by the system update "damaged" areas of the view. More...

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 char * pzName,
const char * pzTitle,
int nNumCols,
int nNumRows,
uint32 nResizeMask = CF_FOLLOW_LEFT | CF_FOLLOW_TOP )
 

TableView::~TableView ( )
 


Member Function Documentation

void TableView::AllAttached ( void ) [virtual]
 

Reimplemented from os::View.

void TableView::AttachedToWindow ( void ) [virtual]
 

Reimplemented from os::View.

void TableView::FrameSized ( const Point & cDelta ) [virtual]
 

Reimplemented from os::View.

TableCell * TableView::GetCell ( int x,
int y ) const
 

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

Reimplemented from os::View.

void TableView::Layout ( void )
 

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

Called by the system update "damaged" areas of the view.

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(s):
Kurt Skauen (kurt@atheos.cx)

Reimplemented from os::View.

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

void TableView::SetCellBorders ( 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 x,
int y,
int nLeft,
int nTop,
int nRight,
int nBottom )
 

View * TableView::SetChild ( View * pcView,
int x,
int y,
float vHorWheight = 1.0f,
float vVerWheight = 1.0f )
 

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


The documentation for this class was generated from the following files:
Generated at Sat Apr 7 16:11:42 2001 for AtheOS higlevel API by doxygen1.2.5 written by Dimitri van Heesch, © 1997-2001