D
- the type of link field definition.public class LinkFieldFactory<T,D extends LinkFieldDefinition<T>> extends AbstractFieldFactory<String,D>
LinkField
field based on a LinkFieldDefinition
.componentProvider, definition
Constructor and Description |
---|
LinkFieldFactory(D definition,
info.magnolia.objectfactory.ComponentProvider componentProvider,
ItemResolver<T> itemResolver,
ChooserController chooserController) |
Modifier and Type | Method and Description |
---|---|
protected com.vaadin.ui.Component |
createFieldComponent() |
protected Optional<? extends ItemPreviewComponent<T>> |
newItemPreviewComponent() |
createField, getDefinition, isMessageKey
@Inject public LinkFieldFactory(D definition, info.magnolia.objectfactory.ComponentProvider componentProvider, ItemResolver<T> itemResolver, ChooserController chooserController)
protected com.vaadin.ui.Component createFieldComponent()
createFieldComponent
in class AbstractFieldFactory<String,D extends LinkFieldDefinition<T>>
protected Optional<? extends ItemPreviewComponent<T>> newItemPreviewComponent()
Copyright © 2020 Magnolia International Ltd.. All rights reserved.