Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
MFXDecalsTable::Cell Class Reference

FOX needs this. More...

#include <MFXDecalsTable.h>

Collaboration diagram for MFXDecalsTable::Cell:
[legend]

Public Member Functions

 Cell (MFXDecalsTable *decalsTable, FXButton *button, int col, int row)
 constructor for buttons
 
 Cell (MFXDecalsTable *decalsTable, FXCheckButton *checkButton, int col, int row)
 constructor for check buttons
 
 Cell (MFXDecalsTable *decalsTable, FXLabel *indexLabel, FXLabel *indexLabelBold, int col, int row)
 constructor for index label
 
 Cell (MFXDecalsTable *decalsTable, FXRealSpinner *spinner, int col, int row)
 constructor for spinners
 
 Cell (MFXDecalsTable *decalsTable, FXTextField *textField, int col, int row)
 constructor for textField
 
FXButton * getButton ()
 get open button
 
FXCheckButton * getCheckButton ()
 get check button
 
int getCol () const
 column index
 
FXLabel * getIndexLabel () const
 get index label
 
int getRow () const
 row index
 
FXRealSpinner * getSpinner ()
 get spinner
 
FXTextField * getTextField () const
 get textField
 
char getType () const
 get column type
 
bool hasFocus () const
 check if current cell has focus
 
void setFocus ()
 set focus in the current cell
 
void showIndexLabelBold ()
 show label index bold
 
void showIndexLabelNormal ()
 show label index normal
 
 ~Cell ()
 destructor
 

Private Member Functions

 Cell ()
 default constructor
 

Private Attributes

FXButton * myButton = nullptr
 button
 
FXCheckButton * myCheckButton = nullptr
 check button
 
const int myCol
 column index
 
MFXDecalsTablemyDecalsTable = nullptr
 pointer to decals table parent
 
FXLabel * myIndexLabel = nullptr
 index label
 
FXLabel * myIndexLabelBold = nullptr
 index label bold
 
const int myRow
 row index
 
FXRealSpinner * mySpinner = nullptr
 spinner
 
FXTextField * myTextField = nullptr
 FXTextField.
 

Detailed Description

FOX needs this.

table cell

Definition at line 112 of file MFXDecalsTable.h.

Constructor & Destructor Documentation

◆ Cell() [1/6]

MFXDecalsTable::Cell::Cell ( MFXDecalsTable decalsTable,
FXTextField *  textField,
int  col,
int  row 
)

constructor for textField

Definition at line 451 of file MFXDecalsTable.cpp.

◆ Cell() [2/6]

MFXDecalsTable::Cell::Cell ( MFXDecalsTable decalsTable,
FXLabel *  indexLabel,
FXLabel *  indexLabelBold,
int  col,
int  row 
)

constructor for index label

Definition at line 459 of file MFXDecalsTable.cpp.

◆ Cell() [3/6]

MFXDecalsTable::Cell::Cell ( MFXDecalsTable decalsTable,
FXButton *  button,
int  col,
int  row 
)

constructor for buttons

Definition at line 471 of file MFXDecalsTable.cpp.

◆ Cell() [4/6]

MFXDecalsTable::Cell::Cell ( MFXDecalsTable decalsTable,
FXCheckButton *  checkButton,
int  col,
int  row 
)

constructor for check buttons

Definition at line 479 of file MFXDecalsTable.cpp.

◆ Cell() [5/6]

MFXDecalsTable::Cell::Cell ( MFXDecalsTable decalsTable,
FXRealSpinner *  spinner,
int  col,
int  row 
)

constructor for spinners

Definition at line 487 of file MFXDecalsTable.cpp.

◆ ~Cell()

MFXDecalsTable::Cell::~Cell ( )

destructor

Definition at line 495 of file MFXDecalsTable.cpp.

◆ Cell() [6/6]

MFXDecalsTable::Cell::Cell ( )
private

default constructor

Definition at line 611 of file MFXDecalsTable.cpp.

Member Function Documentation

◆ getButton()

FXButton * MFXDecalsTable::Cell::getButton ( )

get open button

Definition at line 556 of file MFXDecalsTable.cpp.

◆ getCheckButton()

FXCheckButton * MFXDecalsTable::Cell::getCheckButton ( )

get check button

Definition at line 562 of file MFXDecalsTable.cpp.

◆ getCol()

int MFXDecalsTable::Cell::getCol ( ) const

column index

Definition at line 594 of file MFXDecalsTable.cpp.

◆ getIndexLabel()

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

get index label

Definition at line 550 of file MFXDecalsTable.cpp.

◆ getRow()

int MFXDecalsTable::Cell::getRow ( ) const

row index

Definition at line 600 of file MFXDecalsTable.cpp.

◆ getSpinner()

FXRealSpinner * MFXDecalsTable::Cell::getSpinner ( )

get spinner

Definition at line 568 of file MFXDecalsTable.cpp.

◆ getTextField()

FXTextField * MFXDecalsTable::Cell::getTextField ( ) const

get textField

Definition at line 544 of file MFXDecalsTable.cpp.

◆ getType()

char MFXDecalsTable::Cell::getType ( ) const

get column type

Definition at line 606 of file MFXDecalsTable.cpp.

◆ hasFocus()

bool MFXDecalsTable::Cell::hasFocus ( ) const

check if current cell has focus

Definition at line 516 of file MFXDecalsTable.cpp.

◆ setFocus()

void MFXDecalsTable::Cell::setFocus ( )

set focus in the current cell

Definition at line 531 of file MFXDecalsTable.cpp.

◆ showIndexLabelBold()

void MFXDecalsTable::Cell::showIndexLabelBold ( )

show label index bold

Definition at line 584 of file MFXDecalsTable.cpp.

◆ showIndexLabelNormal()

void MFXDecalsTable::Cell::showIndexLabelNormal ( )

show label index normal

Definition at line 574 of file MFXDecalsTable.cpp.

Field Documentation

◆ myButton

FXButton* MFXDecalsTable::Cell::myButton = nullptr
private

button

Definition at line 183 of file MFXDecalsTable.h.

◆ myCheckButton

FXCheckButton* MFXDecalsTable::Cell::myCheckButton = nullptr
private

check button

Definition at line 189 of file MFXDecalsTable.h.

◆ myCol

const int MFXDecalsTable::Cell::myCol
private

column index

Definition at line 192 of file MFXDecalsTable.h.

◆ myDecalsTable

MFXDecalsTable* MFXDecalsTable::Cell::myDecalsTable = nullptr
private

pointer to decals table parent

Definition at line 171 of file MFXDecalsTable.h.

◆ myIndexLabel

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

index label

Definition at line 177 of file MFXDecalsTable.h.

◆ myIndexLabelBold

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

index label bold

Definition at line 180 of file MFXDecalsTable.h.

◆ myRow

const int MFXDecalsTable::Cell::myRow
private

row index

Definition at line 195 of file MFXDecalsTable.h.

◆ mySpinner

FXRealSpinner* MFXDecalsTable::Cell::mySpinner = nullptr
private

spinner

Definition at line 186 of file MFXDecalsTable.h.

◆ myTextField

FXTextField* MFXDecalsTable::Cell::myTextField = nullptr
private

FXTextField.

Definition at line 174 of file MFXDecalsTable.h.


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