![]() |
Eclipse SUMO - Simulation of Urban MObility
|
table column More...
#include <GNETLSTable.h>
Public Member Functions | |
| Column (GNETLSTable *table, const int index, const char type) | |
| constructor | |
| FXString | getColumnLabelTop () const |
| get column label top | |
| int | getColumnMinimumWidth () |
| get column minimum width | |
| char | getType () const |
| get column type | |
| FXVerticalFrame * | getVerticalCellFrame () const |
| get vertical cell frame | |
| void | setColumnLabelBot (const std::string &text) |
| set column label boit | |
| void | setColumnLabelTop (const std::string &text, const std::string &tooltip) |
| set column label top | |
| void | setColumnWidth (const int colWidth) |
| set colum width | |
| ~Column () | |
| destructor | |
Private Member Functions | |
| Column () | |
| default constructor | |
| bool | isTextFieldColumn () const |
| check if current type correspond to a textField | |
Private Attributes | |
| FXLabel * | myBotLabel = nullptr |
| column bot label | |
| const int | myIndex |
| column index | |
| GNETLSTable * | myTable = nullptr |
| pointer to table | |
| MFXLabelTooltip * | myTopLabel = nullptr |
| column top tooltip label | |
| const char | myType |
| column type | |
| FXVerticalFrame * | myVerticalCellFrame = nullptr |
| vertical frame | |
| FXVerticalFrame * | myVerticalFrame = nullptr |
| vertical frame | |
table column
Definition at line 294 of file GNETLSTable.h.
| GNETLSTable::Column::Column | ( | GNETLSTable * | table, |
| const int | index, | ||
| const char | type | ||
| ) |
constructor
Definition at line 1084 of file GNETLSTable.cpp.
References GNEViewParent::getGNEAppWindows(), GUIIconSubSys::getIcon(), GUIMainWindow::getStaticTooltipMenu(), GNETLSEditorFrame::TLSPhases::getTLSEditorParent(), GNETLSTable::getTLSPhasesParent(), GNEFrame::getViewNet(), GNEViewNet::getViewParent(), GUIDesignAuxiliarFrameFixedWidth, GUIDesignLabelFixed, GUIDesignLabelThickedFixed, myBotLabel, myTopLabel, myType, myVerticalCellFrame, myVerticalFrame, and SUM.
| GNETLSTable::Column::~Column | ( | ) |
destructor
Definition at line 1135 of file GNETLSTable.cpp.
|
private |
default constructor
Definition at line 1229 of file GNETLSTable.cpp.
| FXString GNETLSTable::Column::getColumnLabelTop | ( | ) | const |
get column label top
Definition at line 1154 of file GNETLSTable.cpp.
| int GNETLSTable::Column::getColumnMinimumWidth | ( | ) |
get column minimum width
Definition at line 1173 of file GNETLSTable.cpp.
References EXTRAMARGIN, and GUIDesignHeight.
Referenced by GNETLSTable::recalcTableWidth().
| char GNETLSTable::Column::getType | ( | ) | const |
get column type
Definition at line 1148 of file GNETLSTable.cpp.
| FXVerticalFrame * GNETLSTable::Column::getVerticalCellFrame | ( | ) | const |
get vertical cell frame
Definition at line 1142 of file GNETLSTable.cpp.
|
private |
check if current type correspond to a textField
Definition at line 1224 of file GNETLSTable.cpp.
| void GNETLSTable::Column::setColumnLabelBot | ( | const std::string & | text | ) |
set column label boit
Definition at line 1167 of file GNETLSTable.cpp.
| void GNETLSTable::Column::setColumnLabelTop | ( | const std::string & | text, |
| const std::string & | tooltip | ||
| ) |
set column label top
Definition at line 1160 of file GNETLSTable.cpp.
| void GNETLSTable::Column::setColumnWidth | ( | const int | colWidth | ) |
set colum width
Definition at line 1208 of file GNETLSTable.cpp.
Referenced by GNETLSTable::recalcTableWidth().
|
private |
|
private |
column index
Definition at line 341 of file GNETLSTable.h.
|
private |
pointer to table
Definition at line 326 of file GNETLSTable.h.
|
private |
|
private |
|
private |
|
private |