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)
 Virtual hook called by the system when the view is resized. More...

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]
 

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.

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

Point TableView::GetPreferredSize bool bLargest const [virtual]
 

Reimplemented from os::View.

void TableView::Layout
 

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.

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
 


Generated at Tue Sep 11 15:27:54 2001 for AtheOS higlevel API by doxygen1.2.9.1 written by Dimitri van Heesch, © 1997-2001