SUMO - Simulation of Urban MObility
GNEAdditionalFrame::editorParameters Class Reference

#include <GNEAdditionalFrame.h>

Inheritance diagram for GNEAdditionalFrame::editorParameters:
Inheritance graph
Collaboration diagram for GNEAdditionalFrame::editorParameters:
Collaboration graph

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...
 

Detailed Description

Definition at line 249 of file GNEAdditionalFrame.h.

Member Enumeration Documentation

§ additionalReferencePoint

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.

Constructor & Destructor Documentation

§ editorParameters() [1/2]

§ ~editorParameters()

GNEAdditionalFrame::editorParameters::~editorParameters ( )

destructor

Definition at line 1004 of file GNEAdditionalFrame.cpp.

§ editorParameters() [2/2]

GNEAdditionalFrame::editorParameters::editorParameters ( )
inlineprotected

FOX needs this.

Definition at line 304 of file GNEAdditionalFrame.h.

Member Function Documentation

§ getActualReferencePoint()

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().

§ getLenght()

SUMOReal GNEAdditionalFrame::editorParameters::getLenght ( )

get value of lenght

Definition at line 1042 of file GNEAdditionalFrame.cpp.

References myLengthTextField.

Referenced by GNEAdditionalFrame::addAdditional().

§ hideLengthField()

void GNEAdditionalFrame::editorParameters::hideLengthField ( )

hide length field

Definition at line 1015 of file GNEAdditionalFrame.cpp.

References myLengthLabel, and myLengthTextField.

Referenced by GNEAdditionalFrame::setParametersOfAdditional().

§ hideReferencePoint()

void GNEAdditionalFrame::editorParameters::hideReferencePoint ( )

hide refence point comboBox

Definition at line 1029 of file GNEAdditionalFrame.cpp.

References myCheckForcePosition, and myReferencePointMatchBox.

Referenced by GNEAdditionalFrame::setParametersOfAdditional().

§ isBlockEnabled()

bool GNEAdditionalFrame::editorParameters::isBlockEnabled ( )

check if block is enabled

Definition at line 1048 of file GNEAdditionalFrame.cpp.

References myCheckBlock.

Referenced by GNEAdditionalFrame::addAdditional().

§ isForcePositionEnabled()

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().

§ onCmdHelp()

long GNEAdditionalFrame::editorParameters::onCmdHelp ( FXObject *  ,
FXSelector  ,
void *   
)

Called when help button is pressed.

Definition at line 1068 of file GNEAdditionalFrame.cpp.

§ onCmdSelectReferencePoint()

long GNEAdditionalFrame::editorParameters::onCmdSelectReferencePoint ( FXObject *  ,
FXSelector  ,
void *   
)

§ showLengthField()

void GNEAdditionalFrame::editorParameters::showLengthField ( )

show length field

Definition at line 1008 of file GNEAdditionalFrame.cpp.

References myLengthLabel, and myLengthTextField.

Referenced by GNEAdditionalFrame::setParametersOfAdditional().

§ showReferencePoint()

void GNEAdditionalFrame::editorParameters::showReferencePoint ( )

show refence point comboBox

Definition at line 1022 of file GNEAdditionalFrame.cpp.

References myCheckForcePosition, and myReferencePointMatchBox.

Referenced by GNEAdditionalFrame::setParametersOfAdditional().

Field Documentation

§ helpReferencePoint

FXButton* GNEAdditionalFrame::editorParameters::helpReferencePoint
private

Button for help about the reference point.

Definition at line 311 of file GNEAdditionalFrame.h.

Referenced by editorParameters().

§ myActualAdditionalReferencePoint

additionalReferencePoint GNEAdditionalFrame::editorParameters::myActualAdditionalReferencePoint
private

actual additional reference point selected in the match Box

Definition at line 314 of file GNEAdditionalFrame.h.

Referenced by getActualReferencePoint(), and onCmdSelectReferencePoint().

§ myCheckBlock

FXMenuCheck* GNEAdditionalFrame::editorParameters::myCheckBlock
private

checkBox for blocking movement

Definition at line 326 of file GNEAdditionalFrame.h.

Referenced by editorParameters(), and isBlockEnabled().

§ myCheckForcePosition

FXMenuCheck* GNEAdditionalFrame::editorParameters::myCheckForcePosition
private

checkBox for the option "force position"

Definition at line 323 of file GNEAdditionalFrame.h.

Referenced by editorParameters(), hideReferencePoint(), isForcePositionEnabled(), and showReferencePoint().

§ myLengthLabel

FXLabel* GNEAdditionalFrame::editorParameters::myLengthLabel
private

Label for lenght.

Definition at line 317 of file GNEAdditionalFrame.h.

Referenced by editorParameters(), hideLengthField(), and showLengthField().

§ myLengthTextField

FXTextField* GNEAdditionalFrame::editorParameters::myLengthTextField
private

textField for lenght

Definition at line 320 of file GNEAdditionalFrame.h.

Referenced by editorParameters(), getLenght(), hideLengthField(), and showLengthField().

§ myReferencePointMatchBox

FXComboBox* GNEAdditionalFrame::editorParameters::myReferencePointMatchBox
private

match box with the list of reference points

Definition at line 308 of file GNEAdditionalFrame.h.

Referenced by editorParameters(), hideReferencePoint(), onCmdSelectReferencePoint(), and showReferencePoint().


The documentation for this class was generated from the following files: