Public Member Functions | |
virtual wxObject * | Clone () const |
Returns a copy of the instance of the validator. | |
FileNameValidator (const FileNameValidator &source) | |
Copy constructor. | |
FileNameValidator (wxString *pValue) | |
Constructor. | |
FileNameValidator & | operator= (const FileNameValidator &source) |
Assignment operator. | |
virtual bool | TransferFromWindow () |
Transfers the value in the window to the validator. | |
virtual bool | TransferToWindow () |
Transfers the value associated with the validator to the window. | |
virtual bool | Validate (wxWindow *parent) |
Validates the value in the associated window. | |
Protected Member Functions | |
void | clone (const FileNameValidator &source) |
Clones the source instance in this instance. | |
wxTextCtrl * | GetTextCtrl () const |
Returns the wxTextCtrl associated with the validator. | |
Protected Attributes | |
wxString * | value |
Adress of the string where the value will be transfered. |
Checks that the given file name has an absolute path and that the path exists.
If the file already exists, ask for overwriting.
Definition at line 69 of file dlgNewFile.cpp.
|
Constructor.
Definition at line 110 of file dlgNewFile.cpp. References value. Referenced by FileNameValidator(). |
|
Copy constructor.
Definition at line 137 of file dlgNewFile.cpp. References FileNameValidator(). |
|
Returns a copy of the instance of the validator.
Definition at line 163 of file dlgNewFile.cpp. |
|
Clones the source instance in this instance.
Definition at line 122 of file dlgNewFile.cpp. References clone(), and value. Referenced by clone(). |
|
Returns the
Definition at line 177 of file dlgNewFile.cpp. Referenced by TransferFromWindow(), TransferToWindow(), and Validate(). |
|
Assignment operator.
Definition at line 150 of file dlgNewFile.cpp. References operator=(). Referenced by operator=(). |
|
Transfers the value in the window to the validator.
Definition at line 258 of file dlgNewFile.cpp. References GetTextCtrl(), and value. |
|
Transfers the value associated with the validator to the window.
return Definition at line 277 of file dlgNewFile.cpp. References GetTextCtrl(), and value. |
|
Validates the value in the associated window.
Definition at line 195 of file dlgNewFile.cpp. References GetTextCtrl(), and Validate(). Referenced by Validate(). |
|
Adress of the string where the value will be transfered.
Definition at line 72 of file dlgNewFile.cpp. Referenced by clone(), FileNameValidator(), TransferFromWindow(), and TransferToWindow(). |