Eclipse SUMO - Simulation of Urban MObility
GNETLSTable::Cell Class Reference

FOX needs this. More...

#include <GNETLSTable.h>

Collaboration diagram for GNETLSTable::Cell:
[legend]

Public Member Functions

 Cell (GNETLSTable *TLSTable, FXLabel *indexLabel, FXLabel *indexLabelBold, int col, int row)
 constructor for index label More...
 
 Cell (GNETLSTable *TLSTable, int col, int row)
 constructor for menu buttons More...
 
 Cell (GNETLSTable *TLSTable, MFXButtonTooltip *button, int col, int row)
 constructor for buttons More...
 
 Cell (GNETLSTable *TLSTable, MFXTextFieldTooltip *textField, int col, int row)
 constructor for textField More...
 
void disable ()
 Disable cell. More...
 
void disableButton ()
 disable button (used for delete, move up and move down) More...
 
void enable ()
 Enable cell. More...
 
MFXButtonTooltipgetAddAllGreenPhaseButton ()
 get add all green phase button More...
 
MFXButtonTooltipgetAddAllGreenPriorityPhaseButton ()
 get add all green priority phase button More...
 
MFXButtonTooltipgetAddAllRedPhaseButton ()
 get add all red phase button More...
 
MFXButtonTooltipgetAddAllYellowPhaseButton ()
 get add all yellow phase button More...
 
MFXMenuButtonTooltipgetAddButton () const
 get add button More...
 
MFXButtonTooltipgetAddPhaseButton ()
 get add phase button More...
 
MFXButtonTooltipgetButton ()
 get remove, move up or move down button More...
 
int getCol () const
 column index More...
 
double getDoubleValue () const
 get double value (only for types 'u' and 'd') More...
 
MFXButtonTooltipgetDuplicatePhaseButton ()
 get duplicate phase button More...
 
FXLabel * getIndexLabel () const
 get index label More...
 
int getRow () const
 row index More...
 
MFXTextFieldTooltipgetTextField () const
 get textField More...
 
char getType () const
 get column type More...
 
bool hasFocus () const
 check if current cell has focus More...
 
void hideMenuButtonPopup ()
 hide menuButton popup More...
 
void setFocus ()
 set focus in the current cell More...
 
void setTooltip (const std::string &toolTip)
 set tooltip More...
 
void showIndexLabelBold ()
 show label index bold More...
 
void showIndexLabelNormal ()
 show label index normal More...
 
 ~Cell ()
 destructor More...
 

Private Member Functions

 Cell ()
 default constructor More...
 

Private Attributes

MFXButtonTooltipmyAddAllGreenButton = nullptr
 add all green phase button More...
 
MFXButtonTooltipmyAddAllGreenPriorityButton = nullptr
 add all green priority phase button More...
 
MFXButtonTooltipmyAddAllRedButton = nullptr
 add all red phase button More...
 
MFXButtonTooltipmyAddAllYellowButton = nullptr
 add all yellow phase button More...
 
MFXMenuButtonTooltipmyAddButton = nullptr
 menu button tooltip More...
 
MFXButtonTooltipmyAddPhaseButton = nullptr
 add phase button More...
 
MFXButtonTooltipmyButton = nullptr
 button More...
 
const int myCol
 column index More...
 
bool myDisableButton = false
 disable button More...
 
MFXButtonTooltipmyDuplicatePhaseButton = nullptr
 duplicate phase button More...
 
FXLabel * myIndexLabel = nullptr
 index label More...
 
FXLabel * myIndexLabelBold = nullptr
 index label bold More...
 
FXPopup * myMenuButtonPopup = nullptr
 popup for buttons More...
 
const int myRow
 row index More...
 
MFXTextFieldTooltipmyTextField = nullptr
 MFXTextFieldTooltip. More...
 
GNETLSTablemyTLSTable = nullptr
 pointer to TLSTable parent More...
 

Detailed Description

FOX needs this.

table cell

Definition at line 152 of file GNETLSTable.h.

Constructor & Destructor Documentation

◆ Cell() [1/5]

GNETLSTable::Cell::Cell ( GNETLSTable TLSTable,
MFXTextFieldTooltip textField,
int  col,
int  row 
)

constructor for textField

Definition at line 635 of file GNETLSTable.cpp.

◆ Cell() [2/5]

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.

◆ Cell() [3/5]

GNETLSTable::Cell::Cell ( GNETLSTable TLSTable,
MFXButtonTooltip button,
int  col,
int  row 
)

constructor for buttons

Definition at line 660 of file GNETLSTable.cpp.

◆ Cell() [4/5]

◆ ~Cell()

GNETLSTable::Cell::~Cell ( )

destructor

Definition at line 729 of file GNETLSTable.cpp.

◆ Cell() [5/5]

GNETLSTable::Cell::Cell ( )
private

default constructor

Definition at line 1040 of file GNETLSTable.cpp.

Member Function Documentation

◆ disable()

void GNETLSTable::Cell::disable ( )

Disable cell.

Definition at line 812 of file GNETLSTable.cpp.

◆ disableButton()

void GNETLSTable::Cell::disableButton ( )

disable button (used for delete, move up and move down)

Definition at line 1032 of file GNETLSTable.cpp.

◆ enable()

void GNETLSTable::Cell::enable ( )

Enable cell.

Definition at line 770 of file GNETLSTable.cpp.

◆ getAddAllGreenPhaseButton()

MFXButtonTooltip * GNETLSTable::Cell::getAddAllGreenPhaseButton ( )

get add all green phase button

Definition at line 976 of file GNETLSTable.cpp.

◆ getAddAllGreenPriorityPhaseButton()

MFXButtonTooltip * GNETLSTable::Cell::getAddAllGreenPriorityPhaseButton ( )

get add all green priority phase button

Definition at line 982 of file GNETLSTable.cpp.

◆ getAddAllRedPhaseButton()

MFXButtonTooltip * GNETLSTable::Cell::getAddAllRedPhaseButton ( )

get add all red phase button

Definition at line 964 of file GNETLSTable.cpp.

◆ getAddAllYellowPhaseButton()

MFXButtonTooltip * GNETLSTable::Cell::getAddAllYellowPhaseButton ( )

get add all yellow phase button

Definition at line 970 of file GNETLSTable.cpp.

◆ getAddButton()

MFXMenuButtonTooltip * GNETLSTable::Cell::getAddButton ( ) const

get add button

Definition at line 940 of file GNETLSTable.cpp.

◆ getAddPhaseButton()

MFXButtonTooltip * GNETLSTable::Cell::getAddPhaseButton ( )

get add phase button

Definition at line 952 of file GNETLSTable.cpp.

◆ getButton()

MFXButtonTooltip * GNETLSTable::Cell::getButton ( )

get remove, move up or move down button

Definition at line 946 of file GNETLSTable.cpp.

◆ getCol()

int GNETLSTable::Cell::getCol ( ) const

column index

Definition at line 1008 of file GNETLSTable.cpp.

◆ getDoubleValue()

double GNETLSTable::Cell::getDoubleValue ( ) const

get double value (only for types 'u' and 'd')

Definition at line 906 of file GNETLSTable.cpp.

References TL.

◆ getDuplicatePhaseButton()

MFXButtonTooltip * GNETLSTable::Cell::getDuplicatePhaseButton ( )

get duplicate phase button

Definition at line 958 of file GNETLSTable.cpp.

◆ getIndexLabel()

FXLabel * GNETLSTable::Cell::getIndexLabel ( ) const

get index label

Definition at line 934 of file GNETLSTable.cpp.

◆ getRow()

int GNETLSTable::Cell::getRow ( ) const

row index

Definition at line 1014 of file GNETLSTable.cpp.

◆ getTextField()

MFXTextFieldTooltip * GNETLSTable::Cell::getTextField ( ) const

get textField

Definition at line 928 of file GNETLSTable.cpp.

◆ getType()

char GNETLSTable::Cell::getType ( ) const

get column type

Definition at line 1020 of file GNETLSTable.cpp.

◆ hasFocus()

bool GNETLSTable::Cell::hasFocus ( ) const

check if current cell has focus

Definition at line 854 of file GNETLSTable.cpp.

◆ hideMenuButtonPopup()

void GNETLSTable::Cell::hideMenuButtonPopup ( )

hide menuButton popup

Definition at line 1026 of file GNETLSTable.cpp.

◆ setFocus()

void GNETLSTable::Cell::setFocus ( )

set focus in the current cell

Definition at line 881 of file GNETLSTable.cpp.

◆ setTooltip()

void GNETLSTable::Cell::setTooltip ( const std::string &  toolTip)

set tooltip

Definition at line 918 of file GNETLSTable.cpp.

References TL.

◆ showIndexLabelBold()

void GNETLSTable::Cell::showIndexLabelBold ( )

show label index bold

Definition at line 998 of file GNETLSTable.cpp.

◆ showIndexLabelNormal()

void GNETLSTable::Cell::showIndexLabelNormal ( )

show label index normal

Definition at line 988 of file GNETLSTable.cpp.

Field Documentation

◆ myAddAllGreenButton

MFXButtonTooltip* GNETLSTable::Cell::myAddAllGreenButton = nullptr
private

add all green phase button

Definition at line 274 of file GNETLSTable.h.

Referenced by Cell().

◆ myAddAllGreenPriorityButton

MFXButtonTooltip* GNETLSTable::Cell::myAddAllGreenPriorityButton = nullptr
private

add all green priority phase button

Definition at line 277 of file GNETLSTable.h.

Referenced by Cell().

◆ myAddAllRedButton

MFXButtonTooltip* GNETLSTable::Cell::myAddAllRedButton = nullptr
private

add all red phase button

Definition at line 268 of file GNETLSTable.h.

Referenced by Cell().

◆ myAddAllYellowButton

MFXButtonTooltip* GNETLSTable::Cell::myAddAllYellowButton = nullptr
private

add all yellow phase button

Definition at line 271 of file GNETLSTable.h.

Referenced by Cell().

◆ myAddButton

MFXMenuButtonTooltip* GNETLSTable::Cell::myAddButton = nullptr
private

menu button tooltip

Definition at line 259 of file GNETLSTable.h.

Referenced by Cell().

◆ myAddPhaseButton

MFXButtonTooltip* GNETLSTable::Cell::myAddPhaseButton = nullptr
private

add phase button

Definition at line 262 of file GNETLSTable.h.

Referenced by Cell().

◆ myButton

MFXButtonTooltip* GNETLSTable::Cell::myButton = nullptr
private

button

Definition at line 253 of file GNETLSTable.h.

◆ myCol

const int GNETLSTable::Cell::myCol
private

column index

Definition at line 280 of file GNETLSTable.h.

◆ myDisableButton

bool GNETLSTable::Cell::myDisableButton = false
private

disable button

Definition at line 286 of file GNETLSTable.h.

◆ myDuplicatePhaseButton

MFXButtonTooltip* GNETLSTable::Cell::myDuplicatePhaseButton = nullptr
private

duplicate phase button

Definition at line 265 of file GNETLSTable.h.

Referenced by Cell().

◆ myIndexLabel

FXLabel* GNETLSTable::Cell::myIndexLabel = nullptr
private

index label

Definition at line 247 of file GNETLSTable.h.

◆ myIndexLabelBold

FXLabel* GNETLSTable::Cell::myIndexLabelBold = nullptr
private

index label bold

Definition at line 250 of file GNETLSTable.h.

◆ myMenuButtonPopup

FXPopup* GNETLSTable::Cell::myMenuButtonPopup = nullptr
private

popup for buttons

Definition at line 256 of file GNETLSTable.h.

Referenced by Cell().

◆ myRow

const int GNETLSTable::Cell::myRow
private

row index

Definition at line 283 of file GNETLSTable.h.

◆ myTextField

MFXTextFieldTooltip* GNETLSTable::Cell::myTextField = nullptr
private

MFXTextFieldTooltip.

Definition at line 244 of file GNETLSTable.h.

◆ myTLSTable

GNETLSTable* GNETLSTable::Cell::myTLSTable = nullptr
private

pointer to TLSTable parent

Definition at line 241 of file GNETLSTable.h.

Referenced by Cell().


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