1wxGridCellFloatRenderer(3) Erlang Module Definition wxGridCellFloatRenderer(3)
2
3
4

NAME

6       wxGridCellFloatRenderer - Functions for wxGridCellFloatRenderer class
7

DESCRIPTION

9       This class may be used to format floating point data in a cell.
10
11       See:  wxGridCellRenderer,  wxGridCellAutoWrapStringRenderer (not imple‐
12       mented in wx), wxGridCellBoolRenderer, wxGridCellDateTimeRenderer  (not
13       implemented in wx), wxGridCellEnumRenderer (not implemented in wx), wx‐
14       GridCellNumberRenderer, wxGridCellStringRenderer
15
16       This class  is  derived  (and  can  use  functions)  from:  wxGridCell‐
17       StringRenderer wxGridCellRenderer
18
19       wxWidgets docs: wxGridCellFloatRenderer
20

DATA TYPES

22       wxGridCellFloatRenderer() = wx:wx_object()
23

EXPORTS

25       new() -> wxGridCellFloatRenderer()
26
27       new(Options :: [Option]) -> wxGridCellFloatRenderer()
28
29              Types:
30
31                 Option =
32                     {width, integer()} |
33                     {precision, integer()} |
34                     {format, integer()}
35
36              Float cell renderer ctor.
37
38       getPrecision(This) -> integer()
39
40              Types:
41
42                 This = wxGridCellFloatRenderer()
43
44              Returns the precision.
45
46       getWidth(This) -> integer()
47
48              Types:
49
50                 This = wxGridCellFloatRenderer()
51
52              Returns the width.
53
54       setParameters(This, Params) -> ok
55
56              Types:
57
58                 This = wxGridCellFloatRenderer()
59                 Params = unicode:chardata()
60
61              The  parameters  string  format  is "width[,precision[,format]]"
62              where format should be chosen between f|e|g|E|G (f  is  used  by
63              default)
64
65       setPrecision(This, Precision) -> ok
66
67              Types:
68
69                 This = wxGridCellFloatRenderer()
70                 Precision = integer()
71
72              Sets the precision.
73
74       setWidth(This, Width) -> ok
75
76              Types:
77
78                 This = wxGridCellFloatRenderer()
79                 Width = integer()
80
81              Sets the width.
82
83       destroy(This :: wxGridCellFloatRenderer()) -> ok
84
85              Destroys the object.
86
87
88
89wxWidgets team.                    wx 2.2.2         wxGridCellFloatRenderer(3)
Impressum