![]() |
SUMO - Simulation of Urban MObility
|
#include <GNESelectorFrame.h>


Public Types | |
| enum | SetOperation { SET_ADD = 1, SET_SUB = 2, SET_RESTRICT = 3, SET_REPLACE = 4, SET_DEFAULT = 5 } |
| FOX-declaration. More... | |
Public Member Functions | |
| SetOperation | getModificationMode () const |
| get current modification mode More... | |
| ModificationMode (GNESelectorFrame *selectorFrameParent) | |
| constructor More... | |
| ~ModificationMode () | |
| destructor More... | |
FOX-callbacks | |
called when user change type of selction operation | |
| long | onCmdSelectModificationMode (FXObject *, FXSelector, void *) |
Protected Member Functions | |
| ModificationMode () | |
| FOX needs this. More... | |
Private Attributes | |
| FXRadioButton * | myAddRadioButton |
| add radio button More... | |
| FXRadioButton * | myKeepRadioButton |
| keep button More... | |
| SetOperation | myModificationModeType |
| how to modify selection More... | |
| FXRadioButton * | myRemoveRadioButton |
| remove radio button More... | |
| FXRadioButton * | myReplaceRadioButton |
| replace radio button More... | |
| GNESelectorFrame * | mySelectorFrameParent |
| pointer to Selector Frame Parent More... | |
Definition at line 114 of file GNESelectorFrame.h.
FOX-declaration.
operations of selector
| Enumerator | |
|---|---|
| SET_ADD | |
| SET_SUB | |
| SET_RESTRICT | |
| SET_REPLACE | |
| SET_DEFAULT | |
Definition at line 120 of file GNESelectorFrame.h.
| GNESelectorFrame::ModificationMode::ModificationMode | ( | GNESelectorFrame * | selectorFrameParent | ) |
constructor
Definition at line 389 of file GNESelectorFrame.cpp.
References GUIDesignRadioButton, MID_CHOOSEN_OPERATION, myAddRadioButton, myKeepRadioButton, myRemoveRadioButton, and myReplaceRadioButton.
| GNESelectorFrame::ModificationMode::~ModificationMode | ( | ) |
destructor
Definition at line 406 of file GNESelectorFrame.cpp.
|
inlineprotected |
FOX needs this.
Definition at line 146 of file GNESelectorFrame.h.
| GNESelectorFrame::ModificationMode::SetOperation GNESelectorFrame::ModificationMode::getModificationMode | ( | ) | const |
get current modification mode
Definition at line 410 of file GNESelectorFrame.cpp.
References myModificationModeType.
Referenced by GNESelectorFrame::handleIDs(), and GNEViewNet::SelectingArea::processBoundarySelection().
| long GNESelectorFrame::ModificationMode::onCmdSelectModificationMode | ( | FXObject * | obj, |
| FXSelector | , | ||
| void * | |||
| ) |
Definition at line 416 of file GNESelectorFrame.cpp.
References myAddRadioButton, myKeepRadioButton, myModificationModeType, myRemoveRadioButton, myReplaceRadioButton, SET_ADD, SET_REPLACE, SET_RESTRICT, and SET_SUB.
|
private |
add radio button
Definition at line 153 of file GNESelectorFrame.h.
Referenced by ModificationMode(), and onCmdSelectModificationMode().
|
private |
keep button
Definition at line 159 of file GNESelectorFrame.h.
Referenced by ModificationMode(), and onCmdSelectModificationMode().
|
private |
how to modify selection
Definition at line 165 of file GNESelectorFrame.h.
Referenced by getModificationMode(), and onCmdSelectModificationMode().
|
private |
remove radio button
Definition at line 156 of file GNESelectorFrame.h.
Referenced by ModificationMode(), and onCmdSelectModificationMode().
|
private |
replace radio button
Definition at line 162 of file GNESelectorFrame.h.
Referenced by ModificationMode(), and onCmdSelectModificationMode().
|
private |
pointer to Selector Frame Parent
Definition at line 150 of file GNESelectorFrame.h.