public class InplaceEditingFieldFactory extends Object implements com.vaadin.ui.TableFieldFactory
TableFieldFactory
, this one only creates an input field in one cell at a time,
i.e. corresponding to a single combination of itemId and container's propertyId.FieldEvents.BlurListener
to be set as a hook to persist changes.Constructor and Description |
---|
InplaceEditingFieldFactory() |
Modifier and Type | Method and Description |
---|---|
com.vaadin.ui.Field<?> |
createField(com.vaadin.data.Container container,
Object itemId,
Object propertyId,
com.vaadin.ui.Component uiContext) |
Object |
getEditingItemId() |
Object |
getEditingPropertyId() |
com.vaadin.ui.Field<?> |
getField() |
void |
setEditing(Object editingItemId,
Object editingPropertyId)
Sets the item and property to edit.
|
void |
setFieldBlurListener(com.vaadin.event.FieldEvents.BlurListener fieldBlurListener)
Sets the blur listener that should react when leaving the inplace-editing field.
|
public Object getEditingItemId()
public Object getEditingPropertyId()
public com.vaadin.ui.Field<?> getField()
public void setEditing(Object editingItemId, Object editingPropertyId)
public void setFieldBlurListener(com.vaadin.event.FieldEvents.BlurListener fieldBlurListener)
Copyright © 2015 Magnolia International Ltd.. All rights reserved.