![]() |
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 385 of file GNETAZFrame.h.
GNETAZFrame::TAZParameters::TAZParameters | ( | GNETAZFrame * | TAZFrameParent | ) |
FOX-declaration.
constructor
Definition at line 1070 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 1088 of file GNETAZFrame.cpp.
std::map< SumoXMLAttr, std::string > GNETAZFrame::TAZParameters::getAttributesAndValues | ( | ) | const |
get a map with attributes and their values
Definition at line 1116 of file GNETAZFrame.cpp.
References SUMO_ATTR_COLOR.
Referenced by GNETAZFrame::shapeDrawed().
void GNETAZFrame::TAZParameters::hideTAZParametersModul | ( | ) |
hide TAZ parameters
Definition at line 1098 of file GNETAZFrame.cpp.
bool GNETAZFrame::TAZParameters::isAddEdgesWithinEnabled | ( | ) | const |
check if edges within has to be used after TAZ Creation
Definition at line 1110 of file GNETAZFrame.cpp.
Referenced by GNETAZFrame::shapeDrawed().
bool GNETAZFrame::TAZParameters::isCurrentParametersValid | ( | ) | const |
check if current parameters are valid
Definition at line 1104 of file GNETAZFrame.cpp.
Referenced by GNETAZFrame::shapeDrawed().
long GNETAZFrame::TAZParameters::onCmdHelp | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called when help button is pressed.
Definition at line 1167 of file GNETAZFrame.cpp.
References GNEAttributeCarrier::getTagProperties(), and SUMO_TAG_TAZ.
Referenced by FXDEFMAP().
long GNETAZFrame::TAZParameters::onCmdSetAttribute | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called when user set a value.
Definition at line 1145 of file GNETAZFrame.cpp.
Referenced by FXDEFMAP().
long GNETAZFrame::TAZParameters::onCmdSetColorAttribute | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Definition at line 1125 of file GNETAZFrame.cpp.
References MFXUtils::getFXColor(), MFXUtils::getRGBColor(), RGBColor::parseColor(), and toString().
Referenced by FXDEFMAP().
void GNETAZFrame::TAZParameters::showTAZParametersModul | ( | ) |
show TAZ parameters and set the default value of parameters
Definition at line 1092 of file GNETAZFrame.cpp.
|
private |
CheckButton to enable or disable use edges within TAZ after creation.
Definition at line 437 of file GNETAZFrame.h.
Referenced by TAZParameters().
|
private |
Button for open color editor.
Definition at line 431 of file GNETAZFrame.h.
Referenced by TAZParameters().
|
private |
|
private |
pointer to GNETAZFrame parent
Definition at line 428 of file GNETAZFrame.h.
|
private |
textField to modify the default value of color parameter
Definition at line 434 of file GNETAZFrame.h.
Referenced by TAZParameters().