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 hide ()
 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 (FXComposite *parent)
 FOX-declaration. More...
 
void show (bool shapeEditing)
 show NeteditAttributes More...
 
 ~NeteditAttributes ()
 destructor More...
 
FOX-callbacks

Called when user changes the checkbox "set blocking movement"

long onCmdSetBlockMovement (FXObject *, FXSelector, void *)
 
long onCmdSetBlockShape (FXObject *, FXSelector, void *)
 Called when user changes the checkbox "set blocking shape". More...
 
long onCmdsetClosingClosing (FXObject *, FXSelector, void *)
 Called when the user change checkbox for open/closed polygon. 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 233 of file GNEPolygonFrame.h.

Constructor & Destructor Documentation

GNEPolygonFrame::NeteditAttributes::~NeteditAttributes ( )

destructor

Definition at line 963 of file GNEPolygonFrame.cpp.

GNEPolygonFrame::NeteditAttributes::NeteditAttributes ( )
inlineprotected

FOX needs this.

Definition at line 273 of file GNEPolygonFrame.h.

Member Function Documentation

void GNEPolygonFrame::NeteditAttributes::hide ( )

hide NeteditAttributes

Definition at line 981 of file GNEPolygonFrame.cpp.

Referenced by GNEPolygonFrame::onCmdSelectShape().

bool GNEPolygonFrame::NeteditAttributes::isBlockMovementEnabled ( ) const

check if block movement is enabled

Definition at line 987 of file GNEPolygonFrame.cpp.

References myBlockMovementCheckButton.

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

bool GNEPolygonFrame::NeteditAttributes::isBlockShapeEnabled ( ) const

check if block shape is enabled

Definition at line 993 of file GNEPolygonFrame.cpp.

References myBlockShapeCheckButton.

Referenced by GNEPolygonFrame::buildPoly().

bool GNEPolygonFrame::NeteditAttributes::isCloseShapeEnabled ( ) const

check if clse shape is enabled

Definition at line 999 of file GNEPolygonFrame.cpp.

References myClosePolygonCheckButton.

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

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

Definition at line 1005 of file GNEPolygonFrame.cpp.

References myBlockMovementCheckButton.

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

Called when user changes the checkbox "set blocking shape".

Definition at line 1016 of file GNEPolygonFrame.cpp.

References myBlockShapeCheckButton.

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

Called when the user change checkbox for open/closed polygon.

Definition at line 1027 of file GNEPolygonFrame.cpp.

References myClosePolygonCheckButton.

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

Field Documentation

FXCheckButton* GNEPolygonFrame::NeteditAttributes::myBlockMovementCheckButton
private

checkBox for block movement

Definition at line 280 of file GNEPolygonFrame.h.

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

FXLabel* GNEPolygonFrame::NeteditAttributes::myBlockMovementLabel
private

Label for block movement.

Definition at line 277 of file GNEPolygonFrame.h.

Referenced by NeteditAttributes().

FXCheckButton* GNEPolygonFrame::NeteditAttributes::myBlockShapeCheckButton
private

checkBox for block shape

Definition at line 289 of file GNEPolygonFrame.h.

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

FXHorizontalFrame* GNEPolygonFrame::NeteditAttributes::myBlockShapeFrame
private

frame for Block shape

Definition at line 283 of file GNEPolygonFrame.h.

Referenced by NeteditAttributes(), and show().

FXLabel* GNEPolygonFrame::NeteditAttributes::myBlockShapeLabel
private

Label for block shape.

Definition at line 286 of file GNEPolygonFrame.h.

Referenced by NeteditAttributes().

FXCheckButton* GNEPolygonFrame::NeteditAttributes::myClosePolygonCheckButton
private

checkbox to enable/disable closing polygon

Definition at line 298 of file GNEPolygonFrame.h.

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

FXHorizontalFrame* GNEPolygonFrame::NeteditAttributes::myClosePolygonFrame
private

Frame for open/close polygon.

Definition at line 292 of file GNEPolygonFrame.h.

Referenced by NeteditAttributes(), and show().

FXLabel* GNEPolygonFrame::NeteditAttributes::myClosePolygonLabel
private

Label for open/close polygon.

Definition at line 295 of file GNEPolygonFrame.h.

Referenced by NeteditAttributes().


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