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 hiddeAttribute ()
 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 60 of file GNEInspectorFrame.h.

Constructor & Destructor Documentation

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

FOX needs this.

Definition at line 88 of file GNEInspectorFrame.h.

Member Function Documentation

SumoXMLAttr GNEInspectorFrame::AttrInput::getAttr ( ) const

get current Attr

Definition at line 440 of file GNEInspectorFrame.cpp.

References myAttr.

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

SumoXMLTag GNEInspectorFrame::AttrInput::getTag ( ) const

get current tag

Definition at line 434 of file GNEInspectorFrame.cpp.

References myTag.

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

void GNEInspectorFrame::AttrInput::hiddeAttribute ( )
void GNEInspectorFrame::AttrInput::hide ( )
private

set hide as private function

Definition at line 534 of file GNEInspectorFrame.cpp.

Referenced by hiddeAttribute().

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

open model dialog for more comfortable attribute editing

Definition at line 446 of file GNEInspectorFrame.cpp.

References myTextFieldStrings.

void GNEInspectorFrame::AttrInput::show ( )
private

set show as private function

Definition at line 528 of file GNEInspectorFrame.cpp.

Referenced by showAttribute().

Field Documentation

SumoXMLAttr GNEInspectorFrame::AttrInput::myAttr
private

current Attr

Definition at line 98 of file GNEInspectorFrame.h.

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

FXButton* GNEInspectorFrame::AttrInput::myButtonCombinableChoices
private

pointer to buttonCombinableChoices

Definition at line 119 of file GNEInspectorFrame.h.

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

FXCheckButton* GNEInspectorFrame::AttrInput::myCheckBox
private

pointer to checkBox

Definition at line 116 of file GNEInspectorFrame.h.

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

FXComboBox* GNEInspectorFrame::AttrInput::myChoicesCombo
private

pointer to combo box choices

Definition at line 113 of file GNEInspectorFrame.h.

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

GNEInspectorFrame* GNEInspectorFrame::AttrInput::myInspectorFrameParent
private

pointer to GNEInspectorFrame parent

Definition at line 92 of file GNEInspectorFrame.h.

Referenced by onCmdSetAttribute().

FXLabel* GNEInspectorFrame::AttrInput::myLabel
private

pointer to label

Definition at line 101 of file GNEInspectorFrame.h.

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

SumoXMLTag GNEInspectorFrame::AttrInput::myTag
private

current tag

Definition at line 95 of file GNEInspectorFrame.h.

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

FXTextField* GNEInspectorFrame::AttrInput::myTextFieldInt
private

textField to modify the value of int values

Definition at line 104 of file GNEInspectorFrame.h.

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

FXTextField* GNEInspectorFrame::AttrInput::myTextFieldReal
private

textField to modify the value of real values

Definition at line 107 of file GNEInspectorFrame.h.

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

FXTextField* GNEInspectorFrame::AttrInput::myTextFieldStrings
private

textField to modify the value of strings values

Definition at line 110 of file GNEInspectorFrame.h.

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


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