Antares Simulator
Power System Simulator
|
Visual Component for displaying thermal clusters of an arbitrary area. More...
#include <thermal-cluster.h>
Constructor & Destructor | |
Yuni::Event< void(Antares::Data::ThermalCluster *)> | onThermalClusterChanged |
ThermalCluster (wxWindow *parent, InputSelector::Area *area) | |
Default Constructor. | |
virtual | ~ThermalCluster () |
Destructor. | |
virtual void | update () |
Clear then Update the input. | |
virtual wxPoint | recommendedSize () const |
Get the recommended size for the control. | |
void | updateInnerValues () |
void | renameAggregate (Antares::Data::ThermalCluster *cluster, const wxString &newName, const bool broadcast=true) |
Rename a thermal cluster and refresh inner values. | |
virtual void | internalBuildSubControls () |
Create all needed controls (called by the constructor) | |
void | onThermalGroupChanged (Antares::Data::Area *area) |
Event: a group has been changed. | |
Additional Inherited Members | |
![]() | |
AInput (wxWindow *parent) | |
Constructor. | |
virtual | ~AInput () |
Destructor. | |
virtual void | updateRowContent () |
Only update the content and not the list itself. | |
virtual void | updateInnerData (const wxString &searchString) |
Update each item available in the input. | |
![]() | |
Panel (wxWindow *parent) | |
Constructor. | |
virtual | ~Panel () |
Destructor. | |
virtual void | onMouseDown (wxMouseEvent &) |
Click down. | |
virtual void | onMouseUp (wxMouseEvent &) |
Click up. | |
virtual void | onMouseClick () |
The panel has been clicked (delayed) | |
virtual void | onMouseEnter () |
The mouse has entered. | |
virtual void | onMouseLeave () |
The mouse has leaved. | |
virtual void | onMouseMoved (int, int) |
The mouse has moved. | |
![]() | |
static void | OnMouseMoveFromExternalComponent () |
Event triggered by any other component (not derived from Panel) | |
![]() | |
![]() | |
virtual bool | triggerMouseClickEvent () const |
Visual Component for displaying thermal clusters of an arbitrary area.
|
protectedvirtual |
Create all needed controls (called by the constructor)
Implements Antares::Toolbox::InputSelector::AInput.
|
inlinevirtual |
Get the recommended size for the control.
Reimplemented from Antares::Toolbox::InputSelector::AInput.
void Antares::Toolbox::InputSelector::ThermalCluster::renameAggregate | ( | Antares::Data::ThermalCluster * | cluster, |
const wxString & | newName, | ||
const bool | broadcast = true ) |
Rename a thermal cluster and refresh inner values.
cluster | The thermal cluster to rename |
newName | The new name of the thermal cluster |
broadcast | Trigger the event to tell that the thermal cluster has changed |
|
virtual |
Clear then Update the input.
Implements Antares::Toolbox::InputSelector::AInput.