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::DrawingMode * getDrawingMode () 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::GEOAttributes * getGEOAttributes () const
 get GEO Parameters editor More...
 
GNEFrame::NeteditAttributes * getNeteditAttributes () const
 get netedit attributes editor More...
 
GNEViewNet * getViewNet () 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::DrawingMode * myDrawingMode
 drawing mode More...
 
GNEFrame::GEOAttributes * myGEOAttributes
 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::NeteditAttributes * myNeteditAttributes
 Netedit parameter. More...
 
GNEViewNet * myViewNet
 View Net for changes. More...
 

Private Member Functions

 GNEFrame (const GNEFrame &)=delete
 Invalidated copy constructor. More...
 
GNEFrame & operator= (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::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 ( )

destructor

Definition at line 534 of file GNEFrame.cpp.

References myFrameHeaderFont.

GNEFrame::GNEFrame ( )
inlineprotected

FOX needs this.

Definition at line 334 of file GNEFrame.h.

GNEFrame::GNEFrame ( const GNEFrame &  )
privatedelete

Invalidated copy constructor.

Member Function Documentation

void GNEFrame::focusUpperElement ( )
GNEFrame::DrawingMode * GNEFrame::getDrawingMode ( ) const
FXFont * GNEFrame::getFrameHeaderFont ( ) const

get font of the header's frame

Definition at line 583 of file GNEFrame.cpp.

References myFrameHeaderFont.

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

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

get GEO Parameters editor

Definition at line 599 of file GNEFrame.cpp.

References myGEOAttributes.

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

get netedit attributes editor

Definition at line 589 of file GNEFrame.cpp.

References myNeteditAttributes.

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

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

Invalidated assignment operator.

void GNEFrame::setFrameWidth ( int  newWidth)

set width of GNEFrame

Definition at line 564 of file GNEFrame.cpp.

References myScrollWindowsContents.

Field Documentation

FXVerticalFrame* GNEFrame::myContentFrame
protected

Vertical frame that holds all widgets of frame.

Definition at line 340 of file GNEFrame.h.

Referenced by GNECrossingFrame::GNECrossingFrame(), GNEFrame(), GNESelectorFrame::GNESelectorFrame(), and GNEInspectorFrame::inspectMultisection().

GNEFrame::DrawingMode* GNEFrame::myDrawingMode
protected

drawing mode

Definition at line 358 of file GNEFrame.h.

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

FXFont* GNEFrame::myFrameHeaderFont
private

Font for the Header.

Definition at line 365 of file GNEFrame.h.

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

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

GNEFrame::GEOAttributes* GNEFrame::myGEOAttributes
protected
FXHorizontalFrame* GNEFrame::myHeaderFrame
protected

fame for header elements

Definition at line 343 of file GNEFrame.h.

Referenced by GNEFrame().

FXHorizontalFrame* GNEFrame::myHeaderLeftFrame
protected
FXHorizontalFrame* GNEFrame::myHeaderRightFrame
protected

fame for right header elements

Definition at line 349 of file GNEFrame.h.

Referenced by GNEFrame().

GNEFrame::NeteditAttributes* GNEFrame::myNeteditAttributes
protected
FXScrollWindow* GNEFrame::myScrollWindowsContents
private

scroll windows that holds the content frame

Definition at line 362 of file GNEFrame.h.

Referenced by GNEFrame(), and setFrameWidth().

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: