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

FOX-declaration. More...

#include <GNEInspectorFrame.h>

Inheritance diagram for GNEInspectorFrame::AttrInput:
Inheritance graph
Collaboration diagram for GNEInspectorFrame::AttrInput:
Collaboration graph

Public Member Functions

 AttrInput (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 onCmdOpenAttributeEditor (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 More...
 

Protected Member Functions

 AttrInput ()
 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...
 
FXButton * myButtonCombinableChoices
 pointer to buttonCombinableChoices More...
 
FXCheckButton * myCheckBox
 pointer to checkBox 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 values More...
 
FXTextField * myTextFieldReal
 textField to modify the value of real values More...
 
FXTextField * myTextFieldStrings
 textField to modify the value of strings values More...
 

Detailed Description

FOX-declaration.

Definition at line 61 of file GNEInspectorFrame.h.

Constructor & Destructor Documentation

§ AttrInput() [1/2]

GNEInspectorFrame::AttrInput::AttrInput ( FXComposite *  parent,
GNEInspectorFrame inspectorFrameParent 
)

§ AttrInput() [2/2]

GNEInspectorFrame::AttrInput::AttrInput ( )
inlineprotected

FOX needs this.

Definition at line 89 of file GNEInspectorFrame.h.

Member Function Documentation

§ getAttr()

SumoXMLAttr GNEInspectorFrame::AttrInput::getAttr ( ) const

get current Attr

Definition at line 530 of file GNEInspectorFrame.cpp.

References myAttr.

Referenced by GNEInspectorFrame::AttrEditor::AttrEditor(), and GNEInspectorFrame::AttrEditor::onCmdReset().

§ getTag()

SumoXMLTag GNEInspectorFrame::AttrInput::getTag ( ) const

get current tag

Definition at line 524 of file GNEInspectorFrame.cpp.

References myTag.

Referenced by GNEInspectorFrame::AttrEditor::AttrEditor(), and GNEInspectorFrame::AttrEditor::onCmdReset().

§ hide()

void GNEInspectorFrame::AttrInput::hide ( )
private

set hide as private function

Definition at line 624 of file GNEInspectorFrame.cpp.

Referenced by hideAttribute().

§ hideAttribute()

void GNEInspectorFrame::AttrInput::hideAttribute ( )

§ onCmdOpenAttributeEditor()

long GNEInspectorFrame::AttrInput::onCmdOpenAttributeEditor ( FXObject *  ,
FXSelector  ,
void *   
)

open model dialog for more comfortable attribute editing

Definition at line 536 of file GNEInspectorFrame.cpp.

References myTextFieldStrings.

§ onCmdSetAttribute()

§ show()

void GNEInspectorFrame::AttrInput::show ( )
private

set show as private function

Definition at line 618 of file GNEInspectorFrame.cpp.

Referenced by showAttribute().

§ showAttribute()

Field Documentation

§ myAttr

SumoXMLAttr GNEInspectorFrame::AttrInput::myAttr
private

current Attr

Definition at line 99 of file GNEInspectorFrame.h.

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

§ myButtonCombinableChoices

FXButton* GNEInspectorFrame::AttrInput::myButtonCombinableChoices
private

pointer to buttonCombinableChoices

Definition at line 120 of file GNEInspectorFrame.h.

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

§ myCheckBox

FXCheckButton* GNEInspectorFrame::AttrInput::myCheckBox
private

pointer to checkBox

Definition at line 117 of file GNEInspectorFrame.h.

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

§ myChoicesCombo

FXComboBox* GNEInspectorFrame::AttrInput::myChoicesCombo
private

pointer to combo box choices

Definition at line 114 of file GNEInspectorFrame.h.

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

§ myInspectorFrameParent

GNEInspectorFrame* GNEInspectorFrame::AttrInput::myInspectorFrameParent
private

pointer to GNEInspectorFrame parent

Definition at line 93 of file GNEInspectorFrame.h.

Referenced by onCmdSetAttribute().

§ myLabel

FXLabel* GNEInspectorFrame::AttrInput::myLabel
private

pointer to label

Definition at line 102 of file GNEInspectorFrame.h.

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

§ myTag

SumoXMLTag GNEInspectorFrame::AttrInput::myTag
private

current tag

Definition at line 96 of file GNEInspectorFrame.h.

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

§ myTextFieldInt

FXTextField* GNEInspectorFrame::AttrInput::myTextFieldInt
private

textField to modify the value of int values

Definition at line 105 of file GNEInspectorFrame.h.

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

§ myTextFieldReal

FXTextField* GNEInspectorFrame::AttrInput::myTextFieldReal
private

textField to modify the value of real values

Definition at line 108 of file GNEInspectorFrame.h.

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

§ myTextFieldStrings

FXTextField* GNEInspectorFrame::AttrInput::myTextFieldStrings
private

textField to modify the value of strings values

Definition at line 111 of file GNEInspectorFrame.h.

Referenced by AttrInput(), hideAttribute(), onCmdOpenAttributeEditor(), onCmdSetAttribute(), and showAttribute().


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