Class BaseFieldFactory

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

Boolean : Button(switchMode:true)

Date : DateField(resolution: day) Item : Form

default field type : TextField

Synopsis

Since

3.1

Inheritance Path.  java.lang.Object-> com.itmill.toolkit.ui.BaseFieldFactory

createField(Class, Component)

Parameters

type

The type of data presented in field

uiContext

The context where the Field is presented.

Creates field based on type of data.

createField(Container, Object, Object, Component)

Parameters

container

Container where the property belongs to.

itemId

The item Id.

propertyId

Id of the property.

uiContext

The component where the field is presented.

return

Field The field suitable for editing the specified data.

Description copied from interface: createField

Creates field based on the container item id and property id.

createField(Item, Object, Component)

Creates field based on the item and property id.

createField(Property, Component)

Create field based on the datasource property.