1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>wxWidgets: wxGridCellFloatRenderer Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="extra_stylesheet.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="page_container">
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0" style="width: 100%;">
<tbody>
<tr>
<td id="projectlogo">
<a href="http://www.wxwidgets.org/" target="_new">
<img alt="wxWidgets" src="logo.png"/>
</a>
</td>
<td style="padding-left: 0.5em; text-align: right;">
<span id="projectnumber">Version: 3.0.2</span>
</td>
</tr>
</tbody>
</table>
</div>
<!-- Generated by Doxygen 1.8.2 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="modules.html"><span>Categories</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="classes.html"><span>Class Index</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="classwx_grid_cell_float_renderer-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">wxGridCellFloatRenderer Class Reference<div class="ingroups"><a class="el" href="group__group__class__grid.html">Grid Related Classes</a></div></div> </div>
</div><!--header-->
<div class="contents">
<p><code>#include <wx/grid.h></code></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
<img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for wxGridCellFloatRenderer:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="classwx_grid_cell_float_renderer__inherit__graph.png" border="0" usemap="#wx_grid_cell_float_renderer_inherit__map" alt="Inheritance graph"/></div>
<map name="wx_grid_cell_float_renderer_inherit__map" id="wx_grid_cell_float_renderer_inherit__map">
<area shape="rect" id="node2" href="classwx_grid_cell_string_renderer.html" title="This class may be used to format string data in a cell; it is the default for string cells..." alt="" coords="72,161,240,189"/><area shape="rect" id="node4" href="classwx_grid_cell_renderer.html" title="This class is responsible for actually drawing the cell in the grid." alt="" coords="89,83,223,111"/><area shape="rect" id="node6" href="classwx_client_data_container.html" title="This class is a mixin that provides storage and management of "client data"." alt="" coords="5,6,157,34"/><area shape="rect" id="node8" href="classwx_ref_counter.html" title="This class is used to manage reference-counting providing a simple interface and a counter..." alt="" coords="181,6,283,34"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>This class may be used to format floating point data in a cell. </p>
<h2></h2>
<div><span class="lib">Library:</span>  <span class="lib_text"><a class="el" href="page_libs.html#page_libs_wxadv">wxAdvanced</a></span></div><div><span class="category">Category:</span>  <span class="category_text"><a class="el" href="group__group__class__grid.html">Grid Related Classes</a></span></div><dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_grid_cell_renderer.html" title="This class is responsible for actually drawing the cell in the grid.">wxGridCellRenderer</a>, <a class="el" href="classwx_grid_cell_auto_wrap_string_renderer.html" title="This class may be used to format string data in a cell.">wxGridCellAutoWrapStringRenderer</a>, <a class="el" href="classwx_grid_cell_bool_renderer.html" title="This class may be used to format boolean data in a cell.">wxGridCellBoolRenderer</a>, <a class="el" href="classwx_grid_cell_date_time_renderer.html" title="This class may be used to format a date/time data in a cell.">wxGridCellDateTimeRenderer</a>, <a class="el" href="classwx_grid_cell_enum_renderer.html" title="This class may be used to render in a cell a number as a textual equivalent.">wxGridCellEnumRenderer</a>, <a class="el" href="classwx_grid_cell_number_renderer.html" title="This class may be used to format integer data in a cell.">wxGridCellNumberRenderer</a>, <a class="el" href="classwx_grid_cell_string_renderer.html" title="This class may be used to format string data in a cell; it is the default for string cells...">wxGridCellStringRenderer</a> </dd></dl>
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:af59b4b46093f250aa77b9aac9a30e61d"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_grid_cell_float_renderer.html#af59b4b46093f250aa77b9aac9a30e61d">wxGridCellFloatRenderer</a> (int width=-1, int precision=-1, int format=<a class="el" href="interface_2wx_2grid_8h.html#a6594fb49b365ff74b4f51d0a024d1105afcd820d137b90d7f984ce0bfdf72f739">wxGRID_FLOAT_FORMAT_DEFAULT</a>)</td></tr>
<tr class="memdesc:af59b4b46093f250aa77b9aac9a30e61d"><td class="mdescLeft"> </td><td class="mdescRight">Float cell renderer ctor. <a href="#af59b4b46093f250aa77b9aac9a30e61d"></a><br/></td></tr>
<tr class="separator:af59b4b46093f250aa77b9aac9a30e61d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0546923deb3a5aadfe91c32c36717629"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_grid_cell_float_renderer.html#a0546923deb3a5aadfe91c32c36717629">GetFormat</a> () const </td></tr>
<tr class="memdesc:a0546923deb3a5aadfe91c32c36717629"><td class="mdescLeft"> </td><td class="mdescRight">Returns the specifier used to format the data to string. <a href="#a0546923deb3a5aadfe91c32c36717629"></a><br/></td></tr>
<tr class="separator:a0546923deb3a5aadfe91c32c36717629"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2d55693158876a25e43e38eacbe32deb"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_grid_cell_float_renderer.html#a2d55693158876a25e43e38eacbe32deb">GetPrecision</a> () const </td></tr>
<tr class="memdesc:a2d55693158876a25e43e38eacbe32deb"><td class="mdescLeft"> </td><td class="mdescRight">Returns the precision. <a href="#a2d55693158876a25e43e38eacbe32deb"></a><br/></td></tr>
<tr class="separator:a2d55693158876a25e43e38eacbe32deb"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1af5d5244f1c906aa9ef7eb11fca5b64"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_grid_cell_float_renderer.html#a1af5d5244f1c906aa9ef7eb11fca5b64">GetWidth</a> () const </td></tr>
<tr class="memdesc:a1af5d5244f1c906aa9ef7eb11fca5b64"><td class="mdescLeft"> </td><td class="mdescRight">Returns the width. <a href="#a1af5d5244f1c906aa9ef7eb11fca5b64"></a><br/></td></tr>
<tr class="separator:a1af5d5244f1c906aa9ef7eb11fca5b64"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1a842e454dd25b0d287686487a8c20ce"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_grid_cell_float_renderer.html#a1a842e454dd25b0d287686487a8c20ce">SetFormat</a> (int format)</td></tr>
<tr class="memdesc:a1a842e454dd25b0d287686487a8c20ce"><td class="mdescLeft"> </td><td class="mdescRight">Set the format to use for display the number. <a href="#a1a842e454dd25b0d287686487a8c20ce"></a><br/></td></tr>
<tr class="separator:a1a842e454dd25b0d287686487a8c20ce"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa95d698f378dc182efd0e0760881bcc8"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_grid_cell_float_renderer.html#aa95d698f378dc182efd0e0760881bcc8">SetParameters</a> (const <a class="el" href="classwx_string.html">wxString</a> &params)</td></tr>
<tr class="memdesc:aa95d698f378dc182efd0e0760881bcc8"><td class="mdescLeft"> </td><td class="mdescRight">The parameters string format is "width[,precision[,format]]" where <code>format</code> should be chosen between f|e|g|E|G (f is used by default) <a href="#aa95d698f378dc182efd0e0760881bcc8"></a><br/></td></tr>
<tr class="separator:aa95d698f378dc182efd0e0760881bcc8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa007a50469b1dd84af29d53551fc66ce"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_grid_cell_float_renderer.html#aa007a50469b1dd84af29d53551fc66ce">SetPrecision</a> (int precision)</td></tr>
<tr class="memdesc:aa007a50469b1dd84af29d53551fc66ce"><td class="mdescLeft"> </td><td class="mdescRight">Sets the precision. <a href="#aa007a50469b1dd84af29d53551fc66ce"></a><br/></td></tr>
<tr class="separator:aa007a50469b1dd84af29d53551fc66ce"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab8cfe22849be2893627f169868062c2b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_grid_cell_float_renderer.html#ab8cfe22849be2893627f169868062c2b">SetWidth</a> (int width)</td></tr>
<tr class="memdesc:ab8cfe22849be2893627f169868062c2b"><td class="mdescLeft"> </td><td class="mdescRight">Sets the width. <a href="#ab8cfe22849be2893627f169868062c2b"></a><br/></td></tr>
<tr class="separator:ab8cfe22849be2893627f169868062c2b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classwx_grid_cell_string_renderer"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classwx_grid_cell_string_renderer')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classwx_grid_cell_string_renderer.html">wxGridCellStringRenderer</a></td></tr>
<tr class="memitem:a70b06ac882fc1f7481ae66af4a87bf16 inherit pub_methods_classwx_grid_cell_string_renderer"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_grid_cell_string_renderer.html#a70b06ac882fc1f7481ae66af4a87bf16">wxGridCellStringRenderer</a> ()</td></tr>
<tr class="memdesc:a70b06ac882fc1f7481ae66af4a87bf16 inherit pub_methods_classwx_grid_cell_string_renderer"><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. <a href="#a70b06ac882fc1f7481ae66af4a87bf16"></a><br/></td></tr>
<tr class="separator:a70b06ac882fc1f7481ae66af4a87bf16 inherit pub_methods_classwx_grid_cell_string_renderer"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classwx_grid_cell_renderer"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classwx_grid_cell_renderer')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classwx_grid_cell_renderer.html">wxGridCellRenderer</a></td></tr>
<tr class="memitem:a023f503b35120ae37a659b6856335594 inherit pub_methods_classwx_grid_cell_renderer"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_grid_cell_renderer.html#a023f503b35120ae37a659b6856335594">wxGridCellRenderer</a> ()</td></tr>
<tr class="separator:a023f503b35120ae37a659b6856335594 inherit pub_methods_classwx_grid_cell_renderer"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a55c1db8c06f8cb994beb90615d5264f7 inherit pub_methods_classwx_grid_cell_renderer"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classwx_grid_cell_renderer.html">wxGridCellRenderer</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_grid_cell_renderer.html#a55c1db8c06f8cb994beb90615d5264f7">Clone</a> () const =0</td></tr>
<tr class="memdesc:a55c1db8c06f8cb994beb90615d5264f7 inherit pub_methods_classwx_grid_cell_renderer"><td class="mdescLeft"> </td><td class="mdescRight">This function must be implemented in derived classes to return a copy of itself. <a href="#a55c1db8c06f8cb994beb90615d5264f7"></a><br/></td></tr>
<tr class="separator:a55c1db8c06f8cb994beb90615d5264f7 inherit pub_methods_classwx_grid_cell_renderer"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1848512422742bbbf9dec1b173bfc752 inherit pub_methods_classwx_grid_cell_renderer"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_grid_cell_renderer.html#a1848512422742bbbf9dec1b173bfc752">Draw</a> (<a class="el" href="classwx_grid.html">wxGrid</a> &grid, <a class="el" href="classwx_grid_cell_attr.html">wxGridCellAttr</a> &attr, <a class="el" href="classwx_d_c.html">wxDC</a> &dc, const <a class="el" href="classwx_rect.html">wxRect</a> &rect, int row, int col, bool isSelected)=0</td></tr>
<tr class="memdesc:a1848512422742bbbf9dec1b173bfc752 inherit pub_methods_classwx_grid_cell_renderer"><td class="mdescLeft"> </td><td class="mdescRight">Draw the given cell on the provided DC inside the given rectangle using the style specified by the attribute and the default or selected state corresponding to the isSelected value. <a href="#a1848512422742bbbf9dec1b173bfc752"></a><br/></td></tr>
<tr class="separator:a1848512422742bbbf9dec1b173bfc752 inherit pub_methods_classwx_grid_cell_renderer"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a747661d7b50f6bc5d67a6ac218b12ed8 inherit pub_methods_classwx_grid_cell_renderer"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classwx_size.html">wxSize</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_grid_cell_renderer.html#a747661d7b50f6bc5d67a6ac218b12ed8">GetBestSize</a> (<a class="el" href="classwx_grid.html">wxGrid</a> &grid, <a class="el" href="classwx_grid_cell_attr.html">wxGridCellAttr</a> &attr, <a class="el" href="classwx_d_c.html">wxDC</a> &dc, int row, int col)=0</td></tr>
<tr class="memdesc:a747661d7b50f6bc5d67a6ac218b12ed8 inherit pub_methods_classwx_grid_cell_renderer"><td class="mdescLeft"> </td><td class="mdescRight">Get the preferred size of the cell for its contents. <a href="#a747661d7b50f6bc5d67a6ac218b12ed8"></a><br/></td></tr>
<tr class="separator:a747661d7b50f6bc5d67a6ac218b12ed8 inherit pub_methods_classwx_grid_cell_renderer"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classwx_client_data_container"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classwx_client_data_container')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classwx_client_data_container.html">wxClientDataContainer</a></td></tr>
<tr class="memitem:a7de68b5dc45762f7507840d9deac511b inherit pub_methods_classwx_client_data_container"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_client_data_container.html#a7de68b5dc45762f7507840d9deac511b">wxClientDataContainer</a> ()</td></tr>
<tr class="memdesc:a7de68b5dc45762f7507840d9deac511b inherit pub_methods_classwx_client_data_container"><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. <a href="#a7de68b5dc45762f7507840d9deac511b"></a><br/></td></tr>
<tr class="separator:a7de68b5dc45762f7507840d9deac511b inherit pub_methods_classwx_client_data_container"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a20946ab7128a84681ccb7d5da52ba695 inherit pub_methods_classwx_client_data_container"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_client_data_container.html#a20946ab7128a84681ccb7d5da52ba695">~wxClientDataContainer</a> ()</td></tr>
<tr class="memdesc:a20946ab7128a84681ccb7d5da52ba695 inherit pub_methods_classwx_client_data_container"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#a20946ab7128a84681ccb7d5da52ba695"></a><br/></td></tr>
<tr class="separator:a20946ab7128a84681ccb7d5da52ba695 inherit pub_methods_classwx_client_data_container"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae20037f89a0300067a3bddc302aed862 inherit pub_methods_classwx_client_data_container"><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_client_data_container.html#ae20037f89a0300067a3bddc302aed862">GetClientData</a> () const </td></tr>
<tr class="memdesc:ae20037f89a0300067a3bddc302aed862 inherit pub_methods_classwx_client_data_container"><td class="mdescLeft"> </td><td class="mdescRight">Get the untyped client data. <a href="#ae20037f89a0300067a3bddc302aed862"></a><br/></td></tr>
<tr class="separator:ae20037f89a0300067a3bddc302aed862 inherit pub_methods_classwx_client_data_container"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af9c93cd0b2bf558e1373ec3af9a25b72 inherit pub_methods_classwx_client_data_container"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_client_data.html">wxClientData</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_client_data_container.html#af9c93cd0b2bf558e1373ec3af9a25b72">GetClientObject</a> () const </td></tr>
<tr class="memdesc:af9c93cd0b2bf558e1373ec3af9a25b72 inherit pub_methods_classwx_client_data_container"><td class="mdescLeft"> </td><td class="mdescRight">Get a pointer to the client data object. <a href="#af9c93cd0b2bf558e1373ec3af9a25b72"></a><br/></td></tr>
<tr class="separator:af9c93cd0b2bf558e1373ec3af9a25b72 inherit pub_methods_classwx_client_data_container"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3b291dde8d851583b00e6917af539d13 inherit pub_methods_classwx_client_data_container"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_client_data_container.html#a3b291dde8d851583b00e6917af539d13">SetClientData</a> (void *data)</td></tr>
<tr class="memdesc:a3b291dde8d851583b00e6917af539d13 inherit pub_methods_classwx_client_data_container"><td class="mdescLeft"> </td><td class="mdescRight">Set the untyped client data. <a href="#a3b291dde8d851583b00e6917af539d13"></a><br/></td></tr>
<tr class="separator:a3b291dde8d851583b00e6917af539d13 inherit pub_methods_classwx_client_data_container"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afc03e080cc61dd9acaac86b76965cbb5 inherit pub_methods_classwx_client_data_container"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_client_data_container.html#afc03e080cc61dd9acaac86b76965cbb5">SetClientObject</a> (<a class="el" href="classwx_client_data.html">wxClientData</a> *data)</td></tr>
<tr class="memdesc:afc03e080cc61dd9acaac86b76965cbb5 inherit pub_methods_classwx_client_data_container"><td class="mdescLeft"> </td><td class="mdescRight">Set the client data object. <a href="#afc03e080cc61dd9acaac86b76965cbb5"></a><br/></td></tr>
<tr class="separator:afc03e080cc61dd9acaac86b76965cbb5 inherit pub_methods_classwx_client_data_container"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classwx_ref_counter"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classwx_ref_counter')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classwx_ref_counter.html">wxRefCounter</a></td></tr>
<tr class="memitem:aebcddb8241dfea7f60f8e4df6776a0e3 inherit pub_methods_classwx_ref_counter"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_ref_counter.html#aebcddb8241dfea7f60f8e4df6776a0e3">wxRefCounter</a> ()</td></tr>
<tr class="memdesc:aebcddb8241dfea7f60f8e4df6776a0e3 inherit pub_methods_classwx_ref_counter"><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. <a href="#aebcddb8241dfea7f60f8e4df6776a0e3"></a><br/></td></tr>
<tr class="separator:aebcddb8241dfea7f60f8e4df6776a0e3 inherit pub_methods_classwx_ref_counter"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a803eb5be907b1a342082ceb59c01d8c5 inherit pub_methods_classwx_ref_counter"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_ref_counter.html#a803eb5be907b1a342082ceb59c01d8c5">DecRef</a> ()</td></tr>
<tr class="memdesc:a803eb5be907b1a342082ceb59c01d8c5 inherit pub_methods_classwx_ref_counter"><td class="mdescLeft"> </td><td class="mdescRight">Decrements the reference count associated with this shared data and, if it reaches zero, destroys this instance of <a class="el" href="classwx_ref_counter.html" title="This class is used to manage reference-counting providing a simple interface and a counter...">wxRefCounter</a> releasing its memory. <a href="#a803eb5be907b1a342082ceb59c01d8c5"></a><br/></td></tr>
<tr class="separator:a803eb5be907b1a342082ceb59c01d8c5 inherit pub_methods_classwx_ref_counter"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a89049a62c4e8f7823e2ef6216685f109 inherit pub_methods_classwx_ref_counter"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_ref_counter.html#a89049a62c4e8f7823e2ef6216685f109">GetRefCount</a> () const </td></tr>
<tr class="memdesc:a89049a62c4e8f7823e2ef6216685f109 inherit pub_methods_classwx_ref_counter"><td class="mdescLeft"> </td><td class="mdescRight">Returns the reference count associated with this shared data. <a href="#a89049a62c4e8f7823e2ef6216685f109"></a><br/></td></tr>
<tr class="separator:a89049a62c4e8f7823e2ef6216685f109 inherit pub_methods_classwx_ref_counter"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9fec1fb6f778d9df7a8c046ad6a2d887 inherit pub_methods_classwx_ref_counter"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_ref_counter.html#a9fec1fb6f778d9df7a8c046ad6a2d887">IncRef</a> ()</td></tr>
<tr class="memdesc:a9fec1fb6f778d9df7a8c046ad6a2d887 inherit pub_methods_classwx_ref_counter"><td class="mdescLeft"> </td><td class="mdescRight">Increments the reference count associated with this shared data. <a href="#a9fec1fb6f778d9df7a8c046ad6a2d887"></a><br/></td></tr>
<tr class="separator:a9fec1fb6f778d9df7a8c046ad6a2d887 inherit pub_methods_classwx_ref_counter"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pro_methods_classwx_grid_cell_renderer"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classwx_grid_cell_renderer')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classwx_grid_cell_renderer.html">wxGridCellRenderer</a></td></tr>
<tr class="memitem:ab65211e7eebb25f4c47e0d6ce13a3b6e inherit pro_methods_classwx_grid_cell_renderer"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_grid_cell_renderer.html#ab65211e7eebb25f4c47e0d6ce13a3b6e">~wxGridCellRenderer</a> ()</td></tr>
<tr class="memdesc:ab65211e7eebb25f4c47e0d6ce13a3b6e inherit pro_methods_classwx_grid_cell_renderer"><td class="mdescLeft"> </td><td class="mdescRight">The destructor is private because only <a class="el" href="classwx_ref_counter.html#a803eb5be907b1a342082ceb59c01d8c5" title="Decrements the reference count associated with this shared data and, if it reaches zero...">DecRef()</a> can delete us. <a href="#ab65211e7eebb25f4c47e0d6ce13a3b6e"></a><br/></td></tr>
<tr class="separator:ab65211e7eebb25f4c47e0d6ce13a3b6e inherit pro_methods_classwx_grid_cell_renderer"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<h2 class="groupheader">Constructor & Destructor Documentation</h2>
<a class="anchor" id="af59b4b46093f250aa77b9aac9a30e61d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">wxGridCellFloatRenderer::wxGridCellFloatRenderer </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>width</em> = <code>-1</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>precision</em> = <code>-1</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>format</em> = <code><a class="el" href="interface_2wx_2grid_8h.html#a6594fb49b365ff74b4f51d0a024d1105afcd820d137b90d7f984ce0bfdf72f739">wxGRID_FLOAT_FORMAT_DEFAULT</a></code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Float cell renderer ctor. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">width</td><td>Minimum number of characters to be shown. </td></tr>
<tr><td class="paramname">precision</td><td>Number of digits after the decimal dot. </td></tr>
<tr><td class="paramname">format</td><td>The format used to display the string, must be a combination of <a class="el" href="interface_2wx_2grid_8h.html#a6594fb49b365ff74b4f51d0a024d1105" title="Specifier used to format the data to string for the numbers handled by wxGridCellFloatRenderer and wx...">wxGridCellFloatFormat</a> enum elements. This parameter is only available since wxWidgets 2.9.3. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a0546923deb3a5aadfe91c32c36717629"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int wxGridCellFloatRenderer::GetFormat </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the specifier used to format the data to string. </p>
<p>The returned value is a combination of <a class="el" href="interface_2wx_2grid_8h.html#a6594fb49b365ff74b4f51d0a024d1105" title="Specifier used to format the data to string for the numbers handled by wxGridCellFloatRenderer and wx...">wxGridCellFloatFormat</a> elements.</p>
<dl class="section since"><dt>Since</dt><dd>2.9.3 </dd></dl>
</div>
</div>
<a class="anchor" id="a2d55693158876a25e43e38eacbe32deb"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int wxGridCellFloatRenderer::GetPrecision </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the precision. </p>
</div>
</div>
<a class="anchor" id="a1af5d5244f1c906aa9ef7eb11fca5b64"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int wxGridCellFloatRenderer::GetWidth </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the width. </p>
</div>
</div>
<a class="anchor" id="a1a842e454dd25b0d287686487a8c20ce"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxGridCellFloatRenderer::SetFormat </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>format</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the format to use for display the number. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">format</td><td>Must be a combination of <a class="el" href="interface_2wx_2grid_8h.html#a6594fb49b365ff74b4f51d0a024d1105" title="Specifier used to format the data to string for the numbers handled by wxGridCellFloatRenderer and wx...">wxGridCellFloatFormat</a> enum elements.</td></tr>
</table>
</dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>2.9.3 </dd></dl>
</div>
</div>
<a class="anchor" id="aa95d698f378dc182efd0e0760881bcc8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxGridCellFloatRenderer::SetParameters </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>params</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>The parameters string format is "width[,precision[,format]]" where <code>format</code> should be chosen between f|e|g|E|G (f is used by default) </p>
</div>
</div>
<a class="anchor" id="aa007a50469b1dd84af29d53551fc66ce"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxGridCellFloatRenderer::SetPrecision </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>precision</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the precision. </p>
</div>
</div>
<a class="anchor" id="ab8cfe22849be2893627f169868062c2b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxGridCellFloatRenderer::SetWidth </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>width</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the width. </p>
</div>
</div>
</div><!-- contents -->
<address class="footer">
<small>
Generated on Thu Nov 27 2014 13:46:48 for wxWidgets by <a href="http://www.doxygen.org/index.html" target="_new">Doxygen</a> 1.8.2
</small>
</address>
<script src="wxwidgets.js" type="text/javascript"></script>
</div><!-- #page_container -->
</body>
</html>
|