SUMO - Simulation of Urban MObility
GNEPolygonFrame::NeteditAttributes Class Reference

#include <GNEPolygonFrame.h>

Inheritance diagram for GNEPolygonFrame::NeteditAttributes:
Inheritance graph
Collaboration diagram for GNEPolygonFrame::NeteditAttributes:
Collaboration graph

Public Member Functions

void hideNeteditAttributes ()
 hide NeteditAttributes More...
 
bool isBlockMovementEnabled () const
 check if block movement is enabled More...
 
bool isBlockShapeEnabled () const
 check if block shape is enabled More...
 
bool isCloseShapeEnabled () const
 check if clse shape is enabled More...
 
 NeteditAttributes (GNEPolygonFrame *polygonFrameParent)
 FOX-declaration. More...
 
void showNeteditAttributes (bool shapeEditing)
 show NeteditAttributes More...
 
 ~NeteditAttributes ()
 destructor More...
 
FOX-callbacks

Called when user changes the checkbox "set blocking movement"

long onCmdSetNeteditAttribute (FXObject *, FXSelector, void *)
 
long onCmdHelp (FXObject *, FXSelector, void *)
 Called when help button is pressed. More...
 

Protected Member Functions

 NeteditAttributes ()
 FOX needs this. More...
 

Private Attributes

FXCheckButton * myBlockMovementCheckButton
 checkBox for block movement More...
 
FXLabel * myBlockMovementLabel
 Label for block movement. More...
 
FXCheckButton * myBlockShapeCheckButton
 checkBox for block shape More...
 
FXHorizontalFrame * myBlockShapeFrame
 frame for Block shape More...
 
FXLabel * myBlockShapeLabel
 Label for block shape. More...
 
FXCheckButton * myClosePolygonCheckButton
 checkbox to enable/disable closing polygon More...
 
FXHorizontalFrame * myClosePolygonFrame
 Frame for open/close polygon. More...
 
FXLabel * myClosePolygonLabel
 Label for open/close polygon. More...
 

Detailed Description

Definition at line 241 of file GNEPolygonFrame.h.

Constructor & Destructor Documentation

◆ NeteditAttributes() [1/2]

◆ ~NeteditAttributes()

GNEPolygonFrame::NeteditAttributes::~NeteditAttributes ( )

destructor

Definition at line 552 of file GNEPolygonFrame.cpp.

◆ NeteditAttributes() [2/2]

GNEPolygonFrame::NeteditAttributes::NeteditAttributes ( )
inlineprotected

FOX needs this.

Definition at line 278 of file GNEPolygonFrame.h.

Member Function Documentation

◆ hideNeteditAttributes()

void GNEPolygonFrame::NeteditAttributes::hideNeteditAttributes ( )

◆ isBlockMovementEnabled()

bool GNEPolygonFrame::NeteditAttributes::isBlockMovementEnabled ( ) const

check if block movement is enabled

Definition at line 576 of file GNEPolygonFrame.cpp.

References myBlockMovementCheckButton.

Referenced by GNEPolygonFrame::buildPoly(), and GNEPolygonFrame::processClick().

◆ isBlockShapeEnabled()

bool GNEPolygonFrame::NeteditAttributes::isBlockShapeEnabled ( ) const

check if block shape is enabled

Definition at line 582 of file GNEPolygonFrame.cpp.

References myBlockShapeCheckButton.

Referenced by GNEPolygonFrame::buildPoly().

◆ isCloseShapeEnabled()

bool GNEPolygonFrame::NeteditAttributes::isCloseShapeEnabled ( ) const

check if clse shape is enabled

Definition at line 588 of file GNEPolygonFrame.cpp.

References myClosePolygonCheckButton.

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

◆ onCmdHelp()

long GNEPolygonFrame::NeteditAttributes::onCmdHelp ( FXObject *  ,
FXSelector  ,
void *   
)

Called when help button is pressed.

Finish + toString(currentTag)

Finish + toString(currentTag)

Definition at line 619 of file GNEPolygonFrame.cpp.

References GUIIconSubSys::getIcon(), GUIDesignAuxiliarHorizontalFrame, GUIDesignButtonOK, GUIDesignDialogBox, GUIDesignHorizontalSeparator, GUIDesignLabelFrameInformation, ICON_ACCEPT, ICON_MODEPOLYGON, and WRITE_DEBUG.

◆ onCmdSetNeteditAttribute()

long GNEPolygonFrame::NeteditAttributes::onCmdSetNeteditAttribute ( FXObject *  obj,
FXSelector  ,
void *   
)

◆ showNeteditAttributes()

void GNEPolygonFrame::NeteditAttributes::showNeteditAttributes ( bool  shapeEditing)

Field Documentation

◆ myBlockMovementCheckButton

FXCheckButton* GNEPolygonFrame::NeteditAttributes::myBlockMovementCheckButton
private

checkBox for block movement

Definition at line 285 of file GNEPolygonFrame.h.

Referenced by isBlockMovementEnabled(), NeteditAttributes(), and onCmdSetNeteditAttribute().

◆ myBlockMovementLabel

FXLabel* GNEPolygonFrame::NeteditAttributes::myBlockMovementLabel
private

Label for block movement.

Definition at line 282 of file GNEPolygonFrame.h.

Referenced by NeteditAttributes().

◆ myBlockShapeCheckButton

FXCheckButton* GNEPolygonFrame::NeteditAttributes::myBlockShapeCheckButton
private

checkBox for block shape

Definition at line 294 of file GNEPolygonFrame.h.

Referenced by isBlockShapeEnabled(), NeteditAttributes(), and onCmdSetNeteditAttribute().

◆ myBlockShapeFrame

FXHorizontalFrame* GNEPolygonFrame::NeteditAttributes::myBlockShapeFrame
private

frame for Block shape

Definition at line 288 of file GNEPolygonFrame.h.

Referenced by NeteditAttributes(), and showNeteditAttributes().

◆ myBlockShapeLabel

FXLabel* GNEPolygonFrame::NeteditAttributes::myBlockShapeLabel
private

Label for block shape.

Definition at line 291 of file GNEPolygonFrame.h.

Referenced by NeteditAttributes().

◆ myClosePolygonCheckButton

FXCheckButton* GNEPolygonFrame::NeteditAttributes::myClosePolygonCheckButton
private

checkbox to enable/disable closing polygon

Definition at line 303 of file GNEPolygonFrame.h.

Referenced by isCloseShapeEnabled(), NeteditAttributes(), and onCmdSetNeteditAttribute().

◆ myClosePolygonFrame

FXHorizontalFrame* GNEPolygonFrame::NeteditAttributes::myClosePolygonFrame
private

Frame for open/close polygon.

Definition at line 297 of file GNEPolygonFrame.h.

Referenced by NeteditAttributes(), and showNeteditAttributes().

◆ myClosePolygonLabel

FXLabel* GNEPolygonFrame::NeteditAttributes::myClosePolygonLabel
private

Label for open/close polygon.

Definition at line 300 of file GNEPolygonFrame.h.

Referenced by NeteditAttributes().


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