T
- The item type.public class UploadView<T> extends com.vaadin.ui.Composite implements EditorView<T>, com.vaadin.ui.Component.Focusable
UploadField
to EditorView
. Allows to set additional properties besides the
binary data to the JCR node.com.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.Listener
com.vaadin.server.ClientConnector.AttachEvent, com.vaadin.server.ClientConnector.AttachListener, com.vaadin.server.ClientConnector.ConnectorErrorEvent, com.vaadin.server.ClientConnector.DetachEvent, com.vaadin.server.ClientConnector.DetachListener
com.vaadin.server.Sizeable.Unit
com.vaadin.ui.HasComponents.ComponentAttachDetachNotifier, com.vaadin.ui.HasComponents.ComponentAttachEvent, com.vaadin.ui.HasComponents.ComponentAttachListener, com.vaadin.ui.HasComponents.ComponentDetachEvent, com.vaadin.ui.HasComponents.ComponentDetachListener
Constructor and Description |
---|
UploadView(UploadViewDefinition<T> definition,
PropertySetFactory<T> propertySetFactory,
HiddenFieldFactory hiddenFieldFactory,
info.magnolia.objectfactory.ComponentProvider componentProvider) |
Modifier and Type | Method and Description |
---|---|
void |
focus() |
int |
getTabIndex() |
void |
populate(T item) |
void |
setTabIndex(int tabIndex) |
List<com.vaadin.data.BinderValidationStatus<?>> |
validate() |
void |
write(T item) |
addStyleName, beforeClientResponse, getCaption, getComponentError, getCompositionRoot, getDebugId, getDescription, getErrorMessage, getHeight, getHeightUnits, getIcon, getId, getPrimaryStyleName, getState, getState, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, iterator, removeStyleName, setCaption, setCaptionAsHtml, setComponentError, setCompositionRoot, setDebugId, setDescription, setDescription, setHeight, setHeight, setHeightUndefined, setIcon, setId, setPrimaryStyleName, setSizeFull, setSizeUndefined, setStyleName, setStyleName, setWidth, setWidth, setWidthUndefined
addContextClickListener, addListener, addShortcutListener, attach, detach, findAncestor, fireComponentErrorEvent, fireComponentEvent, getActionManager, getCustomAttributes, getData, getLocale, getParent, isConnectorEnabled, isEnabled, isOrHasAncestor, isReadOnly, isRequiredIndicatorVisible, isResponsive, isVisible, readDesign, removeContextClickListener, removeListener, removeShortcutListener, setData, setEnabled, setLocale, setParent, setReadOnly, setRequiredIndicatorVisible, setResponsive, setVisible, writeDesign
addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addMethodInvocationToQueue, createState, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getStateType, getUI, handleConnectorRequest, hashCode, hasListeners, isAttached, isThis, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler, setResource, updateDiffstate
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
accessViewBeanStore, asVaadinComponent, bindContext, bindInstance, create, create, create, create, destroy, getComponentProvider, getCurrentViewReference
addListener, addStyleName, addStyleNames, attach, getCaption, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isVisible, readDesign, removeListener, removeStyleName, removeStyleNames, setCaption, setEnabled, setIcon, setId, setParent, setPrimaryStyleName, setStyleName, setStyleName, setVisible, writeDesign
addAttachListener, addDetachListener, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
getHeight, getHeightUnits, getWidth, getWidthUnits, setHeight, setHeight, setHeightUndefined, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthUndefined
forEach, spliterator
@Inject public UploadView(UploadViewDefinition<T> definition, PropertySetFactory<T> propertySetFactory, HiddenFieldFactory hiddenFieldFactory, info.magnolia.objectfactory.ComponentProvider componentProvider)
public List<com.vaadin.data.BinderValidationStatus<?>> validate()
validate
in interface EditorView<T>
public void populate(T item)
populate
in interface EditorView<T>
public void write(T item)
write
in interface EditorView<T>
public void focus()
focus
in interface com.vaadin.ui.Component.Focusable
focus
in class com.vaadin.ui.AbstractComponent
public int getTabIndex()
getTabIndex
in interface com.vaadin.ui.Component.Focusable
public void setTabIndex(int tabIndex)
setTabIndex
in interface com.vaadin.ui.Component.Focusable
Copyright © 2020 Magnolia International Ltd.. All rights reserved.