Version: 2.9.4
Public Member Functions
wxGridCellFloatEditor Class Reference

#include </home/zeitlin/src/wx/github/interface/wx/grid.h>

Inheritance diagram for wxGridCellFloatEditor:

Detailed Description

The editor for floating point numbers data.

Library:  wxAdvanced
Category:  Grid Related Classes
参照:
wxGridCellEditor, wxGridCellAutoWrapStringEditor, wxGridCellBoolEditor, wxGridCellChoiceEditor, wxGridCellEnumEditor, wxGridCellNumberEditor, wxGridCellTextEditor

Public Member Functions

 wxGridCellFloatEditor (int width=-1, int precision=-1, int format=wxGRID_FLOAT_FORMAT_DEFAULT)
 Float cell editor ctor.
virtual void SetParameters (const wxString &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)

List of all members.


Constructor & Destructor Documentation

wxGridCellFloatEditor::wxGridCellFloatEditor ( int  width = -1,
int  precision = -1,
int  format = wxGRID_FLOAT_FORMAT_DEFAULT 
)

Float cell editor ctor.

Parameters:
widthMinimum number of characters to be shown.
precisionNumber of digits after the decimal dot.
formatThe format to use for displaying the number, a combination of wxGridCellFloatFormat enum elements. This parameter is only available since wxWidgets 2.9.3.

Member Function Documentation

virtual void wxGridCellFloatEditor::SetParameters ( const wxString params) [virtual]

The parameters string format is "width[,precision[,format]]" where format should be chosen between f|e|g|E|G (f is used by default)

Reimplemented from wxGridCellTextEditor.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines