21 #ifndef __ANTARES_TOOLBOX_COMPONENT_DATAGRID_RENDERER_AREA_DSM_H__
22 #define __ANTARES_TOOLBOX_COMPONENT_DATAGRID_RENDERER_AREA_DSM_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
73 virtual bool cellValue(
int x,
int y,
const Yuni::String& value)
78 virtual void resetColors(
int,
int, wxColour&, wxColour&)
const
82 virtual IRenderer::CellStyle cellStyle(
int col,
int row)
const;
91 virtual bool valid()
const
DSM(wxWindow *control, Toolbox::InputSelector::Area *notifier)
Constructor.
Definition: dsm.cpp:27
virtual int width() const
Get the current width.
Definition: dsm.h:46
virtual ~DSM()
Destructor.
Definition: dsm.cpp:33
virtual wxString cellValue(int x, int y) const
Get the string representation of a cell.
Definition: dsm.h:63
virtual uint maxWidthResize() const
The most suitable column count.
Definition: dsm.h:86
virtual void onStudyLoaded() override
Event: the study has been loaded.
Definition: dsm.cpp:96
virtual double cellNumericValue(int x, int y) const
Get the value of a cell.
Definition: dsm.h:68
virtual Date::Precision precision()
Time Precision.
Definition: dsm.h:96
virtual wxColour horizontalBorderColor(int x, int y) const
Get the color of the horizontal bottom border.
Definition: dsm.cpp:69
virtual int height() const
Get the current height.
Definition: dsm.h:51
virtual wxString rowCaption(int rowIndx) const
Get the row caption.
Definition: dsm.h:58
virtual bool cellValue(int x, int y, const Yuni::String &value)
Set the value of a cell.
Definition: dsm.h:73
virtual wxString columnCaption(int colIndx) const
Get the column caption.
Definition: dsm.cpp:38
virtual void onStudyClosed() override
Event: the study has been closed.
Definition: dsm.cpp:90
Definition for a single area.
Definition: area.h:51
A n-by-n matrix.
Definition: matrix.h:44
uint height
Height of the matrix.
Definition: matrix.h:443
uint width
Width of the matrix.
Definition: matrix.h:441