| org.millstone.base.ui.FieldFactory
All known Subclasses: org.millstone.base.ui.BaseFieldFactory,
FieldFactory | public interface FieldFactory (Code) | | Factory for creating new Field-instances based on type,
datasource and/or context.
author: IT Mill Ltd. version: 3.1.1 since: 3.1 |
Method Summary | |
Field | createField(Class type, Component uiContext) Creates field based on type of data.
Parameters: type - The type of data presented in field Parameters: uiContext - The component where the field is presented. | Field | createField(Property property, Component uiContext) Creates field based on the property datasource.
Parameters: property - The property datasource. Parameters: uiContext - The component where the field is presented. | Field | createField(Item item, Object propertyId, Component uiContext) Creates field based on the item and property id.
Parameters: item - The item where the property belongs to. Parameters: propertyId - Id of the property. Parameters: uiContext - The component where the field is presented. | Field | createField(Container container, Object itemId, Object propertyId, Component uiContext) Creates field based on the container item id and property id.
Parameters: container - Container where the property belongs to. Parameters: itemId - The item Id. Parameters: propertyId - Id of the property. Parameters: uiContext - The component where the field is presented. |
createField | Field createField(Class type, Component uiContext)(Code) | | Creates field based on type of data.
Parameters: type - The type of data presented in field Parameters: uiContext - The component where the field is presented. Field The field suitable for editing the specified data. |
createField | Field createField(Property property, Component uiContext)(Code) | | Creates field based on the property datasource.
Parameters: property - The property datasource. Parameters: uiContext - The component where the field is presented. Field The field suitable for editing the specified data. |
createField | Field createField(Item item, Object propertyId, Component uiContext)(Code) | | Creates field based on the item and property id.
Parameters: item - The item where the property belongs to. Parameters: propertyId - Id of the property. Parameters: uiContext - The component where the field is presented. Field The field suitable for editing the specified data. |
createField | Field createField(Container container, Object itemId, Object propertyId, Component uiContext)(Code) | | Creates field based on the container item id and property id.
Parameters: container - Container where the property belongs to. Parameters: itemId - The item Id. Parameters: propertyId - Id of the property. Parameters: uiContext - The component where the field is presented. Field The field suitable for editing the specified data. |
|
|