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

table column More...

#include <GNETLSTable.h>

Collaboration diagram for GNETLSTable::Column:
[legend]

Public Member Functions

 Column (GNETLSTable *table, const int index, const char type)
 constructor
 
FXString getColumnLabelTop () const
 get column label top
 
int getColumnMinimumWidth ()
 get column minimum width
 
char getType () const
 get column type
 
FXVerticalFrame * getVerticalCellFrame () const
 get vertical cell frame
 
void setColumnLabelBot (const std::string &text)
 set column label boit
 
void setColumnLabelTop (const std::string &text, const std::string &tooltip)
 set column label top
 
void setColumnWidth (const int colWidth)
 set colum width
 
 ~Column ()
 destructor
 

Private Member Functions

 Column ()
 default constructor
 
bool isTextFieldColumn () const
 check if current type correspond to a textField
 

Private Attributes

FXLabel * myBotLabel = nullptr
 column bot label
 
const int myIndex
 column index
 
GNETLSTablemyTable = 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 293 of file GNETLSTable.h.

Constructor & Destructor Documentation

◆ Column() [1/2]

◆ ~Column()

GNETLSTable::Column::~Column ( )

destructor

Definition at line 1100 of file GNETLSTable.cpp.

◆ Column() [2/2]

GNETLSTable::Column::Column ( )
private

default constructor

Definition at line 1194 of file GNETLSTable.cpp.

Member Function Documentation

◆ getColumnLabelTop()

FXString GNETLSTable::Column::getColumnLabelTop ( ) const

get column label top

Definition at line 1119 of file GNETLSTable.cpp.

◆ getColumnMinimumWidth()

int GNETLSTable::Column::getColumnMinimumWidth ( )

get column minimum width

Definition at line 1138 of file GNETLSTable.cpp.

References EXTRAMARGIN, and GUIDesignHeight.

Referenced by GNETLSTable::recalcTableWidth().

Here is the caller graph for this function:

◆ getType()

char GNETLSTable::Column::getType ( ) const

get column type

Definition at line 1113 of file GNETLSTable.cpp.

◆ getVerticalCellFrame()

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

get vertical cell frame

Definition at line 1107 of file GNETLSTable.cpp.

◆ isTextFieldColumn()

bool GNETLSTable::Column::isTextFieldColumn ( ) const
private

check if current type correspond to a textField

Definition at line 1189 of file GNETLSTable.cpp.

◆ setColumnLabelBot()

void GNETLSTable::Column::setColumnLabelBot ( const std::string &  text)

set column label boit

Definition at line 1132 of file GNETLSTable.cpp.

◆ setColumnLabelTop()

void GNETLSTable::Column::setColumnLabelTop ( const std::string &  text,
const std::string &  tooltip 
)

set column label top

Definition at line 1125 of file GNETLSTable.cpp.

◆ setColumnWidth()

void GNETLSTable::Column::setColumnWidth ( const int  colWidth)

set colum width

Definition at line 1173 of file GNETLSTable.cpp.

Referenced by GNETLSTable::recalcTableWidth().

Here is the caller graph for this function:

Field Documentation

◆ myBotLabel

FXLabel* GNETLSTable::Column::myBotLabel = nullptr
private

column bot label

Definition at line 337 of file GNETLSTable.h.

Referenced by Column().

◆ myIndex

const int GNETLSTable::Column::myIndex
private

column index

Definition at line 340 of file GNETLSTable.h.

◆ myTable

GNETLSTable* GNETLSTable::Column::myTable = nullptr
private

pointer to table

Definition at line 325 of file GNETLSTable.h.

◆ myTopLabel

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

column top tooltip label

Definition at line 331 of file GNETLSTable.h.

Referenced by Column().

◆ myType

const char GNETLSTable::Column::myType
private

column type

Definition at line 343 of file GNETLSTable.h.

Referenced by Column().

◆ myVerticalCellFrame

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

vertical frame

Definition at line 334 of file GNETLSTable.h.

Referenced by Column().

◆ myVerticalFrame

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

vertical frame

Definition at line 328 of file GNETLSTable.h.

Referenced by Column().


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