#include </home/zeitlin/src/wx/github/interface/wx/grid.h>
Public Member Functions | |
wxGridCellNumberEditor (int min=-1, int max=-1) | |
Allows you to specify the range for acceptable data. | |
virtual void | SetParameters (const wxString ¶ms) |
Parameters string format is "min,max". | |
Protected Member Functions | |
bool | HasRange () const |
If the return value is true, the editor uses a wxSpinCtrl to get user input, otherwise it uses a wxTextCtrl. | |
wxString | GetString () const |
String representation of the value. |
wxGridCellNumberEditor::wxGridCellNumberEditor | ( | int | min = -1 , |
int | max = -1 |
||
) |
Allows you to specify the range for acceptable data.
Values equal to -1 for both min and max indicate that no range checking should be done.
wxString wxGridCellNumberEditor::GetString | ( | ) | const [protected] |
String representation of the value.
bool wxGridCellNumberEditor::HasRange | ( | ) | const [protected] |
If the return value is true, the editor uses a wxSpinCtrl to get user input, otherwise it uses a wxTextCtrl.
virtual void wxGridCellNumberEditor::SetParameters | ( | const wxString & | params | ) | [virtual] |
Parameters string format is "min,max".
Reimplemented from wxGridCellTextEditor.