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


Public Types | |
| enum | additionalReferencePoint { GNE_ADDITIONALREFERENCEPOINT_LEFT, GNE_ADDITIONALREFERENCEPOINT_RIGHT, GNE_ADDITIONALREFERENCEPOINT_CENTER } |
| FOX-declaration. More... | |
Public Member Functions | |
| editorParameters (FXComposite *parent, FXObject *tgt) | |
| constructor More... | |
| additionalReferencePoint | getActualReferencePoint () |
| get actual reference point More... | |
| SUMOReal | getLenght () |
| get value of lenght More... | |
| void | hideLengthField () |
| hide length field More... | |
| void | hideReferencePoint () |
| hide refence point comboBox More... | |
| bool | isBlockEnabled () |
| check if block is enabled More... | |
| bool | isForcePositionEnabled () |
| check if force position is enabled More... | |
| void | showLengthField () |
| show length field More... | |
| void | showReferencePoint () |
| show refence point comboBox More... | |
| ~editorParameters () | |
| destructor More... | |
FOX-callbacks | |
Called when the user enters another reference point | |
| long | onCmdSelectReferencePoint (FXObject *, FXSelector, void *) |
| long | onCmdHelp (FXObject *, FXSelector, void *) |
| Called when help button is pressed. More... | |
Protected Member Functions | |
| editorParameters () | |
| FOX needs this. More... | |
Private Attributes | |
| FXButton * | helpReferencePoint |
| Button for help about the reference point. More... | |
| additionalReferencePoint | myActualAdditionalReferencePoint |
| actual additional reference point selected in the match Box More... | |
| FXMenuCheck * | myCheckBlock |
| checkBox for blocking movement More... | |
| FXMenuCheck * | myCheckForcePosition |
| checkBox for the option "force position" More... | |
| FXLabel * | myLengthLabel |
| Label for lenght. More... | |
| FXTextField * | myLengthTextField |
| textField for lenght More... | |
| FXComboBox * | myReferencePointMatchBox |
| match box with the list of reference points More... | |
Definition at line 249 of file GNEAdditionalFrame.h.
FOX-declaration.
list of the reference points
| Enumerator | |
|---|---|
| GNE_ADDITIONALREFERENCEPOINT_LEFT | |
| GNE_ADDITIONALREFERENCEPOINT_RIGHT | |
| GNE_ADDITIONALREFERENCEPOINT_CENTER | |
Definition at line 255 of file GNEAdditionalFrame.h.
| GNEAdditionalFrame::editorParameters::editorParameters | ( | FXComposite * | parent, |
| FXObject * | tgt | ||
| ) |
constructor
Definition at line 964 of file GNEAdditionalFrame.cpp.
References helpReferencePoint, MID_GNE_MODE_ADDITIONAL_CHANGEPARAMETER_TEXT, MID_GNE_MODE_ADDITIONAL_FORCEPOSITION, MID_GNE_MODE_ADDITIONAL_REFERENCEPOINT, MID_GNE_SET_BLOCKING, MID_HELP, myCheckBlock, myCheckForcePosition, myLengthLabel, myLengthTextField, and myReferencePointMatchBox.
| GNEAdditionalFrame::editorParameters::~editorParameters | ( | ) |
destructor
Definition at line 1004 of file GNEAdditionalFrame.cpp.
|
inlineprotected |
FOX needs this.
Definition at line 304 of file GNEAdditionalFrame.h.
| GNEAdditionalFrame::editorParameters::additionalReferencePoint GNEAdditionalFrame::editorParameters::getActualReferencePoint | ( | ) |
get actual reference point
Definition at line 1036 of file GNEAdditionalFrame.cpp.
References myActualAdditionalReferencePoint, and SUMOReal.
Referenced by GNEAdditionalFrame::setEndPosition(), and GNEAdditionalFrame::setStartPosition().
| SUMOReal GNEAdditionalFrame::editorParameters::getLenght | ( | ) |
get value of lenght
Definition at line 1042 of file GNEAdditionalFrame.cpp.
References myLengthTextField.
Referenced by GNEAdditionalFrame::addAdditional().
| void GNEAdditionalFrame::editorParameters::hideLengthField | ( | ) |
hide length field
Definition at line 1015 of file GNEAdditionalFrame.cpp.
References myLengthLabel, and myLengthTextField.
Referenced by GNEAdditionalFrame::setParametersOfAdditional().
| void GNEAdditionalFrame::editorParameters::hideReferencePoint | ( | ) |
hide refence point comboBox
Definition at line 1029 of file GNEAdditionalFrame.cpp.
References myCheckForcePosition, and myReferencePointMatchBox.
Referenced by GNEAdditionalFrame::setParametersOfAdditional().
| bool GNEAdditionalFrame::editorParameters::isBlockEnabled | ( | ) |
check if block is enabled
Definition at line 1048 of file GNEAdditionalFrame.cpp.
References myCheckBlock.
Referenced by GNEAdditionalFrame::addAdditional().
| bool GNEAdditionalFrame::editorParameters::isForcePositionEnabled | ( | ) |
check if force position is enabled
Definition at line 1054 of file GNEAdditionalFrame.cpp.
References myCheckForcePosition.
Referenced by GNEAdditionalFrame::setEndPosition(), and GNEAdditionalFrame::setStartPosition().
| long GNEAdditionalFrame::editorParameters::onCmdHelp | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Called when help button is pressed.
Definition at line 1068 of file GNEAdditionalFrame.cpp.
| long GNEAdditionalFrame::editorParameters::onCmdSelectReferencePoint | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Definition at line 1060 of file GNEAdditionalFrame.cpp.
References myActualAdditionalReferencePoint, and myReferencePointMatchBox.
| void GNEAdditionalFrame::editorParameters::showLengthField | ( | ) |
show length field
Definition at line 1008 of file GNEAdditionalFrame.cpp.
References myLengthLabel, and myLengthTextField.
Referenced by GNEAdditionalFrame::setParametersOfAdditional().
| void GNEAdditionalFrame::editorParameters::showReferencePoint | ( | ) |
show refence point comboBox
Definition at line 1022 of file GNEAdditionalFrame.cpp.
References myCheckForcePosition, and myReferencePointMatchBox.
Referenced by GNEAdditionalFrame::setParametersOfAdditional().
|
private |
Button for help about the reference point.
Definition at line 311 of file GNEAdditionalFrame.h.
Referenced by editorParameters().
|
private |
actual additional reference point selected in the match Box
Definition at line 314 of file GNEAdditionalFrame.h.
Referenced by getActualReferencePoint(), and onCmdSelectReferencePoint().
|
private |
checkBox for blocking movement
Definition at line 326 of file GNEAdditionalFrame.h.
Referenced by editorParameters(), and isBlockEnabled().
|
private |
checkBox for the option "force position"
Definition at line 323 of file GNEAdditionalFrame.h.
Referenced by editorParameters(), hideReferencePoint(), isForcePositionEnabled(), and showReferencePoint().
|
private |
Label for lenght.
Definition at line 317 of file GNEAdditionalFrame.h.
Referenced by editorParameters(), hideLengthField(), and showLengthField().
|
private |
textField for lenght
Definition at line 320 of file GNEAdditionalFrame.h.
Referenced by editorParameters(), getLenght(), hideLengthField(), and showLengthField().
|
private |
match box with the list of reference points
Definition at line 308 of file GNEAdditionalFrame.h.
Referenced by editorParameters(), hideReferencePoint(), onCmdSelectReferencePoint(), and showReferencePoint().