SUMO - Simulation of Urban MObility
GNEInspectorFrame::AttributeInput Class Reference

FOX-declaration. More...

#include <GNEInspectorFrame.h>

Inheritance diagram for GNEInspectorFrame::AttributeInput:
Inheritance graph
Collaboration diagram for GNEInspectorFrame::AttributeInput:
Collaboration graph

Public Member Functions

 AttributeInput (FXComposite *parent, GNEInspectorFrame *inspectorFrameParent)
 FOX-declaration. More...
 
SumoXMLAttr getAttr () const
 get current Attr More...
 
SumoXMLTag getTag () const
 get current tag More...
 
void hideAttribute ()
 show attribute More...
 
long onCmdOpenAllowDisallowEditor (FXObject *, FXSelector, void *)
 open model dialog for more comfortable attribute editing More...
 
long onCmdSetAttribute (FXObject *, FXSelector, void *)
 try to set new attribute value More...
 
void showAttribute (SumoXMLTag tag, SumoXMLAttr attr, const std::string &value)
 show attribute of ac More...
 

Protected Member Functions

 AttributeInput ()
 FOX needs this. More...
 

Private Member Functions

void hide ()
 set hide as private function More...
 
void show ()
 set show as private function More...
 

Private Attributes

SumoXMLAttr myAttr
 current Attr More...
 
FXCheckButton * myBoolCheckButton
 pointer to menu check More...
 
FXButton * myButtonCombinableChoices
 pointer to buttonCombinableChoices More...
 
FXComboBox * myChoicesCombo
 pointer to combo box choices More...
 
GNEInspectorFramemyInspectorFrameParent
 pointer to GNEInspectorFrame parent More...
 
FXLabel * myLabel
 pointer to label More...
 
SumoXMLTag myTag
 current tag More...
 
FXTextField * myTextFieldInt
 textField to modify the value of int attributes More...
 
FXTextField * myTextFieldReal
 textField to modify the value of real/Time attributes More...
 
FXTextField * myTextFieldStrings
 textField to modify the value of string attributes More...
 

Detailed Description

FOX-declaration.

Definition at line 59 of file GNEInspectorFrame.h.

Constructor & Destructor Documentation

◆ AttributeInput() [1/2]

◆ AttributeInput() [2/2]

GNEInspectorFrame::AttributeInput::AttributeInput ( )
inlineprotected

FOX needs this.

Definition at line 87 of file GNEInspectorFrame.h.

Member Function Documentation

◆ getAttr()

SumoXMLAttr GNEInspectorFrame::AttributeInput::getAttr ( ) const

get current Attr

Definition at line 840 of file GNEInspectorFrame.cpp.

References myAttr.

◆ getTag()

SumoXMLTag GNEInspectorFrame::AttributeInput::getTag ( ) const

get current tag

Definition at line 834 of file GNEInspectorFrame.cpp.

References myTag.

◆ hide()

void GNEInspectorFrame::AttributeInput::hide ( )
private

set hide as private function

Definition at line 988 of file GNEInspectorFrame.cpp.

Referenced by hideAttribute().

◆ hideAttribute()

void GNEInspectorFrame::AttributeInput::hideAttribute ( )

◆ onCmdOpenAllowDisallowEditor()

long GNEInspectorFrame::AttributeInput::onCmdOpenAllowDisallowEditor ( FXObject *  ,
FXSelector  ,
void *   
)

open model dialog for more comfortable attribute editing

Definition at line 846 of file GNEInspectorFrame.cpp.

References getVehicleClassNames(), myAttr, myTextFieldStrings, onCmdSetAttribute(), parseVehicleClasses(), SUMO_ATTR_DISALLOW, and SVCAll.

◆ onCmdSetAttribute()

◆ show()

void GNEInspectorFrame::AttributeInput::show ( )
private

set show as private function

Definition at line 982 of file GNEInspectorFrame.cpp.

Referenced by showAttribute().

◆ showAttribute()

Field Documentation

◆ myAttr

SumoXMLAttr GNEInspectorFrame::AttributeInput::myAttr
private

current Attr

Definition at line 97 of file GNEInspectorFrame.h.

Referenced by getAttr(), onCmdOpenAllowDisallowEditor(), onCmdSetAttribute(), and showAttribute().

◆ myBoolCheckButton

FXCheckButton* GNEInspectorFrame::AttributeInput::myBoolCheckButton
private

pointer to menu check

Definition at line 115 of file GNEInspectorFrame.h.

Referenced by AttributeInput(), hideAttribute(), onCmdSetAttribute(), and showAttribute().

◆ myButtonCombinableChoices

FXButton* GNEInspectorFrame::AttributeInput::myButtonCombinableChoices
private

pointer to buttonCombinableChoices

Definition at line 118 of file GNEInspectorFrame.h.

Referenced by AttributeInput(), hideAttribute(), and showAttribute().

◆ myChoicesCombo

FXComboBox* GNEInspectorFrame::AttributeInput::myChoicesCombo
private

pointer to combo box choices

Definition at line 112 of file GNEInspectorFrame.h.

Referenced by AttributeInput(), hideAttribute(), onCmdSetAttribute(), and showAttribute().

◆ myInspectorFrameParent

GNEInspectorFrame* GNEInspectorFrame::AttributeInput::myInspectorFrameParent
private

pointer to GNEInspectorFrame parent

Definition at line 91 of file GNEInspectorFrame.h.

Referenced by onCmdSetAttribute().

◆ myLabel

FXLabel* GNEInspectorFrame::AttributeInput::myLabel
private

pointer to label

Definition at line 100 of file GNEInspectorFrame.h.

Referenced by AttributeInput(), hideAttribute(), and showAttribute().

◆ myTag

SumoXMLTag GNEInspectorFrame::AttributeInput::myTag
private

current tag

Definition at line 94 of file GNEInspectorFrame.h.

Referenced by getTag(), onCmdSetAttribute(), and showAttribute().

◆ myTextFieldInt

FXTextField* GNEInspectorFrame::AttributeInput::myTextFieldInt
private

textField to modify the value of int attributes

Definition at line 103 of file GNEInspectorFrame.h.

Referenced by AttributeInput(), hideAttribute(), onCmdSetAttribute(), and showAttribute().

◆ myTextFieldReal

FXTextField* GNEInspectorFrame::AttributeInput::myTextFieldReal
private

textField to modify the value of real/Time attributes

Definition at line 106 of file GNEInspectorFrame.h.

Referenced by AttributeInput(), hideAttribute(), onCmdSetAttribute(), and showAttribute().

◆ myTextFieldStrings

FXTextField* GNEInspectorFrame::AttributeInput::myTextFieldStrings
private

textField to modify the value of string attributes

Definition at line 109 of file GNEInspectorFrame.h.

Referenced by AttributeInput(), hideAttribute(), onCmdOpenAllowDisallowEditor(), onCmdSetAttribute(), and showAttribute().


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