#include <wx/grid.h>
This class may be used to format floating point data in a cell.
Public Member Functions | |
wxGridCellFloatRenderer (int width=-1, int precision=-1) | |
Float cell renderer ctor. | |
int | GetPrecision () const |
Returns the precision. | |
int | GetWidth () const |
Returns the width. | |
virtual void | SetParameters (const wxString ¶ms) |
Parameters string format is "width[,precision]". | |
void | SetPrecision (int precision) |
Sets the precision. | |
void | SetWidth (int width) |
Sets the width. |
wxGridCellFloatRenderer::wxGridCellFloatRenderer | ( | int | width = -1 , |
|
int | precision = -1 | |||
) |
Float cell renderer ctor.
width | Minimum number of characters to be shown. | |
precision | Number of digits after the decimal dot. |
int wxGridCellFloatRenderer::GetPrecision | ( | ) | const |
Returns the precision.
int wxGridCellFloatRenderer::GetWidth | ( | ) | const |
Returns the width.
virtual void wxGridCellFloatRenderer::SetParameters | ( | const wxString & | params | ) | [virtual] |
Parameters string format is "width[,precision]".
void wxGridCellFloatRenderer::SetPrecision | ( | int | precision | ) |
Sets the precision.
void wxGridCellFloatRenderer::SetWidth | ( | int | width | ) |
Sets the width.
![]() |
[ top ] |