Eclipse SUMO - Simulation of Urban MObility
|
FOX needs this. More...
#include <GNETLSTable.h>
Public Member Functions | |
Cell (GNETLSTable *TLSTable, FXLabel *indexLabel, FXLabel *indexLabelBold, int col, int row) | |
constructor for index label | |
Cell (GNETLSTable *TLSTable, int col, int row) | |
constructor for menu buttons | |
Cell (GNETLSTable *TLSTable, MFXButtonTooltip *button, int col, int row) | |
constructor for buttons | |
Cell (GNETLSTable *TLSTable, MFXTextFieldTooltip *textField, int col, int row) | |
constructor for textField | |
void | disable () |
Disable cell. | |
void | disableButton () |
disable button (used for delete, move up and move down) | |
void | enable () |
Enable cell. | |
MFXButtonTooltip * | getAddAllGreenPhaseButton () |
get add all green phase button | |
MFXButtonTooltip * | getAddAllGreenPriorityPhaseButton () |
get add all green priority phase button | |
MFXButtonTooltip * | getAddAllRedPhaseButton () |
get add all red phase button | |
MFXButtonTooltip * | getAddAllYellowPhaseButton () |
get add all yellow phase button | |
MFXMenuButtonTooltip * | getAddButton () const |
get add button | |
MFXButtonTooltip * | getAddPhaseButton () |
get add phase button | |
MFXButtonTooltip * | getButton () |
get remove, move up or move down button | |
int | getCol () const |
column index | |
double | getDoubleValue () const |
get double value (only for types 'u' and 'd') | |
MFXButtonTooltip * | getDuplicatePhaseButton () |
get duplicate phase button | |
FXLabel * | getIndexLabel () const |
get index label | |
int | getRow () const |
row index | |
MFXTextFieldTooltip * | getTextField () const |
get textField | |
char | getType () const |
get column type | |
bool | hasFocus () const |
check if current cell has focus | |
void | hideMenuButtonPopup () |
hide menuButton popup | |
void | setFocus () |
set focus in the current cell | |
void | setTooltip (const std::string &toolTip) |
set tooltip | |
void | showIndexLabelBold () |
show label index bold | |
void | showIndexLabelNormal () |
show label index normal | |
~Cell () | |
destructor | |
Private Member Functions | |
Cell () | |
default constructor | |
Private Attributes | |
MFXButtonTooltip * | myAddAllGreenButton = nullptr |
add all green phase button | |
MFXButtonTooltip * | myAddAllGreenPriorityButton = nullptr |
add all green priority phase button | |
MFXButtonTooltip * | myAddAllRedButton = nullptr |
add all red phase button | |
MFXButtonTooltip * | myAddAllYellowButton = nullptr |
add all yellow phase button | |
MFXMenuButtonTooltip * | myAddButton = nullptr |
menu button tooltip | |
MFXButtonTooltip * | myAddPhaseButton = nullptr |
add phase button | |
MFXButtonTooltip * | myButton = nullptr |
button | |
const int | myCol |
column index | |
bool | myDisableButton = false |
disable button | |
MFXButtonTooltip * | myDuplicatePhaseButton = nullptr |
duplicate phase button | |
FXLabel * | myIndexLabel = nullptr |
index label | |
FXLabel * | myIndexLabelBold = nullptr |
index label bold | |
FXPopup * | myMenuButtonPopup = nullptr |
popup for buttons | |
const int | myRow |
row index | |
MFXTextFieldTooltip * | myTextField = nullptr |
MFXTextFieldTooltip. | |
GNETLSTable * | myTLSTable = nullptr |
pointer to TLSTable parent | |
GNETLSTable::Cell::Cell | ( | GNETLSTable * | TLSTable, |
MFXTextFieldTooltip * | textField, | ||
int | col, | ||
int | row | ||
) |
constructor for textField
Definition at line 635 of file GNETLSTable.cpp.
GNETLSTable::Cell::Cell | ( | GNETLSTable * | TLSTable, |
FXLabel * | indexLabel, | ||
FXLabel * | indexLabelBold, | ||
int | col, | ||
int | row | ||
) |
constructor for index label
Definition at line 645 of file GNETLSTable.cpp.
GNETLSTable::Cell::Cell | ( | GNETLSTable * | TLSTable, |
MFXButtonTooltip * | button, | ||
int | col, | ||
int | row | ||
) |
constructor for buttons
Definition at line 660 of file GNETLSTable.cpp.
GNETLSTable::Cell::Cell | ( | GNETLSTable * | TLSTable, |
int | col, | ||
int | row | ||
) |
constructor for menu buttons
Definition at line 670 of file GNETLSTable.cpp.
References ADD, GNEViewParent::getGNEAppWindows(), GUIIconSubSys::getIcon(), GUIMainWindow::getStaticTooltipMenu(), GNETLSEditorFrame::TLSPhases::getTLSEditorParent(), GNETLSTable::getTLSPhasesParent(), GNEFrame::getViewNet(), GNEViewNet::getViewParent(), GUIDesignButtonIcon, GUIDesignTLSTableCheckableButtonIcon, MID_GNE_TLSTABLE_ADDPHASE, MID_GNE_TLSTABLE_ADDPHASEALLGREEN, MID_GNE_TLSTABLE_ADDPHASEALLGREENPRIORITY, MID_GNE_TLSTABLE_ADDPHASEALLRED, MID_GNE_TLSTABLE_ADDPHASEALLYELLOW, MID_GNE_TLSTABLE_COPYPHASE, myAddAllGreenButton, myAddAllGreenPriorityButton, myAddAllRedButton, myAddAllYellowButton, myAddButton, myAddPhaseButton, GNETLSTable::myColumns, myDuplicatePhaseButton, myMenuButtonPopup, myTLSTable, TL, TLSPHASEALLGREEN, TLSPHASEALLGREENPRIORITY, TLSPHASEALLRED, TLSPHASEALLYELLOW, TLSPHASECOPY, and TLSPHASEDEFAULT.
GNETLSTable::Cell::~Cell | ( | ) |
destructor
Definition at line 729 of file GNETLSTable.cpp.
|
private |
default constructor
Definition at line 1040 of file GNETLSTable.cpp.
void GNETLSTable::Cell::disable | ( | ) |
Disable cell.
Definition at line 812 of file GNETLSTable.cpp.
void GNETLSTable::Cell::disableButton | ( | ) |
disable button (used for delete, move up and move down)
Definition at line 1032 of file GNETLSTable.cpp.
void GNETLSTable::Cell::enable | ( | ) |
Enable cell.
Definition at line 770 of file GNETLSTable.cpp.
MFXButtonTooltip * GNETLSTable::Cell::getAddAllGreenPhaseButton | ( | ) |
get add all green phase button
Definition at line 976 of file GNETLSTable.cpp.
MFXButtonTooltip * GNETLSTable::Cell::getAddAllGreenPriorityPhaseButton | ( | ) |
get add all green priority phase button
Definition at line 982 of file GNETLSTable.cpp.
MFXButtonTooltip * GNETLSTable::Cell::getAddAllRedPhaseButton | ( | ) |
get add all red phase button
Definition at line 964 of file GNETLSTable.cpp.
MFXButtonTooltip * GNETLSTable::Cell::getAddAllYellowPhaseButton | ( | ) |
get add all yellow phase button
Definition at line 970 of file GNETLSTable.cpp.
MFXMenuButtonTooltip * GNETLSTable::Cell::getAddButton | ( | ) | const |
get add button
Definition at line 940 of file GNETLSTable.cpp.
MFXButtonTooltip * GNETLSTable::Cell::getAddPhaseButton | ( | ) |
get add phase button
Definition at line 952 of file GNETLSTable.cpp.
MFXButtonTooltip * GNETLSTable::Cell::getButton | ( | ) |
get remove, move up or move down button
Definition at line 946 of file GNETLSTable.cpp.
int GNETLSTable::Cell::getCol | ( | ) | const |
column index
Definition at line 1008 of file GNETLSTable.cpp.
double GNETLSTable::Cell::getDoubleValue | ( | ) | const |
get double value (only for types 'u' and 'd')
Definition at line 906 of file GNETLSTable.cpp.
References TL.
MFXButtonTooltip * GNETLSTable::Cell::getDuplicatePhaseButton | ( | ) |
get duplicate phase button
Definition at line 958 of file GNETLSTable.cpp.
FXLabel * GNETLSTable::Cell::getIndexLabel | ( | ) | const |
get index label
Definition at line 934 of file GNETLSTable.cpp.
int GNETLSTable::Cell::getRow | ( | ) | const |
row index
Definition at line 1014 of file GNETLSTable.cpp.
MFXTextFieldTooltip * GNETLSTable::Cell::getTextField | ( | ) | const |
get textField
Definition at line 928 of file GNETLSTable.cpp.
char GNETLSTable::Cell::getType | ( | ) | const |
get column type
Definition at line 1020 of file GNETLSTable.cpp.
bool GNETLSTable::Cell::hasFocus | ( | ) | const |
check if current cell has focus
Definition at line 854 of file GNETLSTable.cpp.
void GNETLSTable::Cell::hideMenuButtonPopup | ( | ) |
hide menuButton popup
Definition at line 1026 of file GNETLSTable.cpp.
void GNETLSTable::Cell::setFocus | ( | ) |
set focus in the current cell
Definition at line 881 of file GNETLSTable.cpp.
void GNETLSTable::Cell::setTooltip | ( | const std::string & | toolTip | ) |
void GNETLSTable::Cell::showIndexLabelBold | ( | ) |
show label index bold
Definition at line 998 of file GNETLSTable.cpp.
void GNETLSTable::Cell::showIndexLabelNormal | ( | ) |
show label index normal
Definition at line 988 of file GNETLSTable.cpp.
|
private |
|
private |
add all green priority phase button
Definition at line 277 of file GNETLSTable.h.
Referenced by Cell().
|
private |
|
private |
|
private |
|
private |
|
private |
button
Definition at line 253 of file GNETLSTable.h.
|
private |
column index
Definition at line 280 of file GNETLSTable.h.
|
private |
disable button
Definition at line 286 of file GNETLSTable.h.
|
private |
|
private |
index label
Definition at line 247 of file GNETLSTable.h.
|
private |
index label bold
Definition at line 250 of file GNETLSTable.h.
|
private |
|
private |
row index
Definition at line 283 of file GNETLSTable.h.
|
private |
Definition at line 244 of file GNETLSTable.h.
|
private |