wxGridCellFloatRenderer
Implements methods from the following classes
wxGridCellStringRenderer
Methods
wxGridCellFloatRenderer
Float cell renderer ctor.
GetFormat
Returns the specifier used to format the data to string.
GetPrecision
Returns the precision.
GetWidth
Returns the width.
SetFormat
Set the format to use for display the number.
SetParameters
The parameters string format is "width[,precision[,format]]" where format should be chosen between f|e|g|E|G (f is used by default)
SetPrecision
Sets the precision.
SetWidth
Sets the width.
Static Methods
wxGridCellFloatRenderer
wxGridCellFloatRenderer
(
integer
$width
=
-1
,
integer
$precision
=
-1
,
integer
$format
=
wxGRID_FLOAT_FORMAT_DEFAULT
)
Float cell renderer ctor.
GetFormat
integer
GetFormat
( )
Returns the specifier used to format the data to string.
GetPrecision
integer
GetPrecision
( )
Returns the precision.
GetWidth
integer
GetWidth
( )
Returns the width.
SetFormat
SetFormat
(
integer
$format
)
Set the format to use for display the number.
SetParameters
SetParameters
(
string
$params
)
The parameters string format is "width[,precision[,format]]" where format should be chosen between f|e|g|E|G (f is used by default)
SetPrecision
SetPrecision
(
integer
$precision
)
Sets the precision.
SetWidth
SetWidth
(
integer
$width
)
Sets the width.