Eclipse SUMO - Simulation of Urban MObility
GNEFrameAttributesModuls::AttributesEditorFlow Class Reference

#include <GNEFrameAttributesModuls.h>

Inheritance diagram for GNEFrameAttributesModuls::AttributesEditorFlow:
Collaboration diagram for GNEFrameAttributesModuls::AttributesEditorFlow:

Public Member Functions

 AttributesEditorFlow (AttributesEditor *attributesEditorParent)
 FOX-declaration. More...
 
void hideAttributesEditorFlowModul ()
 hide attribute EditorFlow More...
 
bool isAttributesEditorFlowModulShown () const
 check if attribute editor flow modul is shown More...
 
void refreshAttributeEditorFlow ()
 refresh attribute EditorFlow (only the valid values will be refresh) More...
 
void showAttributeEditorFlowModul ()
 show attributes editor Flow Modul More...
 
FOX-callbacks

called when user set the value of an attribute of type int/float/string/bool

long onCmdSetFlowAttribute (FXObject *, FXSelector, void *)
 
long onCmdSelectFlowRadioButton (FXObject *, FXSelector, void *)
 called when user press a radio button More...
 

Protected Member Functions

void refreshEnd ()
 refresh end More...
 
void refreshNumber ()
 refresh parameter number More...
 
void refreshPeriod ()
 refresh parameter Period More...
 
void refreshProbability ()
 refresh parameter Probability More...
 
void refreshVehsPerHour ()
 refresh parameter VehsPerHour More...
 

Private Attributes

FXRadioButton * myAttributeEndRadioButton = nullptr
 Radio button for 'end' attribute. More...
 
FXRadioButton * myAttributeNumberRadioButton = nullptr
 Radio button for 'number' attribute. More...
 
FXRadioButton * myAttributePeriodRadioButton = nullptr
 Radio button for 'period' attribute. More...
 
FXRadioButton * myAttributeProbabilityRadioButton = nullptr
 Radio button for 'probability' attribute. More...
 
AttributesEditormyAttributesEditorParent = nullptr
 pointer to AttributesEditor parent More...
 
FXRadioButton * myAttributeVehsPerHourRadioButton = nullptr
 Radio button for 'VehsPerHour' attribute. More...
 
FXTextField * myValueEndTextField = nullptr
 textField for 'end' attribute More...
 
FXTextField * myValueNumberTextField = nullptr
 textField for 'number' attribute More...
 
FXTextField * myValuePeriodTextField = nullptr
 textField for 'period' attribute More...
 
FXTextField * myValueProbabilityTextField = nullptr
 textField for 'probability' attribute More...
 
FXTextField * myValueVehsPerHourTextField = nullptr
 textField for 'VehsPerHour' attribute More...
 

Detailed Description

Definition at line 424 of file GNEFrameAttributesModuls.h.

Constructor & Destructor Documentation

◆ AttributesEditorFlow()

Member Function Documentation

◆ hideAttributesEditorFlowModul()

void GNEFrameAttributesModuls::AttributesEditorFlow::hideAttributesEditorFlowModul ( )

hide attribute EditorFlow

Definition at line 1734 of file GNEFrameAttributesModuls.cpp.

Referenced by GNEFrameAttributesModuls::AttributesEditor::AttributesEditor().

Here is the caller graph for this function:

◆ isAttributesEditorFlowModulShown()

bool GNEFrameAttributesModuls::AttributesEditorFlow::isAttributesEditorFlowModulShown ( ) const

check if attribute editor flow modul is shown

Definition at line 1741 of file GNEFrameAttributesModuls.cpp.

◆ onCmdSelectFlowRadioButton()

long GNEFrameAttributesModuls::AttributesEditorFlow::onCmdSelectFlowRadioButton ( FXObject *  obj,
FXSelector  ,
void *   
)

called when user press a radio button

Definition at line 1810 of file GNEFrameAttributesModuls.cpp.

References GNEUndoList::p_begin(), GNEUndoList::p_end(), SUMO_ATTR_END, SUMO_ATTR_NOTHING, SUMO_ATTR_NUMBER, SUMO_ATTR_PERIOD, SUMO_ATTR_PROB, SUMO_ATTR_VEHSPERHOUR, toString(), and WRITE_DEBUG.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdSetFlowAttribute()

long GNEFrameAttributesModuls::AttributesEditorFlow::onCmdSetFlowAttribute ( FXObject *  obj,
FXSelector  ,
void *   
)

◆ refreshAttributeEditorFlow()

void GNEFrameAttributesModuls::AttributesEditorFlow::refreshAttributeEditorFlow ( )

refresh attribute EditorFlow (only the valid values will be refresh)

Definition at line 1747 of file GNEFrameAttributesModuls.cpp.

◆ refreshEnd()

void GNEFrameAttributesModuls::AttributesEditorFlow::refreshEnd ( )
protected

refresh end

Definition at line 1849 of file GNEFrameAttributesModuls.cpp.

References SUMO_ATTR_END.

◆ refreshNumber()

void GNEFrameAttributesModuls::AttributesEditorFlow::refreshNumber ( )
protected

refresh parameter number

Definition at line 1890 of file GNEFrameAttributesModuls.cpp.

References SUMO_ATTR_NUMBER.

◆ refreshPeriod()

void GNEFrameAttributesModuls::AttributesEditorFlow::refreshPeriod ( )
protected

refresh parameter Period

Definition at line 1980 of file GNEFrameAttributesModuls.cpp.

References SUMO_ATTR_PERIOD.

◆ refreshProbability()

void GNEFrameAttributesModuls::AttributesEditorFlow::refreshProbability ( )
protected

refresh parameter Probability

Definition at line 2021 of file GNEFrameAttributesModuls.cpp.

References SUMO_ATTR_PROB.

◆ refreshVehsPerHour()

void GNEFrameAttributesModuls::AttributesEditorFlow::refreshVehsPerHour ( )
protected

refresh parameter VehsPerHour

Definition at line 1931 of file GNEFrameAttributesModuls.cpp.

References SUMO_ATTR_PERSONSPERHOUR, SUMO_ATTR_VEHSPERHOUR, and toString().

◆ showAttributeEditorFlowModul()

void GNEFrameAttributesModuls::AttributesEditorFlow::showAttributeEditorFlowModul ( )

show attributes editor Flow Modul

Definition at line 1721 of file GNEFrameAttributesModuls.cpp.

Field Documentation

◆ myAttributeEndRadioButton

FXRadioButton* GNEFrameAttributesModuls::AttributesEditorFlow::myAttributeEndRadioButton = nullptr
private

Radio button for 'end' attribute.

Definition at line 476 of file GNEFrameAttributesModuls.h.

Referenced by AttributesEditorFlow().

◆ myAttributeNumberRadioButton

FXRadioButton* GNEFrameAttributesModuls::AttributesEditorFlow::myAttributeNumberRadioButton = nullptr
private

Radio button for 'number' attribute.

Definition at line 482 of file GNEFrameAttributesModuls.h.

Referenced by AttributesEditorFlow().

◆ myAttributePeriodRadioButton

FXRadioButton* GNEFrameAttributesModuls::AttributesEditorFlow::myAttributePeriodRadioButton = nullptr
private

Radio button for 'period' attribute.

Definition at line 494 of file GNEFrameAttributesModuls.h.

Referenced by AttributesEditorFlow().

◆ myAttributeProbabilityRadioButton

FXRadioButton* GNEFrameAttributesModuls::AttributesEditorFlow::myAttributeProbabilityRadioButton = nullptr
private

Radio button for 'probability' attribute.

Definition at line 500 of file GNEFrameAttributesModuls.h.

Referenced by AttributesEditorFlow().

◆ myAttributesEditorParent

AttributesEditor* GNEFrameAttributesModuls::AttributesEditorFlow::myAttributesEditorParent = nullptr
private

pointer to AttributesEditor parent

Definition at line 473 of file GNEFrameAttributesModuls.h.

◆ myAttributeVehsPerHourRadioButton

FXRadioButton* GNEFrameAttributesModuls::AttributesEditorFlow::myAttributeVehsPerHourRadioButton = nullptr
private

Radio button for 'VehsPerHour' attribute.

Definition at line 488 of file GNEFrameAttributesModuls.h.

Referenced by AttributesEditorFlow().

◆ myValueEndTextField

FXTextField* GNEFrameAttributesModuls::AttributesEditorFlow::myValueEndTextField = nullptr
private

textField for 'end' attribute

Definition at line 479 of file GNEFrameAttributesModuls.h.

Referenced by AttributesEditorFlow().

◆ myValueNumberTextField

FXTextField* GNEFrameAttributesModuls::AttributesEditorFlow::myValueNumberTextField = nullptr
private

textField for 'number' attribute

Definition at line 485 of file GNEFrameAttributesModuls.h.

Referenced by AttributesEditorFlow().

◆ myValuePeriodTextField

FXTextField* GNEFrameAttributesModuls::AttributesEditorFlow::myValuePeriodTextField = nullptr
private

textField for 'period' attribute

Definition at line 497 of file GNEFrameAttributesModuls.h.

Referenced by AttributesEditorFlow().

◆ myValueProbabilityTextField

FXTextField* GNEFrameAttributesModuls::AttributesEditorFlow::myValueProbabilityTextField = nullptr
private

textField for 'probability' attribute

Definition at line 503 of file GNEFrameAttributesModuls.h.

Referenced by AttributesEditorFlow().

◆ myValueVehsPerHourTextField

FXTextField* GNEFrameAttributesModuls::AttributesEditorFlow::myValueVehsPerHourTextField = nullptr
private

textField for 'VehsPerHour' attribute

Definition at line 491 of file GNEFrameAttributesModuls.h.

Referenced by AttributesEditorFlow().


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