Power System Platform  2018w15a
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
TextForm Class Reference

Form to edit the text graphical data. More...

#include <TextForm.h>

Inheritance diagram for TextForm:
Inheritance graph
[legend]
Collaboration diagram for TextForm:
Collaboration graph
[legend]

Public Member Functions

 TextForm (wxWindow *parent, Text *text, std::vector< Element *> elementList, double systemPowerBase=100e6)
 
virtual bool LoadChoices ()
 
virtual void ElementTypeChoice ()
 
virtual void ElementNumberChoice ()
 
virtual void DataTypeChoice ()
 
virtual void UnitChoice ()
 
virtual void Preview ()
 
virtual bool ValidateData ()
 

Protected Member Functions

virtual void OnUnitChoiceSelected (wxCommandEvent &event)
 
virtual void OnCancelButtonClick (wxCommandEvent &event)
 
virtual void OnOKButtonClick (wxCommandEvent &event)
 
virtual void OnElementChoiceSelected (wxCommandEvent &event)
 
virtual void OnFromBusChoiceSelected (wxCommandEvent &event)
 
virtual void OnNameChoiceSelected (wxCommandEvent &event)
 
virtual void OnTextEnter (wxCommandEvent &event)
 
virtual void OnToBusChoiceSelected (wxCommandEvent &event)
 
virtual void OnTypeChoiceSelected (wxCommandEvent &event)
 

Protected Attributes

Textm_text = NULL
 
Textm_textToEdit = NULL
 
wxWindow * m_parent = NULL
 
ElectricCalculation m_allElements
 
double m_systemPowerBase
 

Detailed Description

Form to edit the text graphical data.

Author
Thales Lima Oliveira thale.nosp@m.s@uf.nosp@m.u.br
Date
05/10/2017

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