21 #ifndef __ANTARES_TOOLBOX_COMPONENT_DATAGRID_RENDERER_AREA_XCAST_TRANSLATION_H__
22 #define __ANTARES_TOOLBOX_COMPONENT_DATAGRID_RENDERER_AREA_XCAST_TRANSLATION_H__
25 #include "../matrix.h"
27 namespace Antares::Component::Datagrid::Renderer
29 template<enum Data::TimeSeriesType T>
62 virtual wxString
rowCaption(
int rowIndx)
const;
64 virtual wxString
cellValue(
int x,
int y)
const;
68 virtual bool cellValue(
int x,
int y,
const Yuni::String& value);
70 virtual void resetColors(
int,
int, wxColour&, wxColour&)
const
74 virtual IRenderer::CellStyle cellStyle(
int col,
int row)
const;
83 virtual bool valid()
const
85 return MatrixAncestorType::valid();
94 virtual void internalAreaChanged(
Data::Area* area);
104 #include "xcast-translation.hxx"
virtual int height() const override
Get the height of the datagrid.
virtual int width() const override
Get the width of the datagrid.
Definition: xcast-translation.h:31
virtual wxString columnCaption(int colIndx) const
Get the column caption.
Definition: xcast-translation.hxx:43
virtual int width() const
Get the current width.
Definition: xcast-translation.h:50
virtual wxString cellValue(int x, int y) const
Get the string representation of a cell.
Definition: xcast-translation.hxx:49
virtual void onStudyClosed() override
Event: the study has been closed.
Definition: xcast-translation.hxx:117
virtual wxString rowCaption(int rowIndx) const
Get the row caption.
Definition: xcast-translation.hxx:89
virtual double cellNumericValue(int x, int y) const
Get the value of a cell.
Definition: xcast-translation.hxx:55
virtual uint maxWidthResize() const
The most suitable column count.
Definition: xcast-translation.h:78
virtual int height() const
Get the current height.
Definition: xcast-translation.h:55
virtual ~XCastTranslation()
Destructor.
Definition: xcast-translation.hxx:37
virtual Date::Precision precision()
Time Precision.
Definition: xcast-translation.h:88
virtual wxColour horizontalBorderColor(int x, int y) const
Get the color of the horizontal bottom border.
Definition: xcast-translation.hxx:95
XCastTranslation(wxWindow *control, Toolbox::InputSelector::Area *notifier)
Constructor.
Definition: xcast-translation.hxx:30
virtual void onStudyLoaded() override
Event: the study has been loaded.
Definition: xcast-translation.hxx:124
Definition for a single area.
Definition: area.h:51
A n-by-n matrix.
Definition: matrix.h:44