Eclipse SUMO - Simulation of Urban MObility
GNESelectorFrame::MatchAttribute Class Reference

#include <GNESelectorFrame.h>

Inheritance diagram for GNESelectorFrame::MatchAttribute:
Collaboration diagram for GNESelectorFrame::MatchAttribute:

Public Member Functions

void disableMatchAttribute ()
 disable match attributes More...
 
void enableMatchAttribute ()
 enable match attributes More...
 
 MatchAttribute (GNESelectorFrame *selectorFrameParent)
 FOX-declaration. More...
 
 ~MatchAttribute ()
 destructor More...
 
FOX-callbacks
long onCmdSelMBTag (FXObject *, FXSelector, void *)
 Called when the user selectes a tag in the match box. More...
 
long onCmdSelMBAttribute (FXObject *, FXSelector, void *)
 Called when the user selectes a tag in the match box. More...
 
long onCmdSelMBString (FXObject *, FXSelector, void *)
 Called when the user enters a new selection expression. More...
 
long onCmdHelp (FXObject *, FXSelector, void *)
 Called when the user clicks the help button. More...
 

Protected Member Functions

 MatchAttribute ()
 FOX needs this. More...
 

Private Attributes

SumoXMLAttr myCurrentAttribute
 current SumoXMLTag Attribute More...
 
SumoXMLTag myCurrentTag
 current SumoXMLTag tag More...
 
FXComboBox * myMatchAttrComboBox
 attributes of the match box More...
 
FXTextField * myMatchString
 string of the match More...
 
FXComboBox * myMatchTagComboBox
 tag of the match box More...
 
GNESelectorFramemySelectorFrameParent
 pointer to Selector Frame Parent More...
 

Detailed Description

Definition at line 233 of file GNESelectorFrame.h.

Constructor & Destructor Documentation

◆ MatchAttribute() [1/2]

◆ ~MatchAttribute()

GNESelectorFrame::MatchAttribute::~MatchAttribute ( )

destructor

Definition at line 832 of file GNESelectorFrame.cpp.

◆ MatchAttribute() [2/2]

GNESelectorFrame::MatchAttribute::MatchAttribute ( )
inlineprotected

FOX needs this.

Definition at line 277 of file GNESelectorFrame.h.

Member Function Documentation

◆ disableMatchAttribute()

void GNESelectorFrame::MatchAttribute::disableMatchAttribute ( )

disable match attributes

Definition at line 869 of file GNESelectorFrame.cpp.

◆ enableMatchAttribute()

◆ onCmdHelp()

long GNESelectorFrame::MatchAttribute::onCmdHelp ( FXObject *  ,
FXSelector  ,
void *   
)

◆ onCmdSelMBAttribute()

long GNESelectorFrame::MatchAttribute::onCmdSelMBAttribute ( FXObject *  ,
FXSelector  ,
void *   
)

Called when the user selectes a tag in the match box.

Note
updates the attr listbox and repaints itself

Definition at line 950 of file GNESelectorFrame.cpp.

References GNEAttributeCarrier::getTagProperties(), GNE_ATTR_BLOCK_MOVEMENT, GNE_ATTR_BLOCK_SHAPE, GNE_ATTR_CLOSE_SHAPE, GNE_ATTR_GENERIC, GNE_ATTR_PARENT, and SUMO_ATTR_NOTHING.

◆ onCmdSelMBString()

long GNESelectorFrame::MatchAttribute::onCmdSelMBString ( FXObject *  ,
FXSelector  ,
void *   
)

Called when the user enters a new selection expression.

Note
validates expression and modifies current selection

Definition at line 1016 of file GNESelectorFrame.cpp.

References GNEAttributeCarrier::getTagProperties().

◆ onCmdSelMBTag()

Field Documentation

◆ myCurrentAttribute

SumoXMLAttr GNESelectorFrame::MatchAttribute::myCurrentAttribute
private

current SumoXMLTag Attribute

Definition at line 293 of file GNESelectorFrame.h.

Referenced by MatchAttribute().

◆ myCurrentTag

SumoXMLTag GNESelectorFrame::MatchAttribute::myCurrentTag
private

current SumoXMLTag tag

Definition at line 290 of file GNESelectorFrame.h.

◆ myMatchAttrComboBox

FXComboBox* GNESelectorFrame::MatchAttribute::myMatchAttrComboBox
private

attributes of the match box

Definition at line 287 of file GNESelectorFrame.h.

Referenced by MatchAttribute().

◆ myMatchString

FXTextField* GNESelectorFrame::MatchAttribute::myMatchString
private

string of the match

Definition at line 296 of file GNESelectorFrame.h.

Referenced by MatchAttribute().

◆ myMatchTagComboBox

FXComboBox* GNESelectorFrame::MatchAttribute::myMatchTagComboBox
private

tag of the match box

Definition at line 284 of file GNESelectorFrame.h.

Referenced by MatchAttribute().

◆ mySelectorFrameParent

GNESelectorFrame* GNESelectorFrame::MatchAttribute::mySelectorFrameParent
private

pointer to Selector Frame Parent

Definition at line 281 of file GNESelectorFrame.h.


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