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...
 

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 229 of file GNESelectorFrame.h.

Constructor & Destructor Documentation

◆ MatchAttribute()

◆ ~MatchAttribute()

GNESelectorFrame::MatchAttribute::~MatchAttribute ( )

destructor

Definition at line 831 of file GNESelectorFrame.cpp.

Member Function Documentation

◆ disableMatchAttribute()

void GNESelectorFrame::MatchAttribute::disableMatchAttribute ( )

disable match attributes

Definition at line 868 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 954 of file GNESelectorFrame.cpp.

References GNEAttributeCarrier::getTagProperties(), GNE_ATTR_BLOCK_MOVEMENT, GNE_ATTR_BLOCK_SHAPE, GNE_ATTR_CLOSE_SHAPE, GNE_ATTR_PARAMETERS, 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 1020 of file GNESelectorFrame.cpp.

References GNEAttributeCarrier::getTagProperties().

◆ onCmdSelMBTag()

Field Documentation

◆ myCurrentAttribute

SumoXMLAttr GNESelectorFrame::MatchAttribute::myCurrentAttribute
private

current SumoXMLTag Attribute

Definition at line 288 of file GNESelectorFrame.h.

Referenced by MatchAttribute().

◆ myCurrentTag

SumoXMLTag GNESelectorFrame::MatchAttribute::myCurrentTag
private

current SumoXMLTag tag

Definition at line 285 of file GNESelectorFrame.h.

◆ myMatchAttrComboBox

FXComboBox* GNESelectorFrame::MatchAttribute::myMatchAttrComboBox
private

attributes of the match box

Definition at line 282 of file GNESelectorFrame.h.

Referenced by MatchAttribute().

◆ myMatchString

FXTextField* GNESelectorFrame::MatchAttribute::myMatchString
private

string of the match

Definition at line 291 of file GNESelectorFrame.h.

Referenced by MatchAttribute().

◆ myMatchTagComboBox

FXComboBox* GNESelectorFrame::MatchAttribute::myMatchTagComboBox
private

tag of the match box

Definition at line 279 of file GNESelectorFrame.h.

Referenced by MatchAttribute().

◆ mySelectorFrameParent

GNESelectorFrame* GNESelectorFrame::MatchAttribute::mySelectorFrameParent
private

pointer to Selector Frame Parent

Definition at line 276 of file GNESelectorFrame.h.


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