Eclipse SUMO - Simulation of Urban MObility
GNEVehicleTypeFrame::VehicleTypeEditor Class Reference

#include <GNEVehicleTypeFrame.h>

Inheritance diagram for GNEVehicleTypeFrame::VehicleTypeEditor:
[legend]
Collaboration diagram for GNEVehicleTypeFrame::VehicleTypeEditor:
[legend]

Public Member Functions

FXVerticalFrame * getCollapsableFrame ()
 get collapsable frame (used by all elements that will be collapsed if button is toogled) More...
 
void hideVehicleTypeEditorModule ()
 hide VehicleTypeEditor box More...
 
long onCollapseButton (FXObject *, FXSelector, void *)
 draw FXGroupBoxModule More...
 
long onPaint (FXObject *, FXSelector, void *)
 draw FXGroupBoxModule More...
 
void refreshVehicleTypeEditorModule ()
 update VehicleTypeEditor modul More...
 
void setText (const std::string &text)
 set text More...
 
void showVehicleTypeEditorModule ()
 show VehicleTypeEditor modul More...
 
 VehicleTypeEditor (GNEVehicleTypeFrame *vehicleTypeFrameParent)
 FOX-declaration. More...
 
 ~VehicleTypeEditor ()
 destructor More...
 
FOX-callbacks

Called when "Vreate Vehicle Type" button is clicked

long onCmdCreateVehicleType (FXObject *, FXSelector, void *)
 
long onCmdDeleteVehicleType (FXObject *, FXSelector, void *)
 Called when "Delete Vehicle Type" button is clicked. More...
 
long onCmdResetVehicleType (FXObject *, FXSelector, void *)
 Called when "Delete Vehicle Type" button is clicked. More...
 
long onCmdCopyVehicleType (FXObject *, FXSelector, void *)
 Called when "Copy Vehicle Type" button is clicked. More...
 

Private Attributes

FXVerticalFrame * myCollapsableFrame = nullptr
 vertical collapsable frame More...
 
FXButton * myCollapseButton = nullptr
 button for collapse elements More...
 
bool myCollapsed
 flag to check if this groupbox is collapsed More...
 
FXButton * myCopyVehicleTypeButton
 "copy vehicle type" More...
 
FXButton * myCreateVehicleTypeButton
 "create vehicle type" button More...
 
FXButton * myDeleteVehicleTypeButton
 "delete vehicle type" button More...
 
FXLabel * myLabel = nullptr
 label used in non collapsable FXGroupBoxModule More...
 
FXButton * myResetDefaultVehicleTypeButton
 "delete default vehicle type" button More...
 
GNEVehicleTypeFramemyVehicleTypeFrameParent
 pointer to vehicle type Frame Parent More...
 

Detailed Description

Definition at line 92 of file GNEVehicleTypeFrame.h.

Constructor & Destructor Documentation

◆ VehicleTypeEditor()

GNEVehicleTypeFrame::VehicleTypeEditor::VehicleTypeEditor ( GNEVehicleTypeFrame vehicleTypeFrameParent)

◆ ~VehicleTypeEditor()

GNEVehicleTypeFrame::VehicleTypeEditor::~VehicleTypeEditor ( )

destructor

Definition at line 212 of file GNEVehicleTypeFrame.cpp.

Member Function Documentation

◆ getCollapsableFrame()

FXVerticalFrame * FXGroupBoxModule::getCollapsableFrame ( )
inherited

get collapsable frame (used by all elements that will be collapsed if button is toogled)

Definition at line 73 of file FXGroupBoxModule.cpp.

References FXGroupBoxModule::myCollapsableFrame.

Referenced by GNEInspectorFrame::AdditionalDialog::AdditionalDialog(), GNEFrameAttributeModules::AttributesCreator::AttributesCreator(), GNEFrameAttributeModules::AttributesCreatorFlow::AttributesCreatorFlow(), GNEFrameAttributeModules::AttributesEditor::AttributesEditor(), GNEFrameAttributeModules::AttributesEditorExtended::AttributesEditorExtended(), GNEFrameAttributeModules::AttributesEditorFlow::AttributesEditorFlow(), GNEGenericDataFrame::AttributeSelector::AttributeSelector(), GNEMoveFrame::ChangeZInSelection::ChangeZInSelection(), GNEConnectorFrame::ConnectionModifications::ConnectionModifications(), GNEConnectorFrame::ConnectionOperations::ConnectionOperations(), GNEConnectorFrame::ConnectionSelection::ConnectionSelection(), GNECrossingFrame::CreateCrossing::CreateCrossing(), GNECrossingFrame::CrossingParameters::CrossingParameters(), GNETAZFrame::CurrentTAZ::CurrentTAZ(), GNEFrameModules::DemandElementSelector::DemandElementSelector(), GNEMoveFrame::DemandModeOptions::DemandModeOptions(), GNEFrameModules::DrawingShape::DrawingShape(), GNEFrameAttributeModules::DrawingShape::DrawingShape(), GNEAdditionalFrame::E2MultilaneLaneSelector::E2MultilaneLaneSelector(), GNECrossingFrame::EdgesSelector::EdgesSelector(), GNEInspectorFrame::GEOAttributesEditor::GEOAttributesEditor(), GNEStopFrame::HelpCreation::HelpCreation(), GNEVehicleFrame::HelpCreation::HelpCreation(), GNEFrameModules::HierarchicalElementTree::HierarchicalElementTree(), GNECrossingFrame::Information::Information(), GNESelectorFrame::Information::Information(), GNEGenericDataFrame::IntervalSelector::IntervalSelector(), GNECreateEdgeFrame::LaneTypeSelector::LaneTypeSelector(), GNETAZRelDataFrame::Legend::Legend(), GNEProhibitionFrame::Legend::Legend(), GNEConnectorFrame::Legend::Legend(), GNECreateEdgeFrame::Legend::Legend(), GNESelectorFrame::ModificationMode::ModificationMode(), GNEProhibitionFrame::Modifications::Modifications(), GNEFrameAttributeModules::NeteditAttributes::NeteditAttributes(), GNEMoveFrame::NetworkModeOptions::NetworkModeOptions(), GNEMatchAttribute::onCmdHelp(), GNEMatchGenericDataAttribute::onCmdHelp(), GNEFrameAttributeModules::ParametersEditorCreator::ParametersEditorCreator(), GNEInspectorFrame::ParametersEditorInspector::ParametersEditorInspector(), GNEFrameModules::PathCreator::PathCreator(), GNEFrameModules::PathLegend::PathLegend(), GNEPersonTypeFrame::PersonTypeEditor::PersonTypeEditor(), GNEDeleteFrame::ProtectElements::ProtectElements(), GNESelectorFrame::SelectionOperation::SelectionOperation(), GNEAdditionalFrame::SelectorChildEdges::SelectorChildEdges(), GNEAdditionalFrame::SelectorChildLanes::SelectorChildLanes(), GNEFrameModules::SelectorParent::SelectorParent(), GNEMoveFrame::ShiftEdgeSelectedGeometry::ShiftEdgeSelectedGeometry(), GNEMoveFrame::ShiftShapeGeometry::ShiftShapeGeometry(), GNETAZFrame::TAZChildDefaultParameters::TAZChildDefaultParameters(), GNETAZFrame::TAZCommonStatistics::TAZCommonStatistics(), GNETAZFrame::TAZEdgesGraphic::TAZEdgesGraphic(), GNETAZFrame::TAZParameters::TAZParameters(), GNETAZFrame::TAZSaveChanges::TAZSaveChanges(), GNETAZFrame::TAZSelectionStatistics::TAZSelectionStatistics(), GNEInspectorFrame::TemplateEditor::TemplateEditor(), GNETLSEditorFrame::TLSAttributes::TLSAttributes(), GNETLSEditorFrame::TLSDefinition::TLSDefinition(), GNETLSEditorFrame::TLSFile::TLSFile(), GNETLSEditorFrame::TLSJunction::TLSJunction(), GNETLSEditorFrame::TLSModifications::TLSModifications(), GNETLSEditorFrame::TLSPhases::TLSPhases(), VehicleTypeEditor(), and GNESelectorFrame::VisualScaling::VisualScaling().

◆ hideVehicleTypeEditorModule()

void GNEVehicleTypeFrame::VehicleTypeEditor::hideVehicleTypeEditorModule ( )

hide VehicleTypeEditor box

Definition at line 223 of file GNEVehicleTypeFrame.cpp.

References GNEFrame::hide().

◆ onCmdCopyVehicleType()

long GNEVehicleTypeFrame::VehicleTypeEditor::onCmdCopyVehicleType ( FXObject *  ,
FXSelector  ,
void *   
)

Called when "Copy Vehicle Type" button is clicked.

Definition at line 349 of file GNEVehicleTypeFrame.cpp.

References SUMO_TAG_VTYPE, and VTYPE.

◆ onCmdCreateVehicleType()

long GNEVehicleTypeFrame::VehicleTypeEditor::onCmdCreateVehicleType ( FXObject *  ,
FXSelector  ,
void *   
)

Definition at line 262 of file GNEVehicleTypeFrame.cpp.

References SUMO_TAG_VTYPE, and VTYPE.

◆ onCmdDeleteVehicleType()

long GNEVehicleTypeFrame::VehicleTypeEditor::onCmdDeleteVehicleType ( FXObject *  ,
FXSelector  ,
void *   
)

Called when "Delete Vehicle Type" button is clicked.

Definition at line 280 of file GNEVehicleTypeFrame.cpp.

References SUMO_TAG_VTYPE, toString(), VTYPE, and WRITE_DEBUG.

◆ onCmdResetVehicleType()

long GNEVehicleTypeFrame::VehicleTypeEditor::onCmdResetVehicleType ( FXObject *  ,
FXSelector  ,
void *   
)

◆ onCollapseButton()

long FXGroupBoxModule::onCollapseButton ( FXObject *  ,
FXSelector  ,
void *   
)
inherited

◆ onPaint()

long FXGroupBoxModule::onPaint ( FXObject *  ,
FXSelector  ,
void *  ptr 
)
inherited

draw FXGroupBoxModule

Definition at line 79 of file FXGroupBoxModule.cpp.

◆ refreshVehicleTypeEditorModule()

void GNEVehicleTypeFrame::VehicleTypeEditor::refreshVehicleTypeEditorModule ( )

update VehicleTypeEditor modul

Definition at line 229 of file GNEVehicleTypeFrame.cpp.

References GNE_ATTR_DEFAULT_VTYPE, and GNE_ATTR_DEFAULT_VTYPE_MODIFIED.

◆ setText()

void FXGroupBoxModule::setText ( const std::string &  text)
inherited

set text

Definition at line 67 of file FXGroupBoxModule.cpp.

References FXGroupBoxModule::myLabel.

Referenced by GNESelectorFrame::SelectionInformation::updateInformationLabel().

Here is the caller graph for this function:

◆ showVehicleTypeEditorModule()

void GNEVehicleTypeFrame::VehicleTypeEditor::showVehicleTypeEditorModule ( )

show VehicleTypeEditor modul

Definition at line 216 of file GNEVehicleTypeFrame.cpp.

References GNEVehicleTypeFrame::show().

Field Documentation

◆ myCollapsableFrame

FXVerticalFrame* FXGroupBoxModule::myCollapsableFrame = nullptr
privateinherited

vertical collapsable frame

Definition at line 55 of file FXGroupBoxModule.h.

Referenced by FXGroupBoxModule::getCollapsableFrame(), and FXGroupBoxModule::onCollapseButton().

◆ myCollapseButton

FXButton* FXGroupBoxModule::myCollapseButton = nullptr
privateinherited

button for collapse elements

Definition at line 61 of file FXGroupBoxModule.h.

Referenced by FXGroupBoxModule::onCollapseButton().

◆ myCollapsed

bool FXGroupBoxModule::myCollapsed
privateinherited

flag to check if this groupbox is collapsed

Definition at line 64 of file FXGroupBoxModule.h.

Referenced by FXGroupBoxModule::onCollapseButton().

◆ myCopyVehicleTypeButton

FXButton* GNEVehicleTypeFrame::VehicleTypeEditor::myCopyVehicleTypeButton
private

"copy vehicle type"

Definition at line 144 of file GNEVehicleTypeFrame.h.

Referenced by VehicleTypeEditor().

◆ myCreateVehicleTypeButton

FXButton* GNEVehicleTypeFrame::VehicleTypeEditor::myCreateVehicleTypeButton
private

"create vehicle type" button

Definition at line 135 of file GNEVehicleTypeFrame.h.

Referenced by VehicleTypeEditor().

◆ myDeleteVehicleTypeButton

FXButton* GNEVehicleTypeFrame::VehicleTypeEditor::myDeleteVehicleTypeButton
private

"delete vehicle type" button

Definition at line 138 of file GNEVehicleTypeFrame.h.

Referenced by VehicleTypeEditor().

◆ myLabel

FXLabel* FXGroupBoxModule::myLabel = nullptr
privateinherited

label used in non collapsable FXGroupBoxModule

Definition at line 58 of file FXGroupBoxModule.h.

Referenced by FXGroupBoxModule::setText().

◆ myResetDefaultVehicleTypeButton

FXButton* GNEVehicleTypeFrame::VehicleTypeEditor::myResetDefaultVehicleTypeButton
private

"delete default vehicle type" button

Definition at line 141 of file GNEVehicleTypeFrame.h.

Referenced by VehicleTypeEditor().

◆ myVehicleTypeFrameParent

GNEVehicleTypeFrame* GNEVehicleTypeFrame::VehicleTypeEditor::myVehicleTypeFrameParent
private

pointer to vehicle type Frame Parent

Definition at line 132 of file GNEVehicleTypeFrame.h.


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