Share and Money Management 0.18devel
|
Base class for all validators. More...
Public Member Functions | |
def | __init__ (self) |
Constructor. More... | |
def | Clone (self) |
Standard cloner. More... | |
def | Validate (self, unused) |
Validate the contents of the given control. More... | |
def | TransferToWindow (self) |
Transfer data from validator to window. More... | |
def | TransferFromWindow (self) |
Transfer data from window to validator. More... | |
Base class for all validators.
def gui.controls.BaseValidator.__init__ | ( | self | ) |
Constructor.
Reimplemented in gui.controls.DecimalValidator.
References gui.controls.BaseValidator.__init__().
Referenced by gui.controls.BaseValidator.__init__().
def gui.controls.BaseValidator.Clone | ( | self | ) |
Standard cloner.
Reimplemented in gui.controls.DecimalValidator, gui.controls.NotEmptyValidator, and gui.controls.NotEmptyChoiceValidator.
def gui.controls.BaseValidator.TransferFromWindow | ( | self | ) |
Transfer data from window to validator.
The default implementation returns False, indicating that an error occurred. We simply return True, as we don't do any data transfer.
def gui.controls.BaseValidator.TransferToWindow | ( | self | ) |
Transfer data from validator to window.
The default implementation returns False, indicating that an error occurred. We simply return True, as we don't do any data transfer.
def gui.controls.BaseValidator.Validate | ( | self, | |
unused | |||
) |
Validate the contents of the given control.
Reimplemented in gui.controls.DecimalValidator, gui.controls.NotEmptyValidator, and gui.controls.NotEmptyChoiceValidator.