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...
 
FXMenuCheck * myCheckBox
 pointer to menu check More...
 
FXComboBox * myChoicesCombo
 pointer to combo box choices More...
 
GNEInspectorFrame * myInspectorFrameParent
 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 attributes More...
 
FXTextField * myTextFieldStrings
 textField to modify the value of string attributes More...
 
FXSpinner * myTimeSpinDial
 SpinDial to modify the value of time attributes More...
 

Detailed Description

FOX-declaration.

Definition at line 59 of file GNEInspectorFrame.h.

Constructor & Destructor Documentation

GNEInspectorFrame::AttrInput::AttrInput ( )
inlineprotected

FOX needs this.

Definition at line 87 of file GNEInspectorFrame.h.

Member Function Documentation

SumoXMLAttr GNEInspectorFrame::AttrInput::getAttr ( ) const

get current Attr

Definition at line 842 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 836 of file GNEInspectorFrame.cpp.

References myTag.

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

void GNEInspectorFrame::AttrInput::hide ( )
private

set hide as private function

Definition at line 965 of file GNEInspectorFrame.cpp.

Referenced by hideAttribute().

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

open model dialog for more comfortable attribute editing

Definition at line 848 of file GNEInspectorFrame.cpp.

References myTextFieldStrings.

void GNEInspectorFrame::AttrInput::show ( )
private

set show as private function

Definition at line 959 of file GNEInspectorFrame.cpp.

Referenced by showAttribute().

Field Documentation

SumoXMLAttr GNEInspectorFrame::AttrInput::myAttr
private

current Attr

Definition at line 97 of file GNEInspectorFrame.h.

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

FXButton* GNEInspectorFrame::AttrInput::myButtonCombinableChoices
private

pointer to buttonCombinableChoices

Definition at line 121 of file GNEInspectorFrame.h.

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

FXMenuCheck* GNEInspectorFrame::AttrInput::myCheckBox
private

pointer to menu check

Definition at line 118 of file GNEInspectorFrame.h.

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

FXComboBox* GNEInspectorFrame::AttrInput::myChoicesCombo
private

pointer to combo box choices

Definition at line 115 of file GNEInspectorFrame.h.

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

GNEInspectorFrame* GNEInspectorFrame::AttrInput::myInspectorFrameParent
private

pointer to GNEInspectorFrame parent

Definition at line 91 of file GNEInspectorFrame.h.

Referenced by onCmdSetAttribute().

FXLabel* GNEInspectorFrame::AttrInput::myLabel
private

pointer to label

Definition at line 100 of file GNEInspectorFrame.h.

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

SumoXMLTag GNEInspectorFrame::AttrInput::myTag
private

current tag

Definition at line 94 of file GNEInspectorFrame.h.

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

FXTextField* GNEInspectorFrame::AttrInput::myTextFieldInt
private

textField to modify the value of int attributes

Definition at line 103 of file GNEInspectorFrame.h.

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

FXTextField* GNEInspectorFrame::AttrInput::myTextFieldReal
private

textField to modify the value of real attributes

Definition at line 106 of file GNEInspectorFrame.h.

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

FXTextField* GNEInspectorFrame::AttrInput::myTextFieldStrings
private

textField to modify the value of string attributes

Definition at line 112 of file GNEInspectorFrame.h.

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

FXSpinner* GNEInspectorFrame::AttrInput::myTimeSpinDial
private

SpinDial to modify the value of time attributes

Definition at line 109 of file GNEInspectorFrame.h.

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


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