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.

References MFXDecalsTable::MFXDecalsTable(), myCol, myDecalsTable, myRow, and myTextField.

◆ 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.

References MFXDecalsTable::MFXDecalsTable(), myCol, myDecalsTable, myIndexLabel, myIndexLabelBold, and myRow.

◆ 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.

References MFXDecalsTable::MFXDecalsTable(), myButton, myCol, myDecalsTable, and myRow.

◆ 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.

References MFXDecalsTable::MFXDecalsTable(), myCheckButton, myCol, myDecalsTable, and myRow.

◆ 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.

References MFXDecalsTable::MFXDecalsTable(), myCol, myDecalsTable, myRow, and mySpinner.

◆ ~Cell()

MFXDecalsTable::Cell::~Cell ( )

destructor

Definition at line 495 of file MFXDecalsTable.cpp.

References myButton, myCheckButton, myIndexLabel, myIndexLabelBold, and myTextField.

◆ Cell() [6/6]

MFXDecalsTable::Cell::Cell ( )
private

default constructor

Definition at line 611 of file MFXDecalsTable.cpp.

References myCol, and myRow.

Member Function Documentation

◆ getButton()

FXButton * MFXDecalsTable::Cell::getButton ( )

get open button

Definition at line 556 of file MFXDecalsTable.cpp.

References myButton.

◆ getCheckButton()

FXCheckButton * MFXDecalsTable::Cell::getCheckButton ( )

get check button

Definition at line 562 of file MFXDecalsTable.cpp.

References myCheckButton.

◆ getCol()

int MFXDecalsTable::Cell::getCol ( ) const

column index

Definition at line 594 of file MFXDecalsTable.cpp.

References myCol.

◆ getIndexLabel()

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

get index label

Definition at line 550 of file MFXDecalsTable.cpp.

References myIndexLabel.

◆ getRow()

int MFXDecalsTable::Cell::getRow ( ) const

row index

Definition at line 600 of file MFXDecalsTable.cpp.

References myRow.

◆ getSpinner()

FXRealSpinner * MFXDecalsTable::Cell::getSpinner ( )

get spinner

Definition at line 568 of file MFXDecalsTable.cpp.

References mySpinner.

◆ getTextField()

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

get textField

Definition at line 544 of file MFXDecalsTable.cpp.

References myTextField.

◆ getType()

char MFXDecalsTable::Cell::getType ( ) const

get column type

Definition at line 606 of file MFXDecalsTable.cpp.

References myCol, and myDecalsTable.

◆ hasFocus()

bool MFXDecalsTable::Cell::hasFocus ( ) const

check if current cell has focus

Definition at line 516 of file MFXDecalsTable.cpp.

References myButton, myCheckButton, and myTextField.

◆ setFocus()

void MFXDecalsTable::Cell::setFocus ( )

set focus in the current cell

Definition at line 531 of file MFXDecalsTable.cpp.

References myButton, myCheckButton, and myTextField.

◆ showIndexLabelBold()

void MFXDecalsTable::Cell::showIndexLabelBold ( )

show label index bold

Definition at line 584 of file MFXDecalsTable.cpp.

References myIndexLabel, and myIndexLabelBold.

◆ showIndexLabelNormal()

void MFXDecalsTable::Cell::showIndexLabelNormal ( )

show label index normal

Definition at line 574 of file MFXDecalsTable.cpp.

References myIndexLabel, and myIndexLabelBold.

Field Documentation

◆ myButton

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

button

Definition at line 183 of file MFXDecalsTable.h.

Referenced by Cell(), getButton(), hasFocus(), setFocus(), and ~Cell().

◆ myCheckButton

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

check button

Definition at line 189 of file MFXDecalsTable.h.

Referenced by Cell(), getCheckButton(), hasFocus(), setFocus(), and ~Cell().

◆ myCol

const int MFXDecalsTable::Cell::myCol
private

column index

Definition at line 192 of file MFXDecalsTable.h.

Referenced by Cell(), Cell(), Cell(), Cell(), Cell(), Cell(), getCol(), and getType().

◆ myDecalsTable

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

pointer to decals table parent

Definition at line 171 of file MFXDecalsTable.h.

Referenced by Cell(), Cell(), Cell(), Cell(), Cell(), and getType().

◆ myIndexLabel

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

index label

Definition at line 177 of file MFXDecalsTable.h.

Referenced by Cell(), getIndexLabel(), showIndexLabelBold(), showIndexLabelNormal(), and ~Cell().

◆ myIndexLabelBold

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

index label bold

Definition at line 180 of file MFXDecalsTable.h.

Referenced by Cell(), showIndexLabelBold(), showIndexLabelNormal(), and ~Cell().

◆ myRow

const int MFXDecalsTable::Cell::myRow
private

row index

Definition at line 195 of file MFXDecalsTable.h.

Referenced by Cell(), Cell(), Cell(), Cell(), Cell(), Cell(), and getRow().

◆ mySpinner

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

spinner

Definition at line 186 of file MFXDecalsTable.h.

Referenced by Cell(), and getSpinner().

◆ myTextField

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

FXTextField.

Definition at line 174 of file MFXDecalsTable.h.

Referenced by Cell(), getTextField(), hasFocus(), setFocus(), and ~Cell().


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