SUMO - Simulation of Urban MObility
GNECrossingFrame Class Reference

#include <GNECrossingFrame.h>

Inheritance diagram for GNECrossingFrame:
Inheritance graph
Collaboration diagram for GNECrossingFrame:
Collaboration graph

Data Structures

class  crossingParameters
 
class  edgesSelector
 FOX-declaration. More...
 

Public Member Functions

bool addCrossing (GNENetElement *netElement)
 add Crossing element More...
 
void focusUpperElement ()
 focus upper element of frame More...
 
GNECrossingFrame::crossingParametersgetCrossingParameters () const
 get Crossing parameters More...
 
GNEFrame::DrawingModegetDrawingMode () const
 get drawing mode editor More...
 
GNECrossingFrame::edgesSelectorgetEdgeSelector () const
 get edge selector More...
 
FXFont * getFrameHeaderFont () const
 get font of the header's frame More...
 
FXLabel * getFrameHeaderLabel () const
 get the label for the frame's header More...
 
GNEFrame::GEOAttributesgetGEOAttributes () const
 get GEO Parameters editor More...
 
GNEFrame::NeteditAttributesgetNeteditAttributes () const
 get netedit attributes editor More...
 
GNEViewNetgetViewNet () const
 get view net More...
 
 GNECrossingFrame (FXHorizontalFrame *horizontalFrameParent, GNEViewNet *viewNet)
 Constructor. More...
 
void hide ()
 hide crossing frame More...
 
void removeCrossing (GNECrossing *Crossing)
 remove an Crossing element previously added More...
 
void setCreateCrossingButton (bool value)
 enable or disable button create edges More...
 
void setFrameWidth (int newWidth)
 set width of GNEFrame More...
 
virtual void show ()
 show Frame More...
 
 ~GNECrossingFrame ()
 Destructor. More...
 
FOX-callbacks

Called when the user press the button create edge

long onCmdCreateCrossing (FXObject *, FXSelector, void *)
 

Static Public Member Functions

static std::string getIdsSelected (const FXList *list)
 get list of selecte id's in string format More...
 

Protected Member Functions

 GNECrossingFrame ()
 FOX needs this. More...
 

Protected Attributes

FXVerticalFrame * myContentFrame
 Vertical frame that holds all widgets of frame. More...
 
GNEFrame::DrawingModemyDrawingMode
 drawing mode More...
 
GNEFrame::GEOAttributesmyGEOAttributes
 GEO Parameters. More...
 
FXHorizontalFrame * myHeaderFrame
 fame for header elements More...
 
FXHorizontalFrame * myHeaderLeftFrame
 fame for left header elements More...
 
FXHorizontalFrame * myHeaderRightFrame
 fame for right header elements More...
 
GNEFrame::NeteditAttributesmyNeteditAttributes
 Netedit parameter. More...
 
GNEViewNetmyViewNet
 View Net for changes. More...
 

Private Attributes

FXLabel * myColorCandidateLabel
 Label for color candidate. More...
 
FXLabel * myColorSelectedLabel
 Label for color selected. More...
 
FXButton * myCreateCrossingButton
 FXButton for create Crossing More...
 
GNECrossingFrame::crossingParametersmyCrossingParameters
 crossing parameters More...
 
FXLabel * myCurrentJunctionLabel
 Label for current Junction. More...
 
GNECrossingFrame::edgesSelectormyEdgeSelector
 edge selector More...
 
FXGroupBox * myGroupBoxButtons
 groupbox for buttons More...
 
FXGroupBox * myGroupBoxLabel
 groupbox for the junction label More...
 
FXGroupBox * myGroupBoxLegend
 groupbox for Legend More...
 

Detailed Description

The Widget for setting internal attributes of Crossing elements

Definition at line 49 of file GNECrossingFrame.h.

Constructor & Destructor Documentation

◆ GNECrossingFrame() [1/2]

◆ ~GNECrossingFrame()

GNECrossingFrame::~GNECrossingFrame ( )

Destructor.

Definition at line 560 of file GNECrossingFrame.cpp.

References gSelected, and GUISelectedStorage::remove2Update().

◆ GNECrossingFrame() [2/2]

GNECrossingFrame::GNECrossingFrame ( )
inlineprotected

FOX needs this.

Definition at line 279 of file GNECrossingFrame.h.

Member Function Documentation

◆ addCrossing()

◆ focusUpperElement()

void GNEFrame::focusUpperElement ( )
inherited

◆ getCrossingParameters()

◆ getDrawingMode()

GNEFrame::DrawingMode * GNEFrame::getDrawingMode ( ) const
inherited

◆ getEdgeSelector()

GNECrossingFrame::edgesSelector * GNECrossingFrame::getEdgeSelector ( ) const

◆ getFrameHeaderFont()

FXFont * GNEFrame::getFrameHeaderFont ( ) const
inherited

get font of the header's frame

Definition at line 583 of file GNEFrame.cpp.

References GNEFrame::myFrameHeaderFont.

◆ getFrameHeaderLabel()

FXLabel * GNEFrame::getFrameHeaderLabel ( ) const
inherited

get the label for the frame's header

Definition at line 577 of file GNEFrame.cpp.

References GNEFrame::myFrameHeaderLabel.

Referenced by GNEInspectorFrame::inspectMultisection().

◆ getGEOAttributes()

GNEFrame::GEOAttributes * GNEFrame::getGEOAttributes ( ) const
inherited

get GEO Parameters editor

Definition at line 599 of file GNEFrame.cpp.

References GNEFrame::myGEOAttributes.

◆ getIdsSelected()

static std::string GNECrossingFrame::getIdsSelected ( const FXList *  list)
static

get list of selecte id's in string format

◆ getNeteditAttributes()

GNEFrame::NeteditAttributes * GNEFrame::getNeteditAttributes ( ) const
inherited

get netedit attributes editor

Definition at line 589 of file GNEFrame.cpp.

References GNEFrame::myNeteditAttributes.

Referenced by GNEFrame::DrawingMode::stopDrawing().

◆ getViewNet()

◆ hide()

void GNECrossingFrame::hide ( )
virtual

hide crossing frame

Reimplemented from GNEFrame.

Definition at line 566 of file GNECrossingFrame.cpp.

References GNEFrame::hide(), myEdgeSelector, and GNECrossingFrame::edgesSelector::restoreEdgeColors().

◆ onCmdCreateCrossing()

◆ removeCrossing()

void GNECrossingFrame::removeCrossing ( GNECrossing Crossing)

remove an Crossing element previously added

Parameters
[in]Crossingelement to erase

◆ setCreateCrossingButton()

void GNECrossingFrame::setCreateCrossingButton ( bool  value)

◆ setFrameWidth()

void GNEFrame::setFrameWidth ( int  newWidth)
inherited

set width of GNEFrame

Definition at line 564 of file GNEFrame.cpp.

References GNEFrame::myScrollWindowsContents.

◆ show()

Field Documentation

◆ myColorCandidateLabel

FXLabel* GNECrossingFrame::myColorCandidateLabel
private

Label for color candidate.

Definition at line 304 of file GNECrossingFrame.h.

Referenced by GNECrossingFrame().

◆ myColorSelectedLabel

FXLabel* GNECrossingFrame::myColorSelectedLabel
private

Label for color selected.

Definition at line 307 of file GNECrossingFrame.h.

Referenced by GNECrossingFrame().

◆ myContentFrame

FXVerticalFrame* GNEFrame::myContentFrame
protectedinherited

◆ myCreateCrossingButton

FXButton* GNECrossingFrame::myCreateCrossingButton
private

FXButton for create Crossing

Definition at line 298 of file GNECrossingFrame.h.

Referenced by GNECrossingFrame(), and setCreateCrossingButton().

◆ myCrossingParameters

GNECrossingFrame::crossingParameters* GNECrossingFrame::myCrossingParameters
private

crossing parameters

Definition at line 286 of file GNECrossingFrame.h.

Referenced by addCrossing(), getCrossingParameters(), GNECrossingFrame(), and onCmdCreateCrossing().

◆ myCurrentJunctionLabel

FXLabel* GNECrossingFrame::myCurrentJunctionLabel
private

Label for current Junction.

Definition at line 292 of file GNECrossingFrame.h.

Referenced by addCrossing(), and GNECrossingFrame().

◆ myDrawingMode

GNEFrame::DrawingMode* GNEFrame::myDrawingMode
protectedinherited

◆ myEdgeSelector

GNECrossingFrame::edgesSelector* GNECrossingFrame::myEdgeSelector
private

edge selector

Definition at line 283 of file GNECrossingFrame.h.

Referenced by addCrossing(), getEdgeSelector(), GNECrossingFrame(), hide(), and onCmdCreateCrossing().

◆ myGEOAttributes

GNEFrame::GEOAttributes* GNEFrame::myGEOAttributes
protectedinherited

◆ myGroupBoxButtons

FXGroupBox* GNECrossingFrame::myGroupBoxButtons
private

groupbox for buttons

Definition at line 295 of file GNECrossingFrame.h.

Referenced by GNECrossingFrame().

◆ myGroupBoxLabel

FXGroupBox* GNECrossingFrame::myGroupBoxLabel
private

groupbox for the junction label

Definition at line 289 of file GNECrossingFrame.h.

Referenced by GNECrossingFrame().

◆ myGroupBoxLegend

FXGroupBox* GNECrossingFrame::myGroupBoxLegend
private

groupbox for Legend

Definition at line 301 of file GNECrossingFrame.h.

Referenced by GNECrossingFrame().

◆ myHeaderFrame

FXHorizontalFrame* GNEFrame::myHeaderFrame
protectedinherited

fame for header elements

Definition at line 343 of file GNEFrame.h.

Referenced by GNEFrame::GNEFrame().

◆ myHeaderLeftFrame

FXHorizontalFrame* GNEFrame::myHeaderLeftFrame
protectedinherited

◆ myHeaderRightFrame

FXHorizontalFrame* GNEFrame::myHeaderRightFrame
protectedinherited

fame for right header elements

Definition at line 349 of file GNEFrame.h.

Referenced by GNEFrame::GNEFrame().

◆ myNeteditAttributes

GNEFrame::NeteditAttributes* GNEFrame::myNeteditAttributes
protectedinherited

◆ myViewNet

GNEViewNet* GNEFrame::myViewNet
protectedinherited

View Net for changes.

Definition at line 337 of file GNEFrame.h.

Referenced by GNEAdditionalFrame::addAdditional(), GNEPolygonFrame::addPOI(), GNEPolygonFrame::addPOILane(), GNEPolygonFrame::addPolygon(), GNETLSEditorFrame::buildIinternalLanes(), GNEPolygonFrame::buildPoly(), GNEDeleteFrame::createPopUpMenu(), GNEInspectorFrame::createPopUpMenu(), GNETLSEditorFrame::editJunction(), GNEAdditionalFrame::generateID(), GNESelectorFrame::getMatches(), GNEFrame::getViewNet(), GNETLSEditorFrame::handleChange(), GNESelectorFrame::handleIDs(), GNEConnectorFrame::handleLaneClick(), GNETLSEditorFrame::handleMultiChange(), GNEFrame::hide(), GNEConnectorFrame::initTargets(), GNEConnectorFrame::onCmdCancel(), GNETLSEditorFrame::onCmdCancel(), GNEDeleteFrame::onCmdCenterChildItem(), GNEInspectorFrame::onCmdCenterItem(), GNESelectorFrame::onCmdClear(), GNEConnectorFrame::onCmdClearSelectedConnections(), GNEInspectorFrame::onCmdCopyTemplate(), onCmdCreateCrossing(), GNETLSEditorFrame::onCmdDefCreate(), GNETLSEditorFrame::onCmdDefDelete(), GNETLSEditorFrame::onCmdDefSwitch(), GNEInspectorFrame::onCmdDeleteItem(), GNEInspectorFrame::onCmdGoBack(), GNEDeleteFrame::onCmdInspectChildItem(), GNESelectorFrame::onCmdInvert(), GNESelectorFrame::onCmdLoad(), GNEConnectorFrame::onCmdOK(), GNETLSEditorFrame::onCmdOK(), GNETLSEditorFrame::onCmdPhaseSwitch(), GNEConnectorFrame::onCmdResetSelectedConnections(), GNESelectorFrame::onCmdScaleSelection(), GNEConnectorFrame::onCmdSelectConflicts(), GNEConnectorFrame::onCmdSelectDeadEnds(), GNEConnectorFrame::onCmdSelectDeadStarts(), GNEConnectorFrame::onCmdSelectPass(), GNEPolygonFrame::processClick(), GNEAdditionalFrame::removeAdditional(), GNEDeleteFrame::removeAttributeCarrier(), and GNEFrame::show().


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