![]() |
SUMO - Simulation of Urban MObility
|
#include <GNEAdditionalFrame.h>
Public Member Functions | |
std::string | getIdSelected () const |
get if currently additional Set More... | |
void | hideListOfAdditionals () |
hide SelectorParentAdditional More... | |
SelectorParentAdditional (FXComposite *parent, GNEViewNet *viewNet) | |
FOX-declaration. More... | |
void | showListOfAdditionals (SumoXMLTag type, bool uniqueSelection) |
Show list of SelectorParentAdditional. More... | |
~SelectorParentAdditional () | |
destructor More... | |
FOX-callbacks | |
called when user select an SelectorParentAdditional of the list | |
long | onCmdSelectAdditionalParent (FXObject *, FXSelector, void *) |
long | onCmdHelp (FXObject *, FXSelector, void *) |
Called when help button is pressed. More... | |
Protected Member Functions | |
SelectorParentAdditional () | |
FOX needs this. More... | |
Private Attributes | |
FXButton * | myHelpAdditionalParentSelector |
button for help More... | |
FXList * | myList |
List of additional sets. More... | |
FXLabel * | mySetLabel |
Label with the name of additional. More... | |
bool | myUniqueSelection |
flag to check if only a single parent is allowed More... | |
GNEViewNet * | myViewNet |
viewNet associated to GNEAdditionalFrame More... | |
Definition at line 397 of file GNEAdditionalFrame.h.
GNEAdditionalFrame::SelectorParentAdditional::SelectorParentAdditional | ( | FXComposite * | parent, |
GNEViewNet * | viewNet | ||
) |
FOX-declaration.
constructor
Definition at line 1366 of file GNEAdditionalFrame.cpp.
References GUIDesignButtonRectangular, GUIDesignLabelLeftThick, GUIDesignList, hideListOfAdditionals(), MID_GNE_ADDITIONALFRAME_SELECTADDITIONALPARENT, MID_HELP, myHelpAdditionalParentSelector, myList, and mySetLabel.
GNEAdditionalFrame::SelectorParentAdditional::~SelectorParentAdditional | ( | ) |
destructor
Definition at line 1385 of file GNEAdditionalFrame.cpp.
|
inlineprotected |
FOX needs this.
Definition at line 428 of file GNEAdditionalFrame.h.
std::string GNEAdditionalFrame::SelectorParentAdditional::getIdSelected | ( | ) | const |
get if currently additional Set
Definition at line 1389 of file GNEAdditionalFrame.cpp.
References myList.
Referenced by GNEAdditionalFrame::addAdditional().
void GNEAdditionalFrame::SelectorParentAdditional::hideListOfAdditionals | ( | ) |
Definition at line 1415 of file GNEAdditionalFrame.cpp.
References GNEFrame::hide().
Referenced by SelectorParentAdditional(), and GNEAdditionalFrame::setParametersOfAdditional().
long GNEAdditionalFrame::SelectorParentAdditional::onCmdHelp | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called when help button is pressed.
Definition at line 1427 of file GNEAdditionalFrame.cpp.
long GNEAdditionalFrame::SelectorParentAdditional::onCmdSelectAdditionalParent | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Definition at line 1421 of file GNEAdditionalFrame.cpp.
void GNEAdditionalFrame::SelectorParentAdditional::showListOfAdditionals | ( | SumoXMLTag | type, |
bool | uniqueSelection | ||
) |
Show list of SelectorParentAdditional.
Definition at line 1400 of file GNEAdditionalFrame.cpp.
References GNENet::getAdditionals(), GNEViewNet::getNet(), myList, mySetLabel, myUniqueSelection, myViewNet, GNEAdditionalFrame::show(), and toString().
Referenced by GNEAdditionalFrame::setParametersOfAdditional().
|
private |
button for help
Definition at line 442 of file GNEAdditionalFrame.h.
Referenced by SelectorParentAdditional().
|
private |
List of additional sets.
Definition at line 433 of file GNEAdditionalFrame.h.
Referenced by getIdSelected(), SelectorParentAdditional(), and showListOfAdditionals().
|
private |
Label with the name of additional.
Definition at line 436 of file GNEAdditionalFrame.h.
Referenced by SelectorParentAdditional(), and showListOfAdditionals().
|
private |
flag to check if only a single parent is allowed
Definition at line 439 of file GNEAdditionalFrame.h.
Referenced by showListOfAdditionals().
|
private |
viewNet associated to GNEAdditionalFrame
Definition at line 445 of file GNEAdditionalFrame.h.
Referenced by showListOfAdditionals().