![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <GNEElementTable.h>
Data Structures | |
class | ColumnHeader |
row header More... | |
class | Row |
table row More... | |
Public Member Functions | |
void | disableTable () |
Disable table. | |
void | enableTable () |
Enable table. | |
ColumnHeader * | getColumnHeader () const |
get column header | |
std::string | getValue (const size_t rowIndex, const size_t columnIndex) const |
get value | |
GNEElementTable (GNEElementList *elementList, const GNETagProperties *tagProperties, GNEElementList::Options options) | |
constructor | |
bool | isValid () const |
check if the current values of the table are valid | |
void | resizeTable (const size_t numRows) |
resize table | |
void | updateRow (const size_t index, GNEAttributeCarrier *AC) |
update row | |
~GNEElementTable () | |
destructor | |
Protected Attributes | |
ColumnHeader * | myColumnHeader = nullptr |
column header | |
GNEElementList * | myElementList = nullptr |
pointer to the parent element list | |
GNEElementList::Options | myOptions = GNEElementList::Options::NONE |
GNEElementList options. | |
std::vector< Row * > | myRows |
rows | |
FXVerticalFrame * | myRowsFrame = nullptr |
vertical frame for rows | |
FXScrollWindow * | myScrollWindow = nullptr |
scrollWindow for rows | |
Private Member Functions | |
GNEElementTable (const GNEElementTable &)=delete | |
Invalidated duplicate constructor. | |
GNEElementTable & | operator= (const GNEElementTable &)=delete |
Invalidated assignment operator. | |
Definition at line 35 of file GNEElementTable.h.
GNEElementTable::GNEElementTable | ( | GNEElementList * | elementList, |
const GNETagProperties * | tagProperties, | ||
GNEElementList::Options | options | ||
) |
constructor
Definition at line 322 of file GNEElementTable.cpp.
References GUIDesignAuxiliarFrame, GUIDesignBackgroundColorWhite, GUIDesignScrollWindowFixedWidth, myColumnHeader, myRowsFrame, and myScrollWindow.
GNEElementTable::~GNEElementTable | ( | ) |
destructor
Definition at line 337 of file GNEElementTable.cpp.
|
privatedelete |
Invalidated duplicate constructor.
void GNEElementTable::disableTable | ( | ) |
void GNEElementTable::enableTable | ( | ) |
GNEElementTable::ColumnHeader * GNEElementTable::getColumnHeader | ( | ) | const |
get column header
Definition at line 342 of file GNEElementTable.cpp.
References myColumnHeader.
Referenced by GNETemplateElementList< elementDialogType, elementType, GNEChange_Type >::getSortTuples().
std::string GNEElementTable::getValue | ( | const size_t | rowIndex, |
const size_t | columnIndex | ||
) | const |
bool GNEElementTable::isValid | ( | ) | const |
check if the current values of the table are valid
Definition at line 370 of file GNEElementTable.cpp.
References myRows.
Referenced by GNEElementList::isListValid().
|
privatedelete |
Invalidated assignment operator.
void GNEElementTable::resizeTable | ( | const size_t | numRows | ) |
resize table
Definition at line 382 of file GNEElementTable.cpp.
References myRows.
Referenced by GNETemplateElementList< elementDialogType, elementType, GNEChange_Type >::updateList().
void GNEElementTable::updateRow | ( | const size_t | index, |
GNEAttributeCarrier * | AC | ||
) |
update row
Definition at line 392 of file GNEElementTable.cpp.
References myRows.
Referenced by GNETemplateElementList< elementDialogType, elementType, GNEChange_Type >::updateList().
|
protected |
column header
Definition at line 194 of file GNEElementTable.h.
Referenced by getColumnHeader(), and GNEElementTable().
|
protected |
pointer to the parent element list
Definition at line 188 of file GNEElementTable.h.
|
protected |
GNEElementList options.
Definition at line 191 of file GNEElementTable.h.
Referenced by GNEElementTable::Row::Row().
|
protected |
rows
Definition at line 203 of file GNEElementTable.h.
Referenced by disableTable(), enableTable(), getValue(), isValid(), resizeTable(), and updateRow().
|
protected |
vertical frame for rows
Definition at line 200 of file GNEElementTable.h.
Referenced by GNEElementTable(), and GNEElementTable::Row::Row().
|
protected |
scrollWindow for rows
Definition at line 197 of file GNEElementTable.h.
Referenced by GNEElementTable().