SUMO - Simulation of Urban MObility
GNEFrame Class Reference

#include <GNEFrame.h>

Inheritance diagram for GNEFrame:
Inheritance graph
Collaboration diagram for GNEFrame:
Collaboration graph

Data Structures

class  DrawingMode
 
class  GEOAttributes
 
class  NeteditAttributes
 

Public Member Functions

void focusUpperElement ()
 focus upper element of frame More...
 
GNEFrame::DrawingModegetDrawingMode () const
 get drawing mode editor 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...
 
 GNEFrame (FXHorizontalFrame *horizontalFrameParent, GNEViewNet *viewNet, const std::string &frameLabel)
 Constructor. More...
 
virtual void hide ()
 hide Frame More...
 
void setFrameWidth (int newWidth)
 set width of GNEFrame More...
 
virtual void show ()
 show Frame More...
 
 ~GNEFrame ()
 destructor More...
 

Protected Member Functions

 GNEFrame ()
 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 Member Functions

 GNEFrame (const GNEFrame &)=delete
 Invalidated copy constructor. More...
 
GNEFrameoperator= (const GNEFrame &)=delete
 Invalidated assignment operator. More...
 

Private Attributes

FXFont * myFrameHeaderFont
 Font for the Header. More...
 
FXLabel * myFrameHeaderLabel
 the label for the frame's header More...
 
FXScrollWindow * myScrollWindowsContents
 scroll windows that holds the content frame More...
 

Detailed Description

Abstract class for lateral frames in NetEdit

Definition at line 54 of file GNEFrame.h.

Constructor & Destructor Documentation

◆ GNEFrame() [1/3]

GNEFrame::GNEFrame ( FXHorizontalFrame *  horizontalFrameParent,
GNEViewNet viewNet,
const std::string &  frameLabel 
)

Constructor.

parent FXHorizontalFrame in which this GNEFrame is placed viewNet viewNet that uses this GNEFrame frameLabel label of the frame

Definition at line 493 of file GNEFrame.cpp.

References GUIDesignAuxiliarHorizontalFrame, GUIDesignContentsFrame, GUIDesignContentsScrollWindow, GUIDesignHorizontalSeparator, GUIDesignLabelFrameInformation, myContentFrame, myFrameHeaderFont, myFrameHeaderLabel, myHeaderFrame, myHeaderLeftFrame, myHeaderRightFrame, and myScrollWindowsContents.

◆ ~GNEFrame()

GNEFrame::~GNEFrame ( )

destructor

Definition at line 534 of file GNEFrame.cpp.

References myFrameHeaderFont.

◆ GNEFrame() [2/3]

GNEFrame::GNEFrame ( )
inlineprotected

FOX needs this.

Definition at line 334 of file GNEFrame.h.

◆ GNEFrame() [3/3]

GNEFrame::GNEFrame ( const GNEFrame )
privatedelete

Invalidated copy constructor.

Member Function Documentation

◆ focusUpperElement()

void GNEFrame::focusUpperElement ( )

◆ getDrawingMode()

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

◆ getFrameHeaderFont()

FXFont * GNEFrame::getFrameHeaderFont ( ) const

get font of the header's frame

Definition at line 583 of file GNEFrame.cpp.

References myFrameHeaderFont.

◆ getFrameHeaderLabel()

FXLabel * GNEFrame::getFrameHeaderLabel ( ) const

get the label for the frame's header

Definition at line 577 of file GNEFrame.cpp.

References myFrameHeaderLabel.

Referenced by GNEInspectorFrame::inspectMultisection().

◆ getGEOAttributes()

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

get GEO Parameters editor

Definition at line 599 of file GNEFrame.cpp.

References myGEOAttributes.

◆ getNeteditAttributes()

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

get netedit attributes editor

Definition at line 589 of file GNEFrame.cpp.

References myNeteditAttributes.

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

◆ getViewNet()

◆ hide()

◆ operator=()

GNEFrame& GNEFrame::operator= ( const GNEFrame )
privatedelete

Invalidated assignment operator.

◆ setFrameWidth()

void GNEFrame::setFrameWidth ( int  newWidth)

set width of GNEFrame

Definition at line 564 of file GNEFrame.cpp.

References myScrollWindowsContents.

◆ show()

Field Documentation

◆ myContentFrame

FXVerticalFrame* GNEFrame::myContentFrame
protected

◆ myDrawingMode

GNEFrame::DrawingMode* GNEFrame::myDrawingMode
protected

drawing mode

Definition at line 358 of file GNEFrame.h.

Referenced by getDrawingMode(), GNEPolygonFrame::onCmdSelectShape(), and GNEPolygonFrame::processClick().

◆ myFrameHeaderFont

FXFont* GNEFrame::myFrameHeaderFont
private

Font for the Header.

Definition at line 365 of file GNEFrame.h.

Referenced by getFrameHeaderFont(), GNEFrame(), and ~GNEFrame().

◆ myFrameHeaderLabel

FXLabel* GNEFrame::myFrameHeaderLabel
private

the label for the frame's header

Definition at line 368 of file GNEFrame.h.

Referenced by focusUpperElement(), getFrameHeaderLabel(), and GNEFrame().

◆ myGEOAttributes

GNEFrame::GEOAttributes* GNEFrame::myGEOAttributes
protected

◆ myHeaderFrame

FXHorizontalFrame* GNEFrame::myHeaderFrame
protected

fame for header elements

Definition at line 343 of file GNEFrame.h.

Referenced by GNEFrame().

◆ myHeaderLeftFrame

FXHorizontalFrame* GNEFrame::myHeaderLeftFrame
protected

◆ myHeaderRightFrame

FXHorizontalFrame* GNEFrame::myHeaderRightFrame
protected

fame for right header elements

Definition at line 349 of file GNEFrame.h.

Referenced by GNEFrame().

◆ myNeteditAttributes

GNEFrame::NeteditAttributes* GNEFrame::myNeteditAttributes
protected

◆ myScrollWindowsContents

FXScrollWindow* GNEFrame::myScrollWindowsContents
private

scroll windows that holds the content frame

Definition at line 362 of file GNEFrame.h.

Referenced by GNEFrame(), and setFrameWidth().

◆ myViewNet

GNEViewNet* GNEFrame::myViewNet
protected

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(), getViewNet(), GNETLSEditorFrame::handleChange(), GNESelectorFrame::handleIDs(), GNEConnectorFrame::handleLaneClick(), GNETLSEditorFrame::handleMultiChange(), hide(), GNEConnectorFrame::initTargets(), GNEConnectorFrame::onCmdCancel(), GNETLSEditorFrame::onCmdCancel(), GNEDeleteFrame::onCmdCenterChildItem(), GNEInspectorFrame::onCmdCenterItem(), GNESelectorFrame::onCmdClear(), GNEConnectorFrame::onCmdClearSelectedConnections(), GNEInspectorFrame::onCmdCopyTemplate(), GNECrossingFrame::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 show().


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