Package muntjac :: Package ui :: Module field_factory :: Class IFieldFactory
[hide private]
[frames] | no frames]

Class IFieldFactory

source code

                            object --+    
                                     |    
  form_field_factory.IFormFieldFactory --+
                                         |
                            object --+   |
                                     |   |
table_field_factory.ITableFieldFactory --+
                                         |
                                        IFieldFactory
Known Subclasses:

Factory for creating new Field-instances based on type, datasource and/or context.


Authors:
Vaadin Ltd., Richard Lincoln

Version: 1.1.2

Deprecated: IFieldFactory was split into two lighter interfaces. Use IFormFieldFactory or ITableFieldFactory or both instead.

Instance Methods [hide private]
 
createField(self, *args)
Creates a field based on type of data.
source code

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

createField(self, *args)

source code 

Creates a field based on type of data.

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