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

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

#include <renewable-cluster.h>

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

Constructor & Destructor

Yuni::Event< void(Antares::Data::RenewableCluster *)> onClusterChanged
 Rename a thermal cluster and refresh inner values.
 
 RenewableCluster (wxWindow *parent, InputSelector::Area *area)
 Default Constructor.
 
virtual ~RenewableCluster ()
 Destructor.
 
virtual void update ()
 Clear then Update the input.
 
void updateInnerValues ()
 
virtual void internalBuildSubControls ()
 Create all needed controls (called by the constructor)
 

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.
 
virtual wxPoint recommendedSize () const
 Get the recommended size for the control.
 
- 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 renewable clusters of an arbitrary area.

Member Function Documentation

◆ internalBuildSubControls()

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

Create all needed controls (called by the constructor)

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

◆ update()

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

Clear then Update the input.

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

Member Data Documentation

◆ onClusterChanged

Yuni::Event<void(Antares::Data::RenewableCluster*)> Antares::Toolbox::InputSelector::RenewableCluster::onClusterChanged

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

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