21 #ifndef __ANTARES_TOOLBOX_COMPONENT_DATAGRID_RENDERER_AREA_HYDRO_MONTHLY_POWER_H__
22 #define __ANTARES_TOOLBOX_COMPONENT_DATAGRID_RENDERER_AREA_HYDRO_MONTHLY_POWER_H__
25 #include "../matrix.h"
26 #include <antares/date/date.h>
27 #include <antares/study/parts/wind/prepro.h>
29 namespace Antares::Component::Datagrid::Renderer
69 virtual wxString
rowCaption(
int rowIndx)
const;
71 virtual wxString
cellValue(
int x,
int y)
const;
75 virtual bool cellValue(
int,
int,
const Yuni::String&);
77 virtual void resetColors(
int,
int, wxColour&, wxColour&)
const
81 virtual IRenderer::CellStyle cellStyle(
int col,
int row)
const;
88 virtual bool valid()
const
90 return MatrixAncestorType::valid();
Definition: hydromonthlypower.h:34
virtual wxString columnCaption(int colIndx) const
Get the column caption.
Definition: hydromonthlypower.cpp:42
virtual ~HydroMonthlyHours()
Destructor.
Definition: hydromonthlypower.cpp:37
virtual uint maxHeightResize() const
The most suitable column count.
Definition: hydromonthlypower.h:98
virtual int height() const
Get the current height.
Definition: hydromonthlypower.h:60
virtual uint maxWidthResize() const
The most suitable column count.
Definition: hydromonthlypower.h:93
virtual bool cellValue(int, int, const Yuni::String &)
Set the value of a cell.
virtual void onStudyClosed() override
Event: the study has been closed.
Definition: hydromonthlypower.cpp:142
virtual double cellNumericValue(int x, int y) const
Get the value of a cell.
Definition: hydromonthlypower.cpp:63
virtual wxString cellValue(int x, int y) const
Get the string representation of a cell.
Definition: hydromonthlypower.cpp:58
virtual Date::Precision precision()
Time Precision.
Definition: hydromonthlypower.h:83
virtual void onStudyLoaded() override
Event: the study has been loaded.
Definition: hydromonthlypower.cpp:148
virtual int width() const
Get the current width.
Definition: hydromonthlypower.h:55
virtual wxString rowCaption(int rowIndx) const
Get the row caption.
Definition: hydromonthlypower.cpp:133
HydroMonthlyHours(wxWindow *control, Toolbox::InputSelector::Area *notifier, HoursType type)
Constructor.
Definition: hydromonthlypower.cpp:28
Definition for a single area.
Definition: area.h:51
A n-by-n matrix.
Definition: matrix.h:44