Antares Simulator
Power System Simulator
Loading...
Searching...
No Matches
Antares::Toolbox::InputSelector::ThermalCluster Class Referencefinal

Visual Component for displaying thermal clusters of an arbitrary area. More...

#include <thermal-cluster.h>

Inheritance diagram for Antares::Toolbox::InputSelector::ThermalCluster:
Antares::Toolbox::InputSelector::AInput Antares::Component::Panel

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

- Public Member Functions inherited from Antares::Toolbox::InputSelector::AInput
 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.
 
- Public Member Functions inherited from Antares::Component::Panel
 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 Public Member Functions inherited from Antares::Component::Panel
static void OnMouseMoveFromExternalComponent ()
 Event triggered by any other component (not derived from Panel)
 
- Protected Member Functions inherited from Antares::Toolbox::InputSelector::AInput
- Protected Member Functions inherited from Antares::Component::Panel
virtual bool triggerMouseClickEvent () const
 

Detailed Description

Visual Component for displaying thermal clusters of an arbitrary area.

Member Function Documentation

◆ internalBuildSubControls()

void Antares::Toolbox::InputSelector::ThermalCluster::internalBuildSubControls ( )
protectedvirtual

Create all needed controls (called by the constructor)

Implements Antares::Toolbox::InputSelector::AInput.

◆ recommendedSize()

virtual wxPoint Antares::Toolbox::InputSelector::ThermalCluster::recommendedSize ( ) const
inlinevirtual

Get the recommended size for the control.

Reimplemented from Antares::Toolbox::InputSelector::AInput.

◆ renameAggregate()

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.

Parameters
clusterThe thermal cluster to rename
newNameThe new name of the thermal cluster
broadcastTrigger the event to tell that the thermal cluster has changed

◆ update()

void Antares::Toolbox::InputSelector::ThermalCluster::update ( )
virtual

Clear then Update the input.

Implements Antares::Toolbox::InputSelector::AInput.


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