21 #ifndef __ANTARES_TOOLBOX_COMPONENT_DATAGRID_RENDERER_AREA_INFLOWPATTERN_H__
22 #define __ANTARES_TOOLBOX_COMPONENT_DATAGRID_RENDERER_AREA_INFLOWPATTERN_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
48 virtual int width()
const;
49 virtual int height()
const;
53 virtual wxString
rowCaption(
int rowIndx)
const;
55 virtual wxString
cellValue(
int x,
int y)
const;
59 virtual bool cellValue(
int,
int,
const Yuni::String&);
61 virtual void resetColors(
int,
int, wxColour&, wxColour&)
const
70 virtual IRenderer::CellStyle cellStyle(
int col,
int row)
const;
72 virtual bool valid()
const;
Definition: inflowpattern.h:33
virtual wxString cellValue(int x, int y) const
Get the string representation of a cell.
Definition: inflowpattern.cpp:61
virtual void onStudyLoaded() override
Event: the study has been loaded.
Definition: inflowpattern.cpp:151
virtual uint maxHeightResize() const
The most suitable column count.
Definition: inflowpattern.h:79
virtual int height() const
Get the current height.
Definition: inflowpattern.cpp:44
virtual uint maxWidthResize() const
The most suitable column count.
Definition: inflowpattern.h:74
virtual double cellNumericValue(int x, int y) const
Get the value of a cell.
Definition: inflowpattern.cpp:66
virtual void onStudyClosed() override
Event: the study has been closed.
Definition: inflowpattern.cpp:145
virtual int width() const
Get the current width.
Definition: inflowpattern.cpp:39
virtual bool cellValue(int, int, const Yuni::String &)
Set the value of a cell.
virtual wxString columnCaption(int colIndx) const
Get the column caption.
Definition: inflowpattern.cpp:49
InflowPattern(wxWindow *control, Toolbox::InputSelector::Area *notifier)
Constructor.
Definition: inflowpattern.cpp:28
virtual Date::Precision precision()
Time Precision.
Definition: inflowpattern.h:65
virtual wxString rowCaption(int rowIndx) const
Get the row caption.
Definition: inflowpattern.cpp:124
virtual ~InflowPattern()
Destructor.
Definition: inflowpattern.cpp:34
Definition for a single area.
Definition: area.h:51
A n-by-n matrix.
Definition: matrix.h:44