SUMO - Simulation of Urban MObility
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
GNEAdditionalFrame::additionalParameterList Class Reference

#include <GNEAdditionalFrame.h>

Inheritance diagram for GNEAdditionalFrame::additionalParameterList:
Inheritance graph
Collaboration diagram for GNEAdditionalFrame::additionalParameterList:
Collaboration graph

Public Member Functions

 additionalParameterList (FXComposite *parent, FXObject *tgt)
 FOX-declaration. More...
 
SumoXMLAttr getAttr () const
 return attribute of list More...
 
std::string getListValues ()
 return the value of list More...
 
void hideParameter ()
 hide all parameters More...
 
void showListParameter (SumoXMLAttr attr, std::vector< int > value)
 show name and value of parameters of type int More...
 
void showListParameter (SumoXMLAttr attr, std::vector< SUMOReal > value)
 show name and value of parameters of type float More...
 
void showListParameter (SumoXMLAttr attr, std::vector< bool > value)
 show name and value of parameters of type bool More...
 
void showListParameter (SumoXMLAttr attr, std::vector< std::string > value)
 show name and value of parameters of type string More...
 
 ~additionalParameterList ()
 destructor More...
 
FOX-callbacks

add a new row int the list

long onCmdAddRow (FXObject *, FXSelector, void *)
 
long onCmdRemoveRow (FXObject *, FXSelector, void *)
 add a new row int the list More...
 

Protected Member Functions

 additionalParameterList ()
 FOX needs this. More...
 

Private Attributes

FXButton * add
 Button to increase the number of textFields. More...
 
SumoXMLAttr myAttr
 XML attribute. More...
 
std::vector< FXLabel * > myLabels
 vector with with the name of every parameter More...
 
int myMaxNumberOfValuesInParameterList
 Number max of values in a parameter of type list. More...
 
std::vector< FXTextField * > myTextFields
 vector textField to modify the value of parameter More...
 
int numberOfVisibleTextfields
 number of visible text fields More...
 
FXButton * remove
 Button to decrease the number of textFields. More...
 

Detailed Description

Definition at line 108 of file GNEAdditionalFrame.h.

Constructor & Destructor Documentation

GNEAdditionalFrame::additionalParameterList::additionalParameterList ( FXComposite *  parent,
FXObject *  tgt 
)
GNEAdditionalFrame::additionalParameterList::~additionalParameterList ( )

destructor

Definition at line 649 of file GNEAdditionalFrame.cpp.

GNEAdditionalFrame::additionalParameterList::additionalParameterList ( )
inlineprotected

FOX needs this.

Definition at line 151 of file GNEAdditionalFrame.h.

Member Function Documentation

SumoXMLAttr GNEAdditionalFrame::additionalParameterList::getAttr ( ) const

return attribute of list

Definition at line 707 of file GNEAdditionalFrame.cpp.

std::string GNEAdditionalFrame::additionalParameterList::getListValues ( )

return the value of list

Definition at line 713 of file GNEAdditionalFrame.cpp.

void GNEAdditionalFrame::additionalParameterList::hideParameter ( )

hide all parameters

Definition at line 693 of file GNEAdditionalFrame.cpp.

References GNEAdditionalFrame::hide(), and SUMO_ATTR_NOTHING.

Referenced by additionalParameterList().

long GNEAdditionalFrame::additionalParameterList::onCmdAddRow ( FXObject *  ,
FXSelector  ,
void *   
)

Definition at line 726 of file GNEAdditionalFrame.cpp.

long GNEAdditionalFrame::additionalParameterList::onCmdRemoveRow ( FXObject *  ,
FXSelector  ,
void *   
)

add a new row int the list

Definition at line 738 of file GNEAdditionalFrame.cpp.

void GNEAdditionalFrame::additionalParameterList::showListParameter ( SumoXMLAttr  attr,
std::vector< int >  value 
)

show name and value of parameters of type int

Definition at line 653 of file GNEAdditionalFrame.cpp.

void GNEAdditionalFrame::additionalParameterList::showListParameter ( SumoXMLAttr  attr,
std::vector< SUMOReal value 
)

show name and value of parameters of type float

Definition at line 659 of file GNEAdditionalFrame.cpp.

void GNEAdditionalFrame::additionalParameterList::showListParameter ( SumoXMLAttr  attr,
std::vector< bool >  value 
)

show name and value of parameters of type bool

Definition at line 665 of file GNEAdditionalFrame.cpp.

void GNEAdditionalFrame::additionalParameterList::showListParameter ( SumoXMLAttr  attr,
std::vector< std::string >  value 
)

show name and value of parameters of type string

Definition at line 671 of file GNEAdditionalFrame.cpp.

References GNEAdditionalFrame::show(), and toString().

Field Documentation

FXButton* GNEAdditionalFrame::additionalParameterList::add
private

Button to increase the number of textFields.

Definition at line 164 of file GNEAdditionalFrame.h.

Referenced by additionalParameterList().

SumoXMLAttr GNEAdditionalFrame::additionalParameterList::myAttr
private

XML attribute.

Definition at line 155 of file GNEAdditionalFrame.h.

std::vector<FXLabel*> GNEAdditionalFrame::additionalParameterList::myLabels
private

vector with with the name of every parameter

Definition at line 158 of file GNEAdditionalFrame.h.

Referenced by additionalParameterList().

int GNEAdditionalFrame::additionalParameterList::myMaxNumberOfValuesInParameterList
private

Number max of values in a parameter of type list.

Definition at line 173 of file GNEAdditionalFrame.h.

Referenced by additionalParameterList().

std::vector<FXTextField*> GNEAdditionalFrame::additionalParameterList::myTextFields
private

vector textField to modify the value of parameter

Definition at line 161 of file GNEAdditionalFrame.h.

Referenced by additionalParameterList().

int GNEAdditionalFrame::additionalParameterList::numberOfVisibleTextfields
private

number of visible text fields

Definition at line 170 of file GNEAdditionalFrame.h.

FXButton* GNEAdditionalFrame::additionalParameterList::remove
private

Button to decrease the number of textFields.

Definition at line 167 of file GNEAdditionalFrame.h.


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