![]() |
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... | |
Protected Member Functions | |
| TAZParameters () | |
| FOX needs this. 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 383 of file GNETAZFrame.h.
| GNETAZFrame::TAZParameters::TAZParameters | ( | GNETAZFrame * | TAZFrameParent | ) |
FOX-declaration.
constructor
Definition at line 1080 of file GNETAZFrame.cpp.
References GUIDesignAuxiliarHorizontalFrame, GUIDesignButtonAttribute, GUIDesignButtonRectangular, GUIDesignCheckButtonAttribute, 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 1098 of file GNETAZFrame.cpp.
|
inlineprotected |
FOX needs this.
Definition at line 423 of file GNETAZFrame.h.
| std::map< SumoXMLAttr, std::string > GNETAZFrame::TAZParameters::getAttributesAndValues | ( | ) | const |
get a map with attributes and their values
Definition at line 1126 of file GNETAZFrame.cpp.
References myTextFieldColor, and SUMO_ATTR_COLOR.
Referenced by GNETAZFrame::buildShape().
| void GNETAZFrame::TAZParameters::hideTAZParametersModul | ( | ) |
hide TAZ parameters
Definition at line 1108 of file GNETAZFrame.cpp.
Referenced by GNETAZFrame::TAZCurrent::setTAZ().
| bool GNETAZFrame::TAZParameters::isAddEdgesWithinEnabled | ( | ) | const |
check if edges within has to be used after TAZ Creation
Definition at line 1120 of file GNETAZFrame.cpp.
References myAddEdgesWithinCheckButton.
Referenced by GNETAZFrame::buildShape().
| bool GNETAZFrame::TAZParameters::isCurrentParametersValid | ( | ) | const |
check if current parameters are valid
Definition at line 1114 of file GNETAZFrame.cpp.
References myTextFieldColor.
Referenced by GNETAZFrame::buildShape().
| long GNETAZFrame::TAZParameters::onCmdHelp | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Called when help button is pressed.
Definition at line 1177 of file GNETAZFrame.cpp.
References GNEAttributeCarrier::getTagProperties(), myTAZFrameParent, GNEFrame::openHelpAttributesDialog(), and SUMO_TAG_TAZ.
| long GNETAZFrame::TAZParameters::onCmdSetAttribute | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Called when user set a value.
Definition at line 1155 of file GNETAZFrame.cpp.
References myAddEdgesWithinCheckButton, and myTextFieldColor.
Referenced by onCmdSetColorAttribute().
| long GNETAZFrame::TAZParameters::onCmdSetColorAttribute | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Definition at line 1135 of file GNETAZFrame.cpp.
References MFXUtils::getFXColor(), MFXUtils::getRGBColor(), myTextFieldColor, onCmdSetAttribute(), RGBColor::parseColor(), and toString().
| void GNETAZFrame::TAZParameters::showTAZParametersModul | ( | ) |
show TAZ parameters and set the default value of parameters
Definition at line 1102 of file GNETAZFrame.cpp.
Referenced by GNETAZFrame::TAZCurrent::setTAZ().
|
private |
CheckButton to enable or disable use edges within TAZ after creation.
Definition at line 436 of file GNETAZFrame.h.
Referenced by isAddEdgesWithinEnabled(), onCmdSetAttribute(), and TAZParameters().
|
private |
Button for open color editor.
Definition at line 430 of file GNETAZFrame.h.
Referenced by TAZParameters().
|
private |
|
private |
pointer to GNETAZFrame parent
Definition at line 427 of file GNETAZFrame.h.
Referenced by onCmdHelp().
|
private |
textField to modify the default value of color parameter
Definition at line 433 of file GNETAZFrame.h.
Referenced by getAttributesAndValues(), isCurrentParametersValid(), onCmdSetAttribute(), onCmdSetColorAttribute(), and TAZParameters().