Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
GNETypeDistributionFrame::TypeAttributesEditorRow Class Reference

#include <GNETypeDistributionFrame.h>

Inheritance diagram for GNETypeDistributionFrame::TypeAttributesEditorRow:
[legend]
Collaboration diagram for GNETypeDistributionFrame::TypeAttributesEditorRow:
[legend]

Public Member Functions

void destroy ()
 destroy GNEAttributesCreatorRow (but don't delete)
 
bool isTypeAttributesEditorRowValid () const
 check if current attribute of TextField/ComboBox is valid
 
void refreshTypeAttributesEditorRow (const std::string &value)
 refresh current row
 
 TypeAttributesEditorRow (TypeAttributesEditor *attributeEditorParent, const GNEAttributeProperties &ACAttr, const std::string &value)
 FOX-declaration.
 
FOX-callbacks
long onCmdSetAttribute (FXObject *, FXSelector, void *)
 try to set new attribute value
 

Protected Member Functions

 TypeAttributesEditorRow ()
 default constructor
 

Private Attributes

const GNEAttributeProperties myACAttr
 current AC Attribute
 
MFXLabelTooltipmyAttributeLabel = nullptr
 pointer to attribute label
 
TypeAttributesEditormyTypeAttributesEditorParent
 pointer to TypeAttributesEditor parent
 
MFXTextFieldTooltipmyValueTextField = nullptr
 textField to modify the value of string attributes
 

Detailed Description

Definition at line 137 of file GNETypeDistributionFrame.h.

Constructor & Destructor Documentation

◆ TypeAttributesEditorRow() [1/2]

◆ TypeAttributesEditorRow() [2/2]

GNETypeDistributionFrame::TypeAttributesEditorRow::TypeAttributesEditorRow ( )
protected

default constructor

Definition at line 365 of file GNETypeDistributionFrame.cpp.

Member Function Documentation

◆ destroy()

void GNETypeDistributionFrame::TypeAttributesEditorRow::destroy ( )

destroy GNEAttributesCreatorRow (but don't delete)

Definition at line 300 of file GNETypeDistributionFrame.cpp.

◆ isTypeAttributesEditorRowValid()

bool GNETypeDistributionFrame::TypeAttributesEditorRow::isTypeAttributesEditorRowValid ( ) const

check if current attribute of TextField/ComboBox is valid

Definition at line 319 of file GNETypeDistributionFrame.cpp.

◆ onCmdSetAttribute()

long GNETypeDistributionFrame::TypeAttributesEditorRow::onCmdSetAttribute ( FXObject *  ,
FXSelector  ,
void *   
)

try to set new attribute value

Definition at line 325 of file GNETypeDistributionFrame.cpp.

References TL, and WRITE_DEBUG.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ refreshTypeAttributesEditorRow()

void GNETypeDistributionFrame::TypeAttributesEditorRow::refreshTypeAttributesEditorRow ( const std::string &  value)

refresh current row

Definition at line 309 of file GNETypeDistributionFrame.cpp.

Field Documentation

◆ myACAttr

const GNEAttributeProperties GNETypeDistributionFrame::TypeAttributesEditorRow::myACAttr
private

current AC Attribute

Definition at line 171 of file GNETypeDistributionFrame.h.

Referenced by TypeAttributesEditorRow().

◆ myAttributeLabel

MFXLabelTooltip* GNETypeDistributionFrame::TypeAttributesEditorRow::myAttributeLabel = nullptr
private

pointer to attribute label

Definition at line 174 of file GNETypeDistributionFrame.h.

Referenced by TypeAttributesEditorRow().

◆ myTypeAttributesEditorParent

TypeAttributesEditor* GNETypeDistributionFrame::TypeAttributesEditorRow::myTypeAttributesEditorParent
private

pointer to TypeAttributesEditor parent

Definition at line 168 of file GNETypeDistributionFrame.h.

◆ myValueTextField

MFXTextFieldTooltip* GNETypeDistributionFrame::TypeAttributesEditorRow::myValueTextField = nullptr
private

textField to modify the value of string attributes

Definition at line 177 of file GNETypeDistributionFrame.h.

Referenced by TypeAttributesEditorRow().


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