PlayerTableModel Class Reference

Inheritance diagram for PlayerTableModel:

TableModel

List of all members.


Detailed Description

Definition at line 86 of file setup_players.cpp.


Public Member Functions

 PlayerTableModel ()
virtual ~PlayerTableModel ()
virtual int getRows ()
 Determines the number of rows (lines) in the table.
virtual int getColumns ()
 Determines the number of columns in each row.
virtual int getRowHeight ()
 Determines the height for each row.
virtual int getColumnWidth (int index)
 Determines the width of each individual column.
virtual void playerRelationsUpdated ()
virtual void updateModelInRow (int row)
virtual gcn::Widget * getElementAt (int row, int column)
 Retrieves the widget stored at the specified location within the table.
virtual void freeWidgets ()
std::string getPlayerAt (int index)

Protected Attributes

std::vector< std::string > * mPlayers
std::vector< gcn::Widget * > mWidgets

Constructor & Destructor Documentation

PlayerTableModel::PlayerTableModel (  )  [inline]

Definition at line 89 of file setup_players.cpp.

virtual PlayerTableModel::~PlayerTableModel (  )  [inline, virtual]

Definition at line 95 of file setup_players.cpp.


Member Function Documentation

virtual int PlayerTableModel::getRows (  )  [inline, virtual]

Determines the number of rows (lines) in the table.

Implements TableModel.

Definition at line 102 of file setup_players.cpp.

virtual int PlayerTableModel::getColumns (  )  [inline, virtual]

Determines the number of columns in each row.

Implements TableModel.

Definition at line 107 of file setup_players.cpp.

virtual int PlayerTableModel::getRowHeight (  )  [inline, virtual]

Determines the height for each row.

Implements TableModel.

Definition at line 112 of file setup_players.cpp.

virtual int PlayerTableModel::getColumnWidth ( int  index  )  [inline, virtual]

Determines the width of each individual column.

Implements TableModel.

Definition at line 117 of file setup_players.cpp.

virtual void PlayerTableModel::playerRelationsUpdated (  )  [inline, virtual]

Definition at line 125 of file setup_players.cpp.

virtual void PlayerTableModel::updateModelInRow ( int  row  )  [inline, virtual]

Definition at line 151 of file setup_players.cpp.

virtual gcn::Widget* PlayerTableModel::getElementAt ( int  row,
int  column 
) [inline, virtual]

Retrieves the widget stored at the specified location within the table.

Implements TableModel.

Definition at line 161 of file setup_players.cpp.

virtual void PlayerTableModel::freeWidgets (  )  [inline, virtual]

Definition at line 166 of file setup_players.cpp.

std::string PlayerTableModel::getPlayerAt ( int  index  )  [inline]

Definition at line 181 of file setup_players.cpp.


Member Data Documentation

std::vector<std::string>* PlayerTableModel::mPlayers [protected]

Definition at line 187 of file setup_players.cpp.

std::vector<gcn::Widget *> PlayerTableModel::mWidgets [protected]

Definition at line 188 of file setup_players.cpp.


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

Generated on Sun Apr 26 17:30:43 2009 for The Mana World by  doxygen 1.5.5