Package io.mateu.mdd.vaadin.data
Class MDDBinder
- java.lang.Object
-
- com.vaadin.data.Binder
-
- io.mateu.mdd.vaadin.data.MDDBinder
-
- All Implemented Interfaces:
io.mateu.mdd.shared.interfaces.IBinder,Serializable
public class MDDBinder extends com.vaadin.data.Binder implements io.mateu.mdd.shared.interfaces.IBinder- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.vaadin.data.Binder
com.vaadin.data.Binder.Binding<BEAN extends Object,TARGET extends Object>, com.vaadin.data.Binder.BindingBuilder<BEAN extends Object,TARGET extends Object>, com.vaadin.data.Binder.BindingBuilderImpl<BEAN extends Object,FIELDVALUE extends Object,TARGET extends Object>, com.vaadin.data.Binder.BindingImpl<BEAN extends Object,FIELDVALUE extends Object,TARGET extends Object>
-
-
Constructor Summary
Constructors Constructor Description MDDBinder(Class beanType)MDDBinder(Class beanType, EditorViewComponent component)MDDBinder(List<FieldInterfaced> fields)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Map<String,com.vaadin.data.PropertyDefinition>createDefinitions(com.vaadin.data.PropertySet propertySet, List<FieldInterfaced> fields)ClassgetBeanType()Optional<com.vaadin.data.Binder.Binding>getFieldBinding(com.vaadin.data.HasValue hv)AbstractViewComponentgetViewComponent()voidrefresh()voidsetBean(Object bean)voidsetBean(Object bean, boolean reset)voidsetViewComponent(AbstractViewComponent viewComponent)voidupdate(Object model)-
Methods inherited from class com.vaadin.data.Binder
addStatusChangeListener, addValueChangeListener, bind, bind, bindInstanceFields, clearError, configureBinding, createBinding, doCreateBinding, forField, forMemberField, getBean, getBeanState, getBinding, getBindings, getEventRouter, getFields, getStatusLabel, getValidationStatusHandler, handleBinderValidationStatus, handleError, handleFieldValueChange, handleValidationStatus, hasChanges, isValid, isValidatorsDisabled, readBean, removeBean, removeBinding, removeBinding, removeBinding, removeBindingInternal, restoreBeanState, setReadOnly, setStatusLabel, setValidationStatusHandler, setValidatorsDisabled, validate, validate, withPropertySet, withValidator, withValidator, withValidator, writeBean, writeBeanAsDraft, writeBeanAsDraft, writeBeanIfValid
-
-
-
-
Constructor Detail
-
MDDBinder
public MDDBinder(List<FieldInterfaced> fields)
-
MDDBinder
public MDDBinder(Class beanType)
-
MDDBinder
public MDDBinder(Class beanType, EditorViewComponent component)
-
-
Method Detail
-
createDefinitions
public static Map<String,com.vaadin.data.PropertyDefinition> createDefinitions(com.vaadin.data.PropertySet propertySet, List<FieldInterfaced> fields)
-
getViewComponent
public AbstractViewComponent getViewComponent()
-
setViewComponent
public void setViewComponent(AbstractViewComponent viewComponent)
-
setBean
public void setBean(Object bean)
- Overrides:
setBeanin classcom.vaadin.data.Binder
-
setBean
public void setBean(Object bean, boolean reset)
-
getBeanType
public Class getBeanType()
-
refresh
public void refresh()
-
update
public void update(Object model)
-
getFieldBinding
public Optional<com.vaadin.data.Binder.Binding> getFieldBinding(com.vaadin.data.HasValue hv)
-
-