SUMO - Simulation of Urban MObility
GNEAdditionalFrame::SelectorParentLanes Class Reference

#include <GNEAdditionalFrame.h>

Inheritance diagram for GNEAdditionalFrame::SelectorParentLanes:
Inheritance graph
Collaboration diagram for GNEAdditionalFrame::SelectorParentLanes:
Collaboration graph

Public Member Functions

std::string getIdsSelected () const
 get list of selecte id's in string format More...
 
void hideList ()
 hide SelectorParentLanes More...
 
bool isUseSelectedLanesEnable () const
 get status of checkBox UseSelectedLanes More...
 
 SelectorParentLanes (GNEAdditionalFrame *additionalFrameParent)
 FOX-declaration. More...
 
void showList (std::string search="")
 Show list of SelectorParentLanes. More...
 
void updateUseSelectedLanes ()
 
 ~SelectorParentLanes ()
 destructor More...
 
FOX-callbacks

called when user trigger checkBox of useSelectedLanes

long onCmdUseSelectedLanes (FXObject *, FXSelector, void *)
 
long onCmdTypeInSearchBox (FXObject *, FXSelector, void *)
 called when user type in search box More...
 
long onCmdSelectLane (FXObject *, FXSelector, void *)
 called when user select a lane of the list More...
 
long onCmdClearSelection (FXObject *, FXSelector, void *)
 called when clear selection button is pressed More...
 
long onCmdInvertSelection (FXObject *, FXSelector, void *)
 called when invert selection button is pressed More...
 

Protected Member Functions

 SelectorParentLanes ()
 FOX needs this. More...
 

Private Attributes

FXButton * clearLanesSelection
 button for clear selection More...
 
FXButton * invertLanesSelection
 button for invert selection More...
 
GNEAdditionalFrame * myAdditionalFrameParent
 pointer to additional frame parent More...
 
FXTextField * myLanesSearch
 text field for search lane IDs More...
 
FXList * myList
 List of SelectorParentLanes. More...
 
FXCheckButton * myUseSelectedLanesCheckButton
 CheckBox for selected lanes. More...
 

Detailed Description

Definition at line 431 of file GNEAdditionalFrame.h.

Constructor & Destructor Documentation

◆ SelectorParentLanes() [1/2]

◆ ~SelectorParentLanes()

GNEAdditionalFrame::SelectorParentLanes::~SelectorParentLanes ( )

destructor

Definition at line 1011 of file GNEAdditionalFrame.cpp.

◆ SelectorParentLanes() [2/2]

GNEAdditionalFrame::SelectorParentLanes::SelectorParentLanes ( )
inlineprotected

FOX needs this.

Definition at line 477 of file GNEAdditionalFrame.h.

Member Function Documentation

◆ getIdsSelected()

std::string GNEAdditionalFrame::SelectorParentLanes::getIdsSelected ( ) const

get list of selecte id's in string format

Definition at line 1015 of file GNEAdditionalFrame.cpp.

References GNEAdditionalFrame::getIdsSelected(), and myList.

Referenced by GNEAdditionalFrame::addAdditional().

◆ hideList()

void GNEAdditionalFrame::SelectorParentLanes::hideList ( )

◆ isUseSelectedLanesEnable()

bool GNEAdditionalFrame::SelectorParentLanes::isUseSelectedLanesEnable ( ) const

get status of checkBox UseSelectedLanes

Definition at line 1054 of file GNEAdditionalFrame.cpp.

References myUseSelectedLanesCheckButton.

Referenced by GNEAdditionalFrame::addAdditional().

◆ onCmdClearSelection()

long GNEAdditionalFrame::SelectorParentLanes::onCmdClearSelection ( FXObject *  ,
FXSelector  ,
void *   
)

called when clear selection button is pressed

Definition at line 1099 of file GNEAdditionalFrame.cpp.

References myList.

Referenced by GNEAdditionalFrame::addAdditional().

◆ onCmdInvertSelection()

long GNEAdditionalFrame::SelectorParentLanes::onCmdInvertSelection ( FXObject *  ,
FXSelector  ,
void *   
)

called when invert selection button is pressed

Definition at line 1110 of file GNEAdditionalFrame.cpp.

References myList.

◆ onCmdSelectLane()

long GNEAdditionalFrame::SelectorParentLanes::onCmdSelectLane ( FXObject *  ,
FXSelector  ,
void *   
)

called when user select a lane of the list

Definition at line 1093 of file GNEAdditionalFrame.cpp.

◆ onCmdTypeInSearchBox()

long GNEAdditionalFrame::SelectorParentLanes::onCmdTypeInSearchBox ( FXObject *  ,
FXSelector  ,
void *   
)

called when user type in search box

Definition at line 1085 of file GNEAdditionalFrame.cpp.

References myLanesSearch, and showList().

◆ onCmdUseSelectedLanes()

long GNEAdditionalFrame::SelectorParentLanes::onCmdUseSelectedLanes ( FXObject *  ,
FXSelector  ,
void *   
)

◆ showList()

◆ updateUseSelectedLanes()

void GNEAdditionalFrame::SelectorParentLanes::updateUseSelectedLanes ( )

Field Documentation

◆ clearLanesSelection

FXButton* GNEAdditionalFrame::SelectorParentLanes::clearLanesSelection
private

button for clear selection

Definition at line 493 of file GNEAdditionalFrame.h.

Referenced by onCmdUseSelectedLanes(), and SelectorParentLanes().

◆ invertLanesSelection

FXButton* GNEAdditionalFrame::SelectorParentLanes::invertLanesSelection
private

button for invert selection

Definition at line 496 of file GNEAdditionalFrame.h.

Referenced by onCmdUseSelectedLanes(), and SelectorParentLanes().

◆ myAdditionalFrameParent

GNEAdditionalFrame* GNEAdditionalFrame::SelectorParentLanes::myAdditionalFrameParent
private

pointer to additional frame parent

Definition at line 481 of file GNEAdditionalFrame.h.

Referenced by showList(), and updateUseSelectedLanes().

◆ myLanesSearch

FXTextField* GNEAdditionalFrame::SelectorParentLanes::myLanesSearch
private

text field for search lane IDs

Definition at line 490 of file GNEAdditionalFrame.h.

Referenced by onCmdTypeInSearchBox(), onCmdUseSelectedLanes(), and SelectorParentLanes().

◆ myList

FXList* GNEAdditionalFrame::SelectorParentLanes::myList
private

◆ myUseSelectedLanesCheckButton

FXCheckButton* GNEAdditionalFrame::SelectorParentLanes::myUseSelectedLanesCheckButton
private

CheckBox for selected lanes.

Definition at line 484 of file GNEAdditionalFrame.h.

Referenced by isUseSelectedLanesEnable(), onCmdUseSelectedLanes(), SelectorParentLanes(), showList(), and updateUseSelectedLanes().


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