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

table column More...

#include <MFXDecalsTable.h>

Collaboration diagram for MFXDecalsTable::Column:
[legend]

Public Member Functions

 Column (MFXDecalsTable *table, const int index, const char type)
 constructor
FXString getColumnLabel () const
 get column label
char getType () const
 get column type
FXVerticalFrame * getVerticalCellFrame () const
 get vertical cell frame
void setColumnLabel (const std::string &text, const std::string &tooltip)
 set column label
 ~Column ()
 destructor

Private Member Functions

void adjustColumnWidth ()
 adjust column width
 Column ()
 default constructor

Private Attributes

const int myIndex
 column index
MFXDecalsTablemyTable = nullptr
 pointer to table
MFXLabelTooltipmyTopLabel = nullptr
 column top tooltip label
const char myType
 column type
FXVerticalFrame * myVerticalCellFrame = nullptr
 vertical frame
FXVerticalFrame * myVerticalFrame = nullptr
 vertical frame

Detailed Description

table column

Definition at line 202 of file MFXDecalsTable.h.

Constructor & Destructor Documentation

◆ Column() [1/2]

◆ ~Column()

MFXDecalsTable::Column::~Column ( )

destructor

Definition at line 676 of file MFXDecalsTable.cpp.

References myVerticalFrame.

◆ Column() [2/2]

MFXDecalsTable::Column::Column ( )
private

default constructor

Definition at line 738 of file MFXDecalsTable.cpp.

References myIndex, and myType.

Member Function Documentation

◆ adjustColumnWidth()

void MFXDecalsTable::Column::adjustColumnWidth ( )
private

adjust column width

Definition at line 710 of file MFXDecalsTable.cpp.

References EXTRAMARGIN, GUIDesignHeight, myIndex, myTable, myTopLabel, myType, myVerticalCellFrame, and myVerticalFrame.

Referenced by Column(), and setColumnLabel().

Here is the caller graph for this function:

◆ getColumnLabel()

FXString MFXDecalsTable::Column::getColumnLabel ( ) const

get column label

Definition at line 695 of file MFXDecalsTable.cpp.

References myTopLabel.

◆ getType()

char MFXDecalsTable::Column::getType ( ) const

get column type

Definition at line 689 of file MFXDecalsTable.cpp.

References myType.

◆ getVerticalCellFrame()

FXVerticalFrame * MFXDecalsTable::Column::getVerticalCellFrame ( ) const

get vertical cell frame

Definition at line 683 of file MFXDecalsTable.cpp.

References myVerticalCellFrame.

◆ setColumnLabel()

void MFXDecalsTable::Column::setColumnLabel ( const std::string & text,
const std::string & tooltip )

set column label

Definition at line 701 of file MFXDecalsTable.cpp.

References adjustColumnWidth(), and myTopLabel.

Field Documentation

◆ myIndex

const int MFXDecalsTable::Column::myIndex
private

column index

Definition at line 237 of file MFXDecalsTable.h.

Referenced by adjustColumnWidth(), Column(), and Column().

◆ myTable

MFXDecalsTable* MFXDecalsTable::Column::myTable = nullptr
private

pointer to table

Definition at line 225 of file MFXDecalsTable.h.

Referenced by adjustColumnWidth(), and Column().

◆ myTopLabel

MFXLabelTooltip* MFXDecalsTable::Column::myTopLabel = nullptr
private

column top tooltip label

Definition at line 231 of file MFXDecalsTable.h.

Referenced by adjustColumnWidth(), Column(), getColumnLabel(), and setColumnLabel().

◆ myType

const char MFXDecalsTable::Column::myType
private

column type

Definition at line 240 of file MFXDecalsTable.h.

Referenced by adjustColumnWidth(), Column(), Column(), and getType().

◆ myVerticalCellFrame

FXVerticalFrame* MFXDecalsTable::Column::myVerticalCellFrame = nullptr
private

vertical frame

Definition at line 234 of file MFXDecalsTable.h.

Referenced by adjustColumnWidth(), Column(), and getVerticalCellFrame().

◆ myVerticalFrame

FXVerticalFrame* MFXDecalsTable::Column::myVerticalFrame = nullptr
private

vertical frame

Definition at line 228 of file MFXDecalsTable.h.

Referenced by adjustColumnWidth(), Column(), and ~Column().


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