Package muntjac :: Package ui :: Module base_field_factory :: Class BaseFieldFactory
[hide private]
[frames] | no frames]

Class BaseFieldFactory

source code

                            object --+        
                                     |        
  form_field_factory.IFormFieldFactory --+    
                                         |    
                            object --+   |    
                                     |   |    
table_field_factory.ITableFieldFactory --+    
                                         |    
               field_factory.IFieldFactory --+
                                             |
                                            BaseFieldFactory

Default implementation of the the following Field types are used by default:


Authors:
Vaadin Ltd., Richard Lincoln

Version: 1.1.2

Deprecated: use DefaultFieldFactory or own implementations on FormFieldFactory or TableFieldFactory instead.

Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
createField(self, *args)
Creates the field based on type of data.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

createField(self, *args)

source code 

Creates the field based on type of data.

Parameters:
  • args - tuple of the form
    • (type, uiContext)
      1. the type of data presented in field.
      2. the context where the Field is presented.
Returns:
Field the field suitable for editing the specified data.
Overrides: table_field_factory.ITableFieldFactory.createField

See Also: IFieldFactory.createField