Share and Money Management  0.16
Public Member Functions | List of all members
gui.controls.BaseValidator Class Reference

Base class for all validators. More...

Inheritance diagram for gui.controls.BaseValidator:

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...
 

Detailed Description

Base class for all validators.

Constructor & Destructor Documentation

◆ __init__()

def gui.controls.BaseValidator.__init__ (   self)

Constructor.

Member Function Documentation

◆ Clone()

def gui.controls.BaseValidator.Clone (   self)

Standard cloner.

Note
Every validator must implement the Clone() method.

◆ TransferFromWindow()

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.

◆ TransferToWindow()

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.

◆ Validate()

def gui.controls.BaseValidator.Validate (   self,
  unused 
)

Validate the contents of the given control.


The documentation for this class was generated from the following file: