![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <GNETypeDistributionFrame.h>
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 | |
MFXLabelTooltip * | myAttributeLabel = nullptr |
pointer to attribute label | |
TypeAttributesEditor * | myTypeAttributesEditorParent |
pointer to TypeAttributesEditor parent | |
MFXTextFieldTooltip * | myValueTextField = nullptr |
textField to modify the value of string attributes | |
Definition at line 137 of file GNETypeDistributionFrame.h.
GNETypeDistributionFrame::TypeAttributesEditorRow::TypeAttributesEditorRow | ( | GNETypeDistributionFrame::TypeAttributesEditor * | attributeEditorParent, |
const GNEAttributeProperties & | ACAttr, | ||
const std::string & | value | ||
) |
FOX-declaration.
constructor
Definition at line 269 of file GNETypeDistributionFrame.cpp.
References GNEAttributeProperties::getAttrStr(), GNEAttributeProperties::getDefinition(), GNEViewParent::getGNEAppWindows(), GUIMainWindow::getStaticTooltipMenu(), GNETypeDistributionFrame::TypeAttributesEditor::getTypeDistributionFrameParent(), GNEFrame::getViewNet(), GNEViewNet::getViewParent(), GUIDesignLabelThickedFixed, GUIDesignTextField, GUIDesignTextFieldNCol, MID_GNE_SET_ATTRIBUTE, myACAttr, myAttributeLabel, myValueTextField, and GNETypeDistributionFrame::show().
|
protected |
default constructor
Definition at line 365 of file GNETypeDistributionFrame.cpp.
void GNETypeDistributionFrame::TypeAttributesEditorRow::destroy | ( | ) |
destroy GNEAttributesCreatorRow (but don't delete)
Definition at line 300 of file GNETypeDistributionFrame.cpp.
bool GNETypeDistributionFrame::TypeAttributesEditorRow::isTypeAttributesEditorRowValid | ( | ) | const |
check if current attribute of TextField/ComboBox is valid
Definition at line 319 of file GNETypeDistributionFrame.cpp.
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().
void GNETypeDistributionFrame::TypeAttributesEditorRow::refreshTypeAttributesEditorRow | ( | const std::string & | value | ) |
refresh current row
Definition at line 309 of file GNETypeDistributionFrame.cpp.
|
private |
current AC Attribute
Definition at line 171 of file GNETypeDistributionFrame.h.
Referenced by TypeAttributesEditorRow().
|
private |
pointer to attribute label
Definition at line 174 of file GNETypeDistributionFrame.h.
Referenced by TypeAttributesEditorRow().
|
private |
pointer to TypeAttributesEditor parent
Definition at line 168 of file GNETypeDistributionFrame.h.
|
private |
textField to modify the value of string attributes
Definition at line 177 of file GNETypeDistributionFrame.h.
Referenced by TypeAttributesEditorRow().