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::crossingParameters * getCrossingParameters () const
 get Crossing parameters More...
 
GNECrossingFrame::edgesSelector * getEdgeSelector () 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...
 
GNEViewNet * getViewNet () 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...
 
void openHelpAttributesDialog (SumoXMLTag tag) const
 Open help attributes dialog. More...
 

Protected Attributes

FXVerticalFrame * myContentFrame
 Vertical frame that holds all widgets of frame. More...
 
FXHorizontalFrame * myHeaderFrame
 fame for header elements More...
 
FXHorizontalFrame * myHeaderLeftFrame
 fame for left header elements More...
 
FXHorizontalFrame * myHeaderRightFrame
 fame for right header elements More...
 
GNEViewNet * myViewNet
 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::crossingParameters * myCrossingParameters
 crossing parameters More...
 
FXLabel * myCurrentJunctionLabel
 Label for current Junction. More...
 
GNECrossingFrame::edgesSelector * myEdgeSelector
 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 43 of file GNECrossingFrame.h.

Constructor & Destructor Documentation

◆ GNECrossingFrame() [1/2]

◆ ~GNECrossingFrame()

GNECrossingFrame::~GNECrossingFrame ( )

Destructor.

Definition at line 490 of file GNECrossingFrame.cpp.

◆ GNECrossingFrame() [2/2]

GNECrossingFrame::GNECrossingFrame ( )
inlineprotected

FOX needs this.

Definition at line 264 of file GNECrossingFrame.h.

Member Function Documentation

◆ addCrossing()

◆ focusUpperElement()

void GNEFrame::focusUpperElement ( )
inherited

◆ getCrossingParameters()

◆ getEdgeSelector()

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

◆ getFrameHeaderFont()

FXFont * GNEFrame::getFrameHeaderFont ( ) const
inherited

get font of the header's frame

Definition at line 778 of file GNEFrame.cpp.

References GNEFrame::myFrameHeaderFont.

◆ getFrameHeaderLabel()

FXLabel * GNEFrame::getFrameHeaderLabel ( ) const
inherited

get the label for the frame's header

Definition at line 772 of file GNEFrame.cpp.

References GNEFrame::myFrameHeaderLabel.

Referenced by GNEProhibitionFrame::GNEProhibitionFrame(), and GNEInspectorFrame::inspectMultisection().

◆ getIdsSelected()

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

get list of selecte id's in string format

◆ getViewNet()

GNEViewNet * GNEFrame::getViewNet ( ) const
inherited

get view net

Definition at line 766 of file GNEFrame.cpp.

References GNEFrame::myViewNet.

Referenced by GNEPolygonFrame::DrawingMode::abortDrawing(), GNETLSEditorFrame::TLSFile::checkTLSValids(), GNEFrame::ACHierarchy::createPopUpMenu(), GNECrossingFrame::edgesSelector::enableEdgeSelector(), GNETLSEditorFrame::TLSFile::myStartElement(), GNEFrame::ACHierarchy::onCmdCenterItem(), GNEInspectorFrame::TemplateEditor::onCmdCopyTemplate(), GNEFrame::ACHierarchy::onCmdDeleteItem(), GNEFrame::GenericParametersEditor::onCmdEditGenericParameter(), GNEFrame::ACHierarchy::onCmdInspectItem(), GNESelectorFrame::SelectionOperation::onCmdInvert(), GNESelectorFrame::SelectionOperation::onCmdLoad(), GNEInspectorFrame::AttributesEditor::AttributeInput::onCmdOpenAttributeDialog(), GNESelectorFrame::VisualScaling::onCmdScaleSelection(), GNEInspectorFrame::AttributesEditor::AttributeInput::onCmdSetAttribute(), GNECrossingFrame::crossingParameters::onCmdSetAttribute(), GNEFrame::GenericParametersEditor::onCmdSetGenericParameter(), GNEInspectorFrame::GEOAttributesEditor::onCmdSetGEOAttribute(), GNEInspectorFrame::NeteditAttributesEditor::onCmdSetNeteditAttribute(), GNEAdditionalFrame::SelectorParentAdditional::refreshListOfAdditionalParents(), GNEDeleteFrame::removeAttributeCarrier(), GNECrossingFrame::edgesSelector::restoreEdgeColors(), GNEFrame::ACHierarchy::showAttributeCarrierChilds(), GNEFrame::ACHierarchy::showAttributeCarrierParents(), GNEAdditionalFrame::SelectorParentEdges::showList(), GNEAdditionalFrame::SelectorParentLanes::showList(), GNEInspectorFrame::NeteditAttributesEditor::showNeteditAttributesEditor(), GNEAdditionalFrame::AdditionalAttributes::showWarningMessage(), GNEPolygonFrame::ShapeAttributes::showWarningMessage(), GNEPolygonFrame::DrawingMode::stopDrawing(), GNESelectorFrame::LockGLObjectTypes::updateLockGLObjectTypes(), GNEAdditionalFrame::SelectorParentEdges::updateUseSelectedEdges(), and GNEAdditionalFrame::SelectorParentLanes::updateUseSelectedLanes().

◆ hide()

void GNECrossingFrame::hide ( )
virtual

hide crossing frame

Reimplemented from GNEFrame.

Definition at line 495 of file GNECrossingFrame.cpp.

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

◆ onCmdCreateCrossing()

◆ openHelpAttributesDialog()

◆ 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 759 of file GNEFrame.cpp.

References GNEFrame::myScrollWindowsContents.

◆ show()

Field Documentation

◆ myColorCandidateLabel

FXLabel* GNECrossingFrame::myColorCandidateLabel
private

Label for color candidate.

Definition at line 289 of file GNECrossingFrame.h.

Referenced by GNECrossingFrame().

◆ myColorSelectedLabel

FXLabel* GNECrossingFrame::myColorSelectedLabel
private

Label for color selected.

Definition at line 292 of file GNECrossingFrame.h.

Referenced by GNECrossingFrame().

◆ myContentFrame

FXVerticalFrame* GNEFrame::myContentFrame
protectedinherited

◆ myCreateCrossingButton

FXButton* GNECrossingFrame::myCreateCrossingButton
private

FXButton for create Crossing

Definition at line 283 of file GNECrossingFrame.h.

Referenced by GNECrossingFrame(), and setCreateCrossingButton().

◆ myCrossingParameters

GNECrossingFrame::crossingParameters* GNECrossingFrame::myCrossingParameters
private

crossing parameters

Definition at line 271 of file GNECrossingFrame.h.

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

◆ myCurrentJunctionLabel

FXLabel* GNECrossingFrame::myCurrentJunctionLabel
private

Label for current Junction.

Definition at line 277 of file GNECrossingFrame.h.

Referenced by addCrossing(), and GNECrossingFrame().

◆ myEdgeSelector

GNECrossingFrame::edgesSelector* GNECrossingFrame::myEdgeSelector
private

edge selector

Definition at line 268 of file GNECrossingFrame.h.

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

◆ myGroupBoxButtons

FXGroupBox* GNECrossingFrame::myGroupBoxButtons
private

groupbox for buttons

Definition at line 280 of file GNECrossingFrame.h.

Referenced by GNECrossingFrame().

◆ myGroupBoxLabel

FXGroupBox* GNECrossingFrame::myGroupBoxLabel
private

groupbox for the junction label

Definition at line 274 of file GNECrossingFrame.h.

Referenced by GNECrossingFrame().

◆ myGroupBoxLegend

FXGroupBox* GNECrossingFrame::myGroupBoxLegend
private

groupbox for Legend

Definition at line 286 of file GNECrossingFrame.h.

Referenced by GNECrossingFrame().

◆ myHeaderFrame

FXHorizontalFrame* GNEFrame::myHeaderFrame
protectedinherited

fame for header elements

Definition at line 238 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 244 of file GNEFrame.h.

Referenced by GNEFrame::GNEFrame().

◆ myViewNet

GNEViewNet* GNEFrame::myViewNet
protectedinherited

View Net for changes.

Definition at line 232 of file GNEFrame.h.

Referenced by GNEAdditionalFrame::addAdditional(), GNEPolygonFrame::addPOI(), GNEPolygonFrame::addPOILane(), GNEPolygonFrame::addPolygon(), GNETLSEditorFrame::buildIinternalLanes(), GNEPolygonFrame::buildPoly(), GNESelectorFrame::clearCurrentSelection(), GNEInspectorFrame::clearInspectedAC(), GNETLSEditorFrame::editJunction(), GNEAdditionalFrame::generateID(), GNESelectorFrame::getMatches(), GNEFrame::getViewNet(), GNETLSEditorFrame::handleChange(), GNESelectorFrame::handleIDs(), GNEConnectorFrame::handleLaneClick(), GNETLSEditorFrame::handleMultiChange(), GNEFrame::hide(), GNEInspectorFrame::hide(), GNEConnectorFrame::initTargets(), GNEInspectorFrame::inspectElement(), GNEConnectorFrame::onCmdCancel(), GNEProhibitionFrame::onCmdCancel(), GNETLSEditorFrame::onCmdCancel(), GNEConnectorFrame::onCmdClearSelectedConnections(), onCmdCreateCrossing(), GNETLSEditorFrame::onCmdDefCreate(), GNETLSEditorFrame::onCmdDefDelete(), GNETLSEditorFrame::onCmdDefSwitch(), GNEInspectorFrame::onCmdGoBack(), GNEConnectorFrame::onCmdOK(), GNETLSEditorFrame::onCmdOK(), GNETLSEditorFrame::onCmdPhaseSwitch(), GNEConnectorFrame::onCmdResetSelectedConnections(), GNESelectorFrame::SelectionOperation::onCmdSave(), GNEConnectorFrame::onCmdSelectConflicts(), GNEConnectorFrame::onCmdSelectDeadEnds(), GNEConnectorFrame::onCmdSelectDeadStarts(), GNEConnectorFrame::onCmdSelectPass(), GNETLSEditorFrame::parseTLSPrograms(), GNEPolygonFrame::processClick(), GNEAdditionalFrame::removeAdditional(), GNEDeleteFrame::removeAttributeCarrier(), GNEDeleteFrame::removeSelectedAttributeCarriers(), GNEDeleteFrame::show(), and GNEFrame::show().


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