21 #ifndef __ANTARES_TOOLBOX_COMPONENT_DATAGRID_RENDERER_AREA_MISC_H__
22 #define __ANTARES_TOOLBOX_COMPONENT_DATAGRID_RENDERER_AREA_MISC_H__
25 #include "../matrix.h"
27 namespace Antares::Component::Datagrid::Renderer
62 virtual wxString
cellValue(
int x,
int y)
const;
66 virtual bool cellValue(
int x,
int y,
const Yuni::String& value)
71 virtual void resetColors(
int,
int, wxColour&, wxColour&)
const
75 virtual IRenderer::CellStyle cellStyle(
int col,
int row)
const;
85 virtual bool valid()
const
virtual wxColour horizontalBorderColor(int x, int y) const
Get the color of the horizontal bottom border.
Definition: misc.cpp:120
Misc(wxWindow *control, Toolbox::InputSelector::Area *notifier)
Constructor.
Definition: misc.cpp:30
virtual double cellNumericValue(int x, int y) const
Get the value of a cell.
Definition: misc.cpp:86
virtual Date::Precision precision()
Time Precision.
Definition: misc.h:90
virtual bool cellValue(int x, int y, const Yuni::String &value)
Set the value of a cell.
Definition: misc.h:66
virtual int width() const
Get the current width.
Definition: misc.h:45
virtual void onStudyLoaded() override
Event: the study has been loaded.
Definition: misc.cpp:153
virtual wxString cellValue(int x, int y) const
Get the string representation of a cell.
Definition: misc.cpp:67
virtual ~Misc()
Destructor.
Definition: misc.cpp:36
virtual uint maxWidthResize() const
The most suitable column count.
Definition: misc.h:80
virtual wxString columnCaption(int colIndx) const
Get the column caption.
Definition: misc.cpp:41
virtual wxString rowCaption(int rowIndx) const
Get the row caption.
Definition: misc.h:57
virtual void onStudyClosed() override
Event: the study has been closed.
Definition: misc.cpp:147
virtual wxColour verticalBorderColor(int x, int y) const
Get the color of the vertical right border.
Definition: misc.cpp:141
virtual int height() const
Get the current height.
Definition: misc.h:50
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