SUMO - Simulation of Urban MObility
GNEDialog_Wizard::InputFloat Class Reference

#include <GNEDialog_Wizard.h>

Inheritance diagram for GNEDialog_Wizard::InputFloat:
Inheritance graph
Collaboration diagram for GNEDialog_Wizard::InputFloat:
Collaboration graph

Public Member Functions

 InputFloat (FXComposite *parent, const std::string &name)
 FOX-declaration. More...
 
long onCmdSetOption (FXObject *, FXSelector, void *)
 try to set new attribute value More...
 

Protected Member Functions

 InputFloat ()
 FOX needs this. More...
 

Private Attributes

std::string myName
 name More...
 
FXTextField * myTextField
 text field More...
 

Detailed Description

Definition at line 129 of file GNEDialog_Wizard.h.

Constructor & Destructor Documentation

GNEDialog_Wizard::InputFloat::InputFloat ( FXComposite *  parent,
const std::string &  name 
)

FOX-declaration.

constructor

Definition at line 173 of file GNEDialog_Wizard.cpp.

References OptionsCont::getFloat(), OptionsCont::getOptions(), MID_GNE_SET_ATTRIBUTE, myTextField, and toString().

GNEDialog_Wizard::InputFloat::InputFloat ( )
inlineprotected

FOX needs this.

Definition at line 142 of file GNEDialog_Wizard.h.

Member Function Documentation

long GNEDialog_Wizard::InputFloat::onCmdSetOption ( FXObject *  ,
FXSelector  ,
void *   
)

try to set new attribute value

Definition at line 184 of file GNEDialog_Wizard.cpp.

References OptionsCont::getOptions(), myName, myTextField, OptionsCont::resetWritable(), and OptionsCont::set().

Field Documentation

std::string GNEDialog_Wizard::InputFloat::myName
private

name

Definition at line 146 of file GNEDialog_Wizard.h.

Referenced by onCmdSetOption().

FXTextField* GNEDialog_Wizard::InputFloat::myTextField
private

text field

Definition at line 149 of file GNEDialog_Wizard.h.

Referenced by InputFloat(), and onCmdSetOption().


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