T
- item type.public class MultiFormView<T> extends Object implements EditorView<T>
Constructor and Description |
---|
MultiFormView(MultiFormDefinition<T> definition,
ItemProviderStrategy<T> multiFormItemProvider,
Locale locale,
info.magnolia.i18nsystem.SimpleTranslator i18n) |
Modifier and Type | Method and Description |
---|---|
com.vaadin.ui.Component |
asVaadinComponent()
Convenience method implementation.
|
com.vaadin.ui.Component |
getLayout(Locale locale)
Gets the layout component for this editor view based on the provided Locale.
|
void |
populate(T item) |
List<com.vaadin.data.BinderValidationStatus<?>> |
validate() |
void |
write(T item) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
accessViewBeanStore, bindContext, bindDatasourceDefinition, bindInstance, create, create, destroy, getComponentProvider, getCurrentViewReference, getViewProvider
@Inject public MultiFormView(MultiFormDefinition<T> definition, ItemProviderStrategy<T> multiFormItemProvider, Locale locale, info.magnolia.i18nsystem.SimpleTranslator i18n)
public void populate(T item)
populate
in interface EditorView<T>
public void write(T item)
write
in interface EditorView<T>
public List<com.vaadin.data.BinderValidationStatus<?>> validate()
validate
in interface EditorView<T>
public com.vaadin.ui.Component asVaadinComponent()
UiFrameworkView
asVaadinComponent
in interface View
asVaadinComponent
in interface UiFrameworkView
public com.vaadin.ui.Component getLayout(Locale locale)
EditorView
getLayout
in interface EditorView<T>
locale
- can be null
.Copyright © 2018 Magnolia International Ltd.. All rights reserved.