21 #ifndef __ANTARES_TOOLBOX_COMPONENT_DATAGRID_RENDERER_AREA_THERMALPREPRO_H__
22 #define __ANTARES_TOOLBOX_COMPONENT_DATAGRID_RENDERER_AREA_THERMALPREPRO_H__
24 #include "../../../../input/thermal-cluster.h"
25 #include "../matrix.h"
26 #include <antares/solver/ts-generator/prepro.h>
28 namespace Antares::Component::Datagrid::Renderer
60 virtual wxString
rowCaption(
int rowIndx)
const;
62 virtual wxString
cellValue(
int x,
int y)
const;
66 virtual bool cellValue(
int,
int,
const Yuni::String&);
68 virtual void resetColors(
int,
int, wxColour&, wxColour&)
const
77 virtual bool valid()
const
79 return MatrixAncestorType::valid();
82 virtual IRenderer::CellStyle cellStyle(
int col,
int row)
const;
101 virtual void onStudyClosed()
override;
Definition: thermalprepro.h:31
virtual wxColour verticalBorderColor(int x, int y) const
Get the color of the vertical right border.
Definition: thermalprepro.cpp:285
virtual uint maxHeightResize() const
The most suitable column count.
Definition: thermalprepro.h:92
virtual int height() const
Get the height of the datagrid.
Definition: thermalprepro.h:53
virtual Date::Precision precision()
Time Precision.
Definition: thermalprepro.h:72
virtual wxColour horizontalBorderColor(int x, int y) const
Get the color of the horizontal bottom border.
Definition: thermalprepro.cpp:291
ThermalClusterPrepro(wxWindow *control, Toolbox::InputSelector::ThermalCluster *notifier)
Default constructor.
Definition: thermalprepro.cpp:78
virtual wxString rowCaption(int rowIndx) const
Get the row caption.
Definition: thermalprepro.cpp:201
virtual double cellNumericValue(int x, int y) const
Get the value of a cell.
Definition: thermalprepro.cpp:150
virtual ~ThermalClusterPrepro()
Destructor.
Definition: thermalprepro.cpp:89
virtual bool cellValue(int, int, const Yuni::String &)
Set the value of a cell.
virtual int width() const
Get the width of the datagrid.
Definition: thermalprepro.h:48
virtual wxString cellValue(int x, int y) const
Get the value of a cell.
Definition: thermalprepro.cpp:120
virtual wxString columnCaption(int colIndx) const
Get the column caption.
Definition: thermalprepro.cpp:94
virtual uint maxWidthResize() const
The most suitable column count.
Definition: thermalprepro.h:87
Thermal.
Definition: prepro.h:35
A single thermal cluster.
Definition: cluster.h:76
A n-by-n matrix.
Definition: matrix.h:44