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 293 of file GNETLSTable.h.
GNETLSTable::Column::Column | ( | GNETLSTable * | table, |
const int | index, | ||
const char | type | ||
) |
constructor
Definition at line 1049 of file GNETLSTable.cpp.
References GNEViewParent::getGNEAppWindows(), GUIIconSubSys::getIcon(), GUIMainWindow::getStaticTooltipMenu(), GNETLSEditorFrame::TLSPhases::getTLSEditorParent(), GNETLSTable::getTLSPhasesParent(), GNEFrame::getViewNet(), GNEViewNet::getViewParent(), GUIDesignAuxiliarFrameFixWidth, GUIDesignLabelFixed, GUIDesignLabelThickedFixed, myBotLabel, myTopLabel, myType, myVerticalCellFrame, myVerticalFrame, and SUM.
GNETLSTable::Column::~Column | ( | ) |
destructor
Definition at line 1100 of file GNETLSTable.cpp.
|
private |
default constructor
Definition at line 1194 of file GNETLSTable.cpp.
FXString GNETLSTable::Column::getColumnLabelTop | ( | ) | const |
get column label top
Definition at line 1119 of file GNETLSTable.cpp.
int GNETLSTable::Column::getColumnMinimumWidth | ( | ) |
get column minimum width
Definition at line 1138 of file GNETLSTable.cpp.
References EXTRAMARGIN, and GUIDesignHeight.
Referenced by GNETLSTable::recalcTableWidth().
char GNETLSTable::Column::getType | ( | ) | const |
get column type
Definition at line 1113 of file GNETLSTable.cpp.
FXVerticalFrame * GNETLSTable::Column::getVerticalCellFrame | ( | ) | const |
get vertical cell frame
Definition at line 1107 of file GNETLSTable.cpp.
|
private |
check if current type correspond to a textField
Definition at line 1189 of file GNETLSTable.cpp.
void GNETLSTable::Column::setColumnLabelBot | ( | const std::string & | text | ) |
set column label boit
Definition at line 1132 of file GNETLSTable.cpp.
void GNETLSTable::Column::setColumnLabelTop | ( | const std::string & | text, |
const std::string & | tooltip | ||
) |
set column label top
Definition at line 1125 of file GNETLSTable.cpp.
void GNETLSTable::Column::setColumnWidth | ( | const int | colWidth | ) |
set colum width
Definition at line 1173 of file GNETLSTable.cpp.
Referenced by GNETLSTable::recalcTableWidth().
|
private |
|
private |
column index
Definition at line 340 of file GNETLSTable.h.
|
private |
pointer to table
Definition at line 325 of file GNETLSTable.h.
|
private |
|
private |
|
private |
|
private |