SUMO - Simulation of Urban MObility
GNEFrame Class Reference

#include <GNEFrame.h>

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

Public Member Functions

void focusUpperElement ()
 focus upper element of frame More...
 
FXFont * getFrameHeaderFont () const
 get font of the header's frame More...
 
FXLabel * getFrameHeaderLabel () const
 get the label for the frame's header 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 width)
 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...
 
FXFont * myFrameHeaderFont
 Font for the Header. More...
 
FXLabel * myFrameHeaderLabel
 the label for the frame's header More...
 
FXHorizontalFrame * myHeaderFrame
 fame for header elements More...
 
FXHorizontalFrame * myHeaderLeftFrame
 fame for left header elements More...
 
FXHorizontalFrame * myHeaderRightFrame
 fame for right header elements More...
 
GNEViewNetmyViewNet
 the window to inform when the tls is modfied More...
 

Private Member Functions

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

Private Attributes

FXScrollWindow * myScrollWindowsContents
 scroll windows that holds the content frame More...
 

Detailed Description

Abstract class for lateral frames in NetEdit

Definition at line 53 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 49 of file GNEFrame.cpp.

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

◆ ~GNEFrame()

GNEFrame::~GNEFrame ( )

destructor

Definition at line 86 of file GNEFrame.cpp.

References myFrameHeaderFont.

◆ GNEFrame() [2/3]

GNEFrame::GNEFrame ( )
inlineprotected

FOX needs this.

Definition at line 92 of file GNEFrame.h.

◆ GNEFrame() [3/3]

GNEFrame::GNEFrame ( const GNEFrame )
private

Invalidated copy constructor.

Member Function Documentation

◆ focusUpperElement()

void GNEFrame::focusUpperElement ( )

◆ getFrameHeaderFont()

FXFont * GNEFrame::getFrameHeaderFont ( ) const

get font of the header's frame

Definition at line 135 of file GNEFrame.cpp.

References myFrameHeaderFont.

◆ getFrameHeaderLabel()

FXLabel * GNEFrame::getFrameHeaderLabel ( ) const

get the label for the frame's header

Definition at line 129 of file GNEFrame.cpp.

References myFrameHeaderLabel.

Referenced by GNEInspectorFrame::inspectMultisection().

◆ getViewNet()

◆ hide()

◆ operator=()

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

Invalidated assignment operator.

◆ setFrameWidth()

void GNEFrame::setFrameWidth ( int  width)

set width of GNEFrame

Definition at line 116 of file GNEFrame.cpp.

References myScrollWindowsContents.

◆ show()

Field Documentation

◆ myContentFrame

FXVerticalFrame* GNEFrame::myContentFrame
protected

Vertical frame that holds all widgets of frame.

Definition at line 104 of file GNEFrame.h.

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

◆ myFrameHeaderFont

FXFont* GNEFrame::myFrameHeaderFont
protected

Font for the Header.

Definition at line 98 of file GNEFrame.h.

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

◆ myFrameHeaderLabel

FXLabel* GNEFrame::myFrameHeaderLabel
protected

the label for the frame's header

Definition at line 101 of file GNEFrame.h.

Referenced by focusUpperElement(), getFrameHeaderLabel(), GNEFrame(), and GNESelectorFrame::selectionUpdated().

◆ myHeaderFrame

FXHorizontalFrame* GNEFrame::myHeaderFrame
protected

fame for header elements

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

Referenced by GNEFrame().

◆ myScrollWindowsContents

FXScrollWindow* GNEFrame::myScrollWindowsContents
private

scroll windows that holds the content frame

Definition at line 117 of file GNEFrame.h.

Referenced by GNEFrame(), and setFrameWidth().

◆ myViewNet

GNEViewNet* GNEFrame::myViewNet
protected

the window to inform when the tls is modfied

Definition at line 95 of file GNEFrame.h.

Referenced by GNEAdditionalFrame::addAdditional(), GNETLSEditorFrame::buildIinternalLanes(), 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::onCmdCenterItem(), GNEInspectorFrame::onCmdCenterItem(), GNESelectorFrame::onCmdClear(), GNEConnectorFrame::onCmdClearSelectedConnections(), GNEInspectorFrame::onCmdCopyTemplate(), GNECrossingFrame::onCmdCreateCrossing(), GNETLSEditorFrame::onCmdDefCreate(), GNETLSEditorFrame::onCmdDefDelete(), GNETLSEditorFrame::onCmdDefSwitch(), GNEInspectorFrame::onCmdDeleteItem(), GNEInspectorFrame::onCmdGoBack(), GNEDeleteFrame::onCmdInspectItem(), GNESelectorFrame::onCmdInvert(), GNESelectorFrame::onCmdLoad(), GNEConnectorFrame::onCmdOK(), GNETLSEditorFrame::onCmdOK(), GNETLSEditorFrame::onCmdPhaseSwitch(), GNEConnectorFrame::onCmdResetSelectedConnections(), GNESelectorFrame::onCmdSave(), GNESelectorFrame::onCmdScaleSelection(), GNEConnectorFrame::onCmdSelectConflicts(), GNEConnectorFrame::onCmdSelectDeadEnds(), GNEConnectorFrame::onCmdSelectDeadStarts(), GNEConnectorFrame::onCmdSelectPass(), GNEAdditionalFrame::removeAdditional(), GNEDeleteFrame::removeAttributeCarrier(), and show().


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