Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
GNEMultipleParametersDialog::ParametersValues::ParameterRow Class Reference

FOX need this. More...

Public Member Functions

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

Data Fields

FXButton * button
 Button for add or remove row.
 
FXTextField * keyField
 TextField for parameter.
 
bool valueChanged
 flag to check that parameter was changed
 
FXTextField * valueField
 TextField for value.
 

Private Attributes

FXHorizontalFrame * horizontalFrame
 frame in which elements of ParameterRow are placed
 

Detailed Description

FOX need this.

class for parameters Row

Definition at line 100 of file GNEMultipleParametersDialog.h.

Constructor & Destructor Documentation

◆ ParameterRow()

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

◆ ~ParameterRow()

GNEMultipleParametersDialog::ParametersValues::ParameterRow::~ParameterRow ( )

destructor

Definition at line 215 of file GNEMultipleParametersDialog.cpp.

Member Function Documentation

◆ copyValues()

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

copy values of other parameter Row

Definition at line 273 of file GNEMultipleParametersDialog.cpp.

References keyField, and valueField.

◆ disableRow()

void GNEMultipleParametersDialog::ParametersValues::ParameterRow::disableRow ( )

disable row

Definition at line 222 of file GNEMultipleParametersDialog.cpp.

References GUIIconSubSys::getIcon(), and REMOVE.

Referenced by ParameterRow().

Here is the caller graph for this function:

◆ enableRow()

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

◆ isButtonInAddMode()

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

check if remove button is in mode "add"

Definition at line 267 of file GNEMultipleParametersDialog.cpp.

References ADD, and GUIIconSubSys::getIcon().

◆ toggleAddButton()

void GNEMultipleParametersDialog::ParametersValues::ParameterRow::toggleAddButton ( )

toggle add button

Definition at line 253 of file GNEMultipleParametersDialog.cpp.

References ADD, and GUIIconSubSys::getIcon().

Field Documentation

◆ button

FXButton* GNEMultipleParametersDialog::ParametersValues::ParameterRow::button

Button for add or remove row.

Definition at line 131 of file GNEMultipleParametersDialog.h.

Referenced by ParameterRow().

◆ horizontalFrame

FXHorizontalFrame* GNEMultipleParametersDialog::ParametersValues::ParameterRow::horizontalFrame
private

frame in which elements of ParameterRow are placed

Definition at line 138 of file GNEMultipleParametersDialog.h.

Referenced by ParameterRow().

◆ keyField

FXTextField* GNEMultipleParametersDialog::ParametersValues::ParameterRow::keyField

TextField for parameter.

Definition at line 125 of file GNEMultipleParametersDialog.h.

Referenced by copyValues(), and ParameterRow().

◆ valueChanged

bool GNEMultipleParametersDialog::ParametersValues::ParameterRow::valueChanged

flag to check that parameter was changed

Definition at line 134 of file GNEMultipleParametersDialog.h.

◆ valueField

FXTextField* GNEMultipleParametersDialog::ParametersValues::ParameterRow::valueField

TextField for value.

Definition at line 128 of file GNEMultipleParametersDialog.h.

Referenced by copyValues(), and ParameterRow().


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