Contents Up Previous Next

wxGridCellFloatRenderer

This class may be used to format floating point data in a cell.

Derived from

wxGridCellStringRenderer
wxGridCellRenderer

See also

wxGridCellRenderer, wxGridCellNumberRenderer, wxGridCellStringRenderer, wxGridCellBoolRenderer

Include files

<wx/grid.h>

Members

wxGridCellFloatRenderer::wxGridCellFloatRenderer
wxGridCellFloatRenderer::GetPrecision
wxGridCellFloatRenderer::GetWidth
wxGridCellFloatRenderer::SetParameters
wxGridCellFloatRenderer::SetPrecision
wxGridCellFloatRenderer::SetWidth


wxGridCellFloatRenderer::wxGridCellFloatRenderer

wxGridCellFloatRenderer(int width = -1, int precision = -1)

width

precision


wxGridCellFloatRenderer::GetPrecision

int GetPrecision() const

Returns the precision ( see wxGridCellFloatRenderer ).


wxGridCellFloatRenderer::GetWidth

int GetWidth() const

Returns the width ( see wxGridCellFloatRenderer ).


wxGridCellFloatRenderer::SetParameters

void SetParameters(const wxString& params)

Parameters string format is "width[,precision]".


wxGridCellFloatRenderer::SetPrecision

void SetPrecision(int precision)

Sets the precision ( see wxGridCellFloatRenderer ).


wxGridCellFloatRenderer::SetWidth

void SetWidth(int width)

Sets the width ( see wxGridCellFloatRenderer )