Antares Simulator
Power System Simulator
|
Classes | |
class | IData |
Public Types | |
using | Vector = std::vector<Panel*> |
Vector. | |
using | Layer = Antares::Window::OutputViewer::Layer |
Layer. | |
using | OutputViewerComponent = Antares::Window::OutputViewer::Component |
The output viewer. | |
using | MatrixType = Antares::Matrix<Yuni::CString<64, false>> |
Matrix for loading CSV files. | |
Public Member Functions | |
Constructor & Destructor | |
Panel (OutputViewerComponent *component, wxWindow *parent) | |
Constructor. | |
virtual | ~Panel () |
Destructor. | |
Index | |
void | index (uint i) |
Set the index. | |
uint | index () const |
Get the index. | |
Layer | |
void | layer (Layer *newLayer, bool forceUpdate=false) |
Set the attached layer. | |
const Layer * | layer () const |
Get the attached layer (const) | |
Layer * | layer () |
Get the attached layer. | |
Filename | |
const Yuni::String & | filename () const |
Get the filename currently used (empty if the layer is virtual) | |
Refresh | |
void | forceRefresh () |
Force the GUI refresh. | |
![]() | |
Panel (wxWindow *parent) | |
Constructor. | |
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. | |
Messages | |
void | message (const wxString &msg, const char *image=NULL) |
Replace the whole panel by a message with an icon. | |
void | messageMergeYbY () |
void | loadVirtualLayer () |
void | loadDataFromFile () |
void | loadDataFromMatrix (MatrixType *matrix) |
void | clearAllComponents () |
Additional Inherited Members | |
![]() | |
static void | OnMouseMoveFromExternalComponent () |
Event triggered by any other component (not derived from Panel) | |
![]() | |
virtual bool | triggerMouseClickEvent () const |
|
virtual |
Destructor.
Reimplemented from Antares::Component::Panel.