FEMSuite
Public Member Functions | Protected Attributes | List of all members
ParameterCollectionConfigurationPanel Class Reference

This class automatically generates configuration pages for parameter collections More...

#include <ParameterCollectionConfigurationPanel.h>

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

Public Member Functions

 ParameterCollectionConfigurationPanel (std::shared_ptr< IParameter > p, IScreen *screen, wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(500, 300), long style=wxTAB_TRAVERSAL)
 
virtual void ChangeObject (std::shared_ptr< IParameter >)
 Changes the current object from which the parameters are being read More...
 
virtual void ParameterValueChanged (std::shared_ptr< IParameter >) override
 Called when a parameter's value has changed. More...
 
virtual bool IsNullObject () const override
 
virtual void GenerateUpdateEvent () override
 This notifies the object manager that one of the values on this panels has been udpated More...
 
- Public Member Functions inherited from InteractiveObjectConfigurationPanel
 InteractiveObjectConfigurationPanel (IScreen *screen, wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(500, 300), long style=wxTAB_TRAVERSAL)
 
virtual void b_ToggleVisibility_Click (wxCommandEvent &event) override
 
virtual void b_ToggleVisibility_Click (wxMouseEvent &event) override
 
virtual void m_Label_MouseIn (wxMouseEvent &event) override
 
virtual void m_Label_MouseOut (wxMouseEvent &event) override
 
virtual void ChangeObject (IInteractiveObject *)
 Changes the current object from which the parameters are being read More...
 
virtual void UpdateEditors ()
 Updates existing editors More...
 
virtual void Update () override
 
- Public Member Functions inherited from InteractiveObjectConfigurationPanelBase
 InteractiveObjectConfigurationPanelBase (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(307, 118), long style=wxTAB_TRAVERSAL)
 

Protected Attributes

std::shared_ptr< IParameterm_Parameter
 
- Protected Attributes inherited from InteractiveObjectConfigurationPanel
IScreenm_Screen
 Used to refresh the screen on parameter edits. More...
 
std::vector< wxWindow * > m_Editors
 
- Protected Attributes inherited from InteractiveObjectConfigurationPanelBase
wxBoxSizer * m_PanelSizer
 
wxStaticText * m_Label
 
wxGridSizer * m_ParameterSizer
 
wxButton * b_ToggleVisibility
 

Additional Inherited Members

- Protected Member Functions inherited from InteractiveObjectConfigurationPanel
virtual void ProcessParameters (const IParameterContainer &)
 
void AddParameterEditor (std::shared_ptr< IParameter >)
 Figures out which editor class to use when adding an editor for a parameter More...
 

Detailed Description

This class automatically generates configuration pages for parameter collections

Member Function Documentation

void ParameterCollectionConfigurationPanel::ChangeObject ( std::shared_ptr< IParameter p)
virtual

Changes the current object from which the parameters are being read

void ParameterCollectionConfigurationPanel::GenerateUpdateEvent ( )
overridevirtual

This notifies the object manager that one of the values on this panels has been udpated

Reimplemented from InteractiveObjectConfigurationPanel.

void ParameterCollectionConfigurationPanel::ParameterValueChanged ( std::shared_ptr< IParameter p)
overridevirtual

Called when a parameter's value has changed.

Reimplemented from InteractiveObjectConfigurationPanel.


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