public class ItemFormView extends BaseDialogViewImpl implements FormView
FormViewReduced.Listener
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
DIALOG_WIDTH
Constructor and Description |
---|
ItemFormView(info.magnolia.i18nsystem.SimpleTranslator i18n) |
Modifier and Type | Method and Description |
---|---|
void |
addField(com.vaadin.v7.ui.Field<?> field) |
void |
addFormSection(String tabName,
FormSection inputFields) |
Collection<com.vaadin.v7.ui.Field<?>> |
getFields()
Deprecated.
|
List<FormSection> |
getFormSections() |
com.vaadin.v7.data.Item |
getItemDataSource() |
boolean |
isValid() |
void |
setAvailableLocales(List<Locale> locales) |
void |
setCaption(String caption) |
void |
setCurrentLocale(Locale locale) |
void |
setDescriptionVisibility(boolean isVisible) |
void |
setItemDataSource(com.vaadin.v7.data.Item newDataSource) |
void |
setListener(FormViewReduced.Listener listener) |
void |
setShowAllEnabled(boolean enabled) |
void |
showValidation(boolean isVisible) |
protected void |
updateLocale(Locale locale) |
addDialogCloseHandler, addShortcut, asVaadinComponent, attach, close, getActionAreaView, getContentView, getDialog, getModalityLevel, removeDialogCloseHandler, removeShortcut, setActionAreaView, setClosable, setContent, setDescription, setDescriptionVisible, setModalityLevel, setWide
addAction, addActionHandler, addClickListener, changeVariables, focus, getActionManager, getCustomAttributes, getScrollLeft, getScrollTop, getState, getState, getTabIndex, paintContent, readDesign, removeAction, removeActionHandler, removeAllActionHandlers, removeClickListener, setScrollLeft, setScrollTop, setTabIndex, writeDesign
addComponentAttachListener, addComponentDetachListener, fireComponentAttachEvent, fireComponentDetachEvent, getComponentCount, getContent, iterator, readDesignChildren, removeComponentAttachListener, removeComponentDetachListener, removeFromParent, setContent, setHeight, setWidth
addContextClickListener, addListener, addShortcutListener, addStyleName, beforeClientResponse, detach, findAncestor, fireComponentErrorEvent, fireComponentEvent, getCaption, getComponentError, getData, getDebugId, getDescription, getErrorMessage, getHeight, getHeightUnits, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isConnectorEnabled, isEnabled, isOrHasAncestor, isReadOnly, isRequiredIndicatorVisible, isResponsive, isVisible, removeContextClickListener, removeListener, removeShortcutListener, removeStyleName, setCaptionAsHtml, setComponentError, setData, setDebugId, setDescription, setEnabled, setHeight, setHeightUndefined, setIcon, setId, setLocale, setParent, setPrimaryStyleName, setReadOnly, setRequiredIndicatorVisible, setResponsive, setSizeFull, setSizeUndefined, setStyleName, setVisible, setWidth, setWidthUndefined
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
addDialogCloseHandler, addShortcut, close, getActionAreaView, getContentView, getModalityLevel, getTitle, isClosable, removeDialogCloseHandler, removeShortcut, setActionAreaView, setClosable, setContent, setDescription, setDescriptionVisible, setModalityLevel, setWide
asVaadinComponent
addListener, addStyleName, addStyleNames, getCaption, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isVisible, removeListener, removeStyleName, removeStyleNames, setEnabled, setIcon, setId, setParent, setPrimaryStyleName, setStyleName, setStyleName, setVisible
addAttachListener, addDetachListener, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
getHeight, getHeightUnits, getWidth, getWidthUnits, setHeight, setHeight, setHeightUndefined, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthUndefined
forEach, spliterator
@Inject public ItemFormView(info.magnolia.i18nsystem.SimpleTranslator i18n)
public com.vaadin.v7.data.Item getItemDataSource()
getItemDataSource
in interface com.vaadin.v7.data.Item.Viewer
public void setItemDataSource(com.vaadin.v7.data.Item newDataSource)
setItemDataSource
in interface com.vaadin.v7.data.Item.Viewer
public void addField(com.vaadin.v7.ui.Field<?> field)
addField
in interface FormViewReduced
public void setDescriptionVisibility(boolean isVisible)
setDescriptionVisibility
in interface FormViewReduced
public void setCaption(String caption)
setCaption
in interface com.vaadin.ui.Component
setCaption
in interface DialogView
setCaption
in class BaseDialogViewImpl
public void addFormSection(String tabName, FormSection inputFields)
addFormSection
in interface FormViewReduced
public void showValidation(boolean isVisible)
showValidation
in interface FormViewReduced
public void setShowAllEnabled(boolean enabled)
setShowAllEnabled
in interface FormViewReduced
public boolean isValid()
isValid
in interface FormViewReduced
@Deprecated public Collection<com.vaadin.v7.ui.Field<?>> getFields()
getFields
in interface FormViewReduced
public List<FormSection> getFormSections()
getFormSections
in interface FormViewReduced
public void setCurrentLocale(Locale locale)
setCurrentLocale
in interface FormView
public void setAvailableLocales(List<Locale> locales)
setAvailableLocales
in interface FormView
public void setListener(FormViewReduced.Listener listener)
setListener
in interface FormViewReduced
protected void updateLocale(Locale locale)
Copyright © 2020 Magnolia International Ltd.. All rights reserved.