View Source wxGridCellFloatRenderer (wx v2.4.2)
Functions for wxGridCellFloatRenderer class
This class may be used to format floating point data in a cell.
See: wxGridCellRenderer
, wxGridCellAutoWrapStringRenderer
(not implemented
in wx), wxGridCellBoolRenderer
, wxGridCellDateTimeRenderer
(not
implemented in wx), wxGridCellEnumRenderer
(not implemented in wx),
wxGridCellNumberRenderer
, wxGridCellStringRenderer
This class is derived (and can use functions) from: wxGridCellStringRenderer
wxGridCellRenderer
wxWidgets docs: wxGridCellFloatRenderer
Summary
Functions
Destroys the object.
Returns the precision.
Returns the width.
Float cell renderer ctor.
The parameters string format is "width[,precision[,format]]" where format
should be chosen between f|e|g|E|G (f is used by default)
Sets the precision.
Sets the width.
Types
-type wxGridCellFloatRenderer() :: wx:wx_object().
Functions
-spec destroy(This :: wxGridCellFloatRenderer()) -> ok.
Destroys the object.
-spec getPrecision(This) -> integer() when This :: wxGridCellFloatRenderer().
Returns the precision.
-spec getWidth(This) -> integer() when This :: wxGridCellFloatRenderer().
Returns the width.
-spec new() -> wxGridCellFloatRenderer().
-spec new([Option]) -> wxGridCellFloatRenderer() when Option :: {width, integer()} | {precision, integer()} | {format, integer()}.
Float cell renderer ctor.
-spec setParameters(This, Params) -> ok when This :: wxGridCellFloatRenderer(), Params :: unicode:chardata().
The parameters string format is "width[,precision[,format]]" where format
should be chosen between f|e|g|E|G (f is used by default)
-spec setPrecision(This, Precision) -> ok when This :: wxGridCellFloatRenderer(), Precision :: integer().
Sets the precision.
-spec setWidth(This, Width) -> ok when This :: wxGridCellFloatRenderer(), Width :: integer().
Sets the width.