Antares Simulator
Power System Simulator
|
Visual Component for displaying renewable clusters of an arbitrary area. More...
#include <renewable-cluster.h>
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 | |
![]() | |
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. | |
![]() | |
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 renewable clusters of an arbitrary area.
|
protectedvirtual |
Create all needed controls (called by the constructor)
Implements Antares::Toolbox::InputSelector::AInput.
|
virtual |
Clear then Update the input.
Implements Antares::Toolbox::InputSelector::AInput.
Yuni::Event<void(Antares::Data::RenewableCluster*)> Antares::Toolbox::InputSelector::RenewableCluster::onClusterChanged |
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 |