osgWidget::Table Class Reference

Inheritance diagram for osgWidget::Table:

Inheritance graph
[legend]

List of all members.

Public Types

typedef std::vector< point_typeCellSizes

Public Member Functions

 META_Object (osgWidget, Table)
 META_UIObject (Table)
 Table (const std::string &="", unsigned int=0, unsigned int=0)
 Table (const Table &, const osg::CopyOp &)
virtual bool addWidget (Widget *)
virtual bool addWidget (Widget *, unsigned int, unsigned int)
void getRowHeights (CellSizes &) const
void getRowMinHeights (CellSizes &) const
void getColumnWidths (CellSizes &) const
void getColumnMinWidths (CellSizes &) const
void addHeightToRow (unsigned int, point_type)
void addWidthToColumn (unsigned int, point_type)
bool isRowVerticallyFillable (unsigned int) const
bool isColumnHorizontallyFillable (unsigned int) const
WidgetgetByRowCol (unsigned int row, unsigned int col)
const WidgetgetByRowCol (unsigned int row, unsigned int col) const

Protected Member Functions

unsigned int _calculateIndex (unsigned int, unsigned int) const
void _getRows (CellSizes &, Getter) const
void _getColumns (CellSizes &, Getter) const
virtual void _resizeImplementation (point_type, point_type)
virtual Sizes _getWidthImplementation () const
virtual Sizes _getHeightImplementation () const

Protected Attributes

unsigned int _rows
unsigned int _cols
unsigned int _lastRowAdd
unsigned int _lastColAdd


Member Typedef Documentation


Constructor & Destructor Documentation

osgWidget::Table::Table ( const std::string &  = "",
unsigned  int = 0,
unsigned  int = 0 
)

osgWidget::Table::Table ( const Table ,
const osg::CopyOp  
)


Member Function Documentation

osgWidget::Table::META_Object ( osgWidget  ,
Table   
)

osgWidget::Table::META_UIObject ( Table   ) 

virtual bool osgWidget::Table::addWidget ( Widget  )  [virtual]

Reimplemented from osgWidget::Window.

virtual bool osgWidget::Table::addWidget ( Widget ,
unsigned  int,
unsigned  int 
) [virtual]

void osgWidget::Table::getRowHeights ( CellSizes  )  const

void osgWidget::Table::getRowMinHeights ( CellSizes  )  const

void osgWidget::Table::getColumnWidths ( CellSizes  )  const

void osgWidget::Table::getColumnMinWidths ( CellSizes  )  const

void osgWidget::Table::addHeightToRow ( unsigned  int,
point_type   
)

void osgWidget::Table::addWidthToColumn ( unsigned  int,
point_type   
)

bool osgWidget::Table::isRowVerticallyFillable ( unsigned  int  )  const

bool osgWidget::Table::isColumnHorizontallyFillable ( unsigned  int  )  const

Widget* osgWidget::Table::getByRowCol ( unsigned int  row,
unsigned int  col 
) [inline]

const Widget* osgWidget::Table::getByRowCol ( unsigned int  row,
unsigned int  col 
) const [inline]

unsigned int osgWidget::Table::_calculateIndex ( unsigned  int,
unsigned  int 
) const [protected]

void osgWidget::Table::_getRows ( CellSizes ,
Getter   
) const [protected]

void osgWidget::Table::_getColumns ( CellSizes ,
Getter   
) const [protected]

virtual void osgWidget::Table::_resizeImplementation ( point_type  ,
point_type   
) [protected, virtual]

Implements osgWidget::Window.

virtual Sizes osgWidget::Table::_getWidthImplementation (  )  const [protected, virtual]

Reimplemented from osgWidget::Window.

virtual Sizes osgWidget::Table::_getHeightImplementation (  )  const [protected, virtual]

Reimplemented from osgWidget::Window.


Member Data Documentation

unsigned int osgWidget::Table::_rows [protected]

unsigned int osgWidget::Table::_cols [protected]

unsigned int osgWidget::Table::_lastRowAdd [protected]

unsigned int osgWidget::Table::_lastColAdd [protected]


The documentation for this class was generated from the following file:

Generated at Thu Aug 14 04:13:18 2008 for the OpenSceneGraph by doxygen 1.5.6.