![]() |
Eclipse SUMO - Simulation of Urban MObility
|
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 ¶meter, 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. | |
FXTextField * | valueField |
TextField for value. | |
Private Attributes | |
FXHorizontalFrame * | horizontalFrame |
frame in which elements of ParameterRow are placed | |
FOX need this.
class for parameters Row
Definition at line 102 of file GNEVTypeDistributionsDialog.h.
GNEVTypeDistributionsDialog::ParametersValues::ParameterRow::ParameterRow | ( | ParametersValues * | ParametersValues, |
FXVerticalFrame * | verticalFrameParent | ||
) |
constructor
Definition at line 193 of file GNEVTypeDistributionsDialog.cpp.
References GUIIconSubSys::getIcon(), GUIDesignAuxiliarHorizontalFrame, GUIDesignButtonIcon, GUIDesignTextField, GUIDesignTextFieldNCol, MID_GNE_REMOVE_ATTRIBUTE, MID_GNE_SET_ATTRIBUTE, and REMOVE.
GNEVTypeDistributionsDialog::ParametersValues::ParameterRow::~ParameterRow | ( | ) |
destructor
Definition at line 207 of file GNEVTypeDistributionsDialog.cpp.
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.
void GNEVTypeDistributionsDialog::ParametersValues::ParameterRow::disableRow | ( | ) |
disable row
Definition at line 214 of file GNEVTypeDistributionsDialog.cpp.
References GUIIconSubSys::getIcon(), and REMOVE.
void GNEVTypeDistributionsDialog::ParametersValues::ParameterRow::enableRow | ( | const std::string & | parameter, |
const std::string & | value | ||
) | const |
enable row
Definition at line 226 of file GNEVTypeDistributionsDialog.cpp.
References GUIIconSubSys::getIcon(), SUMOXMLDefinitions::isValidParameterKey(), and REMOVE.
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().
void GNEVTypeDistributionsDialog::ParametersValues::ParameterRow::toggleAddButton | ( | ) |
toggle add button
Definition at line 245 of file GNEVTypeDistributionsDialog.cpp.
References ADD, and GUIIconSubSys::getIcon().
FXButton* GNEVTypeDistributionsDialog::ParametersValues::ParameterRow::button |
Button for add or remove row.
Definition at line 133 of file GNEVTypeDistributionsDialog.h.
|
private |
frame in which elements of ParameterRow are placed
Definition at line 136 of file GNEVTypeDistributionsDialog.h.
FXTextField* GNEVTypeDistributionsDialog::ParametersValues::ParameterRow::keyField |
TextField for parameter.
Definition at line 127 of file GNEVTypeDistributionsDialog.h.
Referenced by copyValues().
FXTextField* GNEVTypeDistributionsDialog::ParametersValues::ParameterRow::valueField |
TextField for value.
Definition at line 130 of file GNEVTypeDistributionsDialog.h.
Referenced by copyValues().