Eclipse SUMO - Simulation of Urban MObility
GNEVTypeDistributionsDialog::ParametersValues::ParameterRow Class Reference

FOX need this. More...

Public Member Functions

void copyValues (const ParameterRow &other)
 copy values of other parameter Row More...
 
void disableRow ()
 disable row More...
 
void enableRow (const std::string &parameter, const std::string &value) const
 enable row More...
 
bool isButtonInAddMode () const
 check if remove button is in mode "add" More...
 
 ParameterRow (ParametersValues *ParametersValues, FXVerticalFrame *verticalFrameParent)
 constructor More...
 
void toggleAddButton ()
 toggle add button More...
 
 ~ParameterRow ()
 destructor More...
 

Data Fields

FXButton * button
 Button for add or remove row. More...
 
FXTextField * keyField
 TextField for parameter. More...
 
FXTextField * valueField
 TextField for value. More...
 

Private Attributes

FXHorizontalFrame * horizontalFrame
 frame in which elements of ParameterRow are placed More...
 

Detailed Description

FOX need this.

class for parameters Row

Definition at line 102 of file GNEVTypeDistributionsDialog.h.

Constructor & Destructor Documentation

◆ ParameterRow()

GNEVTypeDistributionsDialog::ParametersValues::ParameterRow::ParameterRow ( ParametersValues ParametersValues,
FXVerticalFrame *  verticalFrameParent 
)

◆ ~ParameterRow()

GNEVTypeDistributionsDialog::ParametersValues::ParameterRow::~ParameterRow ( )

destructor

Definition at line 207 of file GNEVTypeDistributionsDialog.cpp.

Member Function Documentation

◆ copyValues()

void GNEVTypeDistributionsDialog::ParametersValues::ParameterRow::copyValues ( const ParameterRow other)

copy values of other parameter Row

Definition at line 265 of file GNEVTypeDistributionsDialog.cpp.

References keyField, and valueField.

◆ disableRow()

void GNEVTypeDistributionsDialog::ParametersValues::ParameterRow::disableRow ( )

disable row

Definition at line 214 of file GNEVTypeDistributionsDialog.cpp.

References GUIIconSubSys::getIcon(), and REMOVE.

◆ enableRow()

void GNEVTypeDistributionsDialog::ParametersValues::ParameterRow::enableRow ( const std::string &  parameter,
const std::string &  value 
) const

◆ isButtonInAddMode()

bool GNEVTypeDistributionsDialog::ParametersValues::ParameterRow::isButtonInAddMode ( ) const

check if remove button is in mode "add"

Definition at line 259 of file GNEVTypeDistributionsDialog.cpp.

References ADD, and GUIIconSubSys::getIcon().

◆ toggleAddButton()

void GNEVTypeDistributionsDialog::ParametersValues::ParameterRow::toggleAddButton ( )

toggle add button

Definition at line 245 of file GNEVTypeDistributionsDialog.cpp.

References ADD, and GUIIconSubSys::getIcon().

Field Documentation

◆ button

FXButton* GNEVTypeDistributionsDialog::ParametersValues::ParameterRow::button

Button for add or remove row.

Definition at line 133 of file GNEVTypeDistributionsDialog.h.

◆ horizontalFrame

FXHorizontalFrame* GNEVTypeDistributionsDialog::ParametersValues::ParameterRow::horizontalFrame
private

frame in which elements of ParameterRow are placed

Definition at line 136 of file GNEVTypeDistributionsDialog.h.

◆ keyField

FXTextField* GNEVTypeDistributionsDialog::ParametersValues::ParameterRow::keyField

TextField for parameter.

Definition at line 127 of file GNEVTypeDistributionsDialog.h.

Referenced by copyValues().

◆ valueField

FXTextField* GNEVTypeDistributionsDialog::ParametersValues::ParameterRow::valueField

TextField for value.

Definition at line 130 of file GNEVTypeDistributionsDialog.h.

Referenced by copyValues().


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