Antares Simulator
Power System Simulator
|
Visual Component for displaying all available areas (and groups) More...
#include <area.h>
Constructor & Destructor | |
static Yuni::Event< void(Data::Area *)> | onAreaChanged |
Public event, triggered when the selected area has changed. | |
Area (wxWindow *parent) | |
Default Constructor. | |
virtual | ~Area () |
Destructor. | |
virtual wxPoint | recommendedSize () const |
Get the recommended size for the control. | |
void | reloadLastArea () |
virtual void | update () |
Clear then Update the input. | |
static Data::Area * | lastArea () |
Get the last area selected by the component. | |
virtual void | internalBuildSubControls () |
void | clear () |
Clear the control and broadcast a change in the current selected area. | |
void | onDraw (wxPaintEvent &evt) |
Callback: draw event. | |
void | onStudyEndUpdate () |
The study has been updated. | |
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 all available areas (and groups)
Antares::Toolbox::InputSelector::Area::Area | ( | wxWindow * | parent | ) |
Default Constructor.
parent | The parent window |
|
protectedvirtual |
Implements Antares::Toolbox::InputSelector::AInput.
|
inlinevirtual |
Get the recommended size for the control.
Reimplemented from Antares::Toolbox::InputSelector::AInput.
|
virtual |
Clear then Update the input.
Implements Antares::Toolbox::InputSelector::AInput.