![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <GNETAZFrame.h>
Public Member Functions | |
| std::map< SumoXMLAttr, std::string > | getAttributesAndValues () const |
| get a map with attributes and their values More... | |
| void | hideTAZParametersModul () |
| hide TAZ parameters More... | |
| bool | isAddEdgesWithinEnabled () const |
| check if edges within has to be used after TAZ Creation More... | |
| bool | isCurrentParametersValid () const |
| check if current parameters are valid More... | |
| void | showTAZParametersModul () |
| show TAZ parameters and set the default value of parameters More... | |
| TAZParameters (GNETAZFrame *TAZFrameParent) | |
| FOX-declaration. More... | |
| ~TAZParameters () | |
| destructor More... | |
FOX-callbacks | |
called when user press the "Color" button | |
| long | onCmdSetColorAttribute (FXObject *, FXSelector, void *) |
| long | onCmdSetAttribute (FXObject *, FXSelector, void *) |
| Called when user set a value. More... | |
| long | onCmdHelp (FXObject *, FXSelector, void *) |
| Called when help button is pressed. More... | |
Private Attributes | |
| FXCheckButton * | myAddEdgesWithinCheckButton |
| CheckButton to enable or disable use edges within TAZ after creation. More... | |
| FXButton * | myColorEditor |
| Button for open color editor. More... | |
| FXButton * | myHelpTAZAttribute |
| button for help More... | |
| GNETAZFrame * | myTAZFrameParent |
| pointer to GNETAZFrame parent More... | |
| FXTextField * | myTextFieldColor |
| textField to modify the default value of color parameter More... | |
Definition at line 386 of file GNETAZFrame.h.
| GNETAZFrame::TAZParameters::TAZParameters | ( | GNETAZFrame * | TAZFrameParent | ) |
FOX-declaration.
constructor
Definition at line 1074 of file GNETAZFrame.cpp.
References GUIDesignAuxiliarHorizontalFrame, GUIDesignButtonAttribute, GUIDesignButtonRectangular, GUIDesignCheckButton, GUIDesignLabelAttribute, GUIDesignTextField, GUIDesignTextFieldNCol, MID_GNE_SET_ATTRIBUTE, MID_GNE_SET_ATTRIBUTE_DIALOG, MID_HELP, myAddEdgesWithinCheckButton, myColorEditor, myHelpTAZAttribute, myTextFieldColor, SUMO_ATTR_COLOR, and toString().
| GNETAZFrame::TAZParameters::~TAZParameters | ( | ) |
destructor
Definition at line 1092 of file GNETAZFrame.cpp.
| std::map< SumoXMLAttr, std::string > GNETAZFrame::TAZParameters::getAttributesAndValues | ( | ) | const |
get a map with attributes and their values
Definition at line 1120 of file GNETAZFrame.cpp.
References SUMO_ATTR_COLOR.
Referenced by GNETAZFrame::shapeDrawed().
| void GNETAZFrame::TAZParameters::hideTAZParametersModul | ( | ) |
hide TAZ parameters
Definition at line 1102 of file GNETAZFrame.cpp.
| bool GNETAZFrame::TAZParameters::isAddEdgesWithinEnabled | ( | ) | const |
check if edges within has to be used after TAZ Creation
Definition at line 1114 of file GNETAZFrame.cpp.
Referenced by GNETAZFrame::shapeDrawed().
| bool GNETAZFrame::TAZParameters::isCurrentParametersValid | ( | ) | const |
check if current parameters are valid
Definition at line 1108 of file GNETAZFrame.cpp.
Referenced by GNETAZFrame::shapeDrawed().
| long GNETAZFrame::TAZParameters::onCmdHelp | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Called when help button is pressed.
Definition at line 1171 of file GNETAZFrame.cpp.
References GNEAttributeCarrier::getTagProperties(), and SUMO_TAG_TAZ.
| long GNETAZFrame::TAZParameters::onCmdSetAttribute | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Called when user set a value.
Definition at line 1149 of file GNETAZFrame.cpp.
| long GNETAZFrame::TAZParameters::onCmdSetColorAttribute | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Definition at line 1129 of file GNETAZFrame.cpp.
References MFXUtils::getFXColor(), MFXUtils::getRGBColor(), RGBColor::parseColor(), and toString().
| void GNETAZFrame::TAZParameters::showTAZParametersModul | ( | ) |
show TAZ parameters and set the default value of parameters
Definition at line 1096 of file GNETAZFrame.cpp.
|
private |
CheckButton to enable or disable use edges within TAZ after creation.
Definition at line 438 of file GNETAZFrame.h.
Referenced by TAZParameters().
|
private |
Button for open color editor.
Definition at line 432 of file GNETAZFrame.h.
Referenced by TAZParameters().
|
private |
|
private |
pointer to GNETAZFrame parent
Definition at line 429 of file GNETAZFrame.h.
|
private |
textField to modify the default value of color parameter
Definition at line 435 of file GNETAZFrame.h.
Referenced by TAZParameters().