21#ifndef __ANTARES_TOOLBOX_COMPONENT_DATAGRID_RENDERER_AREA_HYDROPREPRO_H__
22#define __ANTARES_TOOLBOX_COMPONENT_DATAGRID_RENDERER_AREA_HYDROPREPRO_H__
26#include <antares/date/date.h>
27#include <antares/study/parts/wind/prepro.h>
53 virtual int width()
const;
54 virtual int height()
const;
58 virtual wxString
rowCaption(
int rowIndx)
const;
60 virtual wxString
cellValue(
int x,
int y)
const;
64 virtual bool cellValue(
int,
int,
const Yuni::String&);
66 virtual void resetColors(
int,
int, wxColour&, wxColour&)
const
75 virtual IRenderer::CellStyle cellStyle(
int col,
int row)
const;
77 virtual bool valid()
const;
Definition hydroprepro.h:38
virtual Date::Precision precision()
Time Precision.
Definition hydroprepro.h:70
virtual void onStudyLoaded() override
Event: the study has been loaded.
Definition hydroprepro.cpp:225
virtual double cellNumericValue(int x, int y) const
Get the value of a cell.
Definition hydroprepro.cpp:89
virtual wxString columnCaption(int colIndx) const
Get the column caption.
Definition hydroprepro.cpp:54
virtual wxString rowCaption(int rowIndx) const
Get the row caption.
Definition hydroprepro.cpp:202
virtual bool circularShiftRowsUntilDate(MonthName month, uint daymonth)
Rotate all rows until a given date.
Definition hydroprepro.cpp:212
virtual wxString cellValue(int x, int y) const
Get the value of a cell.
Definition hydroprepro.cpp:74
virtual uint maxHeightResize() const
The most suitable column count.
Definition hydroprepro.h:83
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 hydroprepro.cpp:219
virtual int width() const
Get the width of the datagrid.
Definition hydroprepro.cpp:44
HydroPrepro(wxWindow *control, Toolbox::InputSelector::Area *notifier)
Constructor.
Definition hydroprepro.cpp:34
virtual uint maxWidthResize() const
The most suitable column count.
Definition hydroprepro.h:79
virtual ~HydroPrepro()
Destructor.
Definition hydroprepro.cpp:39
virtual int height() const
Get the height of the datagrid.
Definition hydroprepro.cpp:49
Definition for a single area.
Definition area.h:52
A n-by-n matrix.
Definition jit.h:30