public class ItemFormView extends BaseDialogViewImpl implements FormView
info.magnolia.ui.vaadin.form.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) |
ItemFormView(info.magnolia.i18nsystem.SimpleTranslator i18n,
info.magnolia.ui.api.i18n.I18NAuthoringSupport i18nAuthoringSupport)
Deprecated.
since 5.4.2 - use
ItemFormView(SimpleTranslator) instead. |
Modifier and Type | Method and Description |
---|---|
void |
addField(com.vaadin.ui.Field<?> field) |
void |
addFormSection(String tabName,
info.magnolia.ui.vaadin.form.FormSection inputFields) |
Collection<com.vaadin.ui.Field<?>> |
getFields()
Deprecated.
|
List<info.magnolia.ui.vaadin.form.FormSection> |
getFormSections() |
com.vaadin.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.data.Item newDataSource) |
void |
setListener(info.magnolia.ui.vaadin.form.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, addListener, changeVariables, focus, getActionManager, getCustomAttributes, getScrollLeft, getScrollTop, getState, getState, getTabIndex, paintContent, readDesign, removeAction, removeActionHandler, removeAllActionHandlers, removeClickListener, removeListener, 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, getExplicitImmediateValue, getHeight, getHeightUnits, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isConnectorEnabled, isEnabled, isImmediate, isOrHasAncestor, isReadOnly, isResponsive, isVisible, removeContextClickListener, removeListener, removeShortcutListener, removeStyleName, setCaptionAsHtml, setComponentError, setData, setDebugId, setEnabled, setHeight, setHeightUndefined, setIcon, setId, setImmediate, setLocale, setParent, setPrimaryStyleName, setReadOnly, setResponsive, setSizeFull, setSizeUndefined, setStyleName, 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
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
addDialogCloseHandler, addShortcut, close, getActionAreaView, getContentView, getModalityLevel, removeDialogCloseHandler, removeShortcut, setActionAreaView, setClosable, setContent, setDescription, setDescriptionVisible, setModalityLevel, setWide
addListener, addStyleName, getCaption, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isReadOnly, isVisible, removeListener, removeStyleName, setEnabled, setIcon, setId, setParent, setPrimaryStyleName, setReadOnly, 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)
@Deprecated public ItemFormView(info.magnolia.i18nsystem.SimpleTranslator i18n, info.magnolia.ui.api.i18n.I18NAuthoringSupport i18nAuthoringSupport)
ItemFormView(SimpleTranslator)
instead.public com.vaadin.data.Item getItemDataSource()
getItemDataSource
in interface com.vaadin.data.Item.Viewer
public void setItemDataSource(com.vaadin.data.Item newDataSource)
setItemDataSource
in interface com.vaadin.data.Item.Viewer
public void addField(com.vaadin.ui.Field<?> field)
addField
in interface info.magnolia.ui.vaadin.form.FormViewReduced
public void setDescriptionVisibility(boolean isVisible)
setDescriptionVisibility
in interface info.magnolia.ui.vaadin.form.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, info.magnolia.ui.vaadin.form.FormSection inputFields)
addFormSection
in interface info.magnolia.ui.vaadin.form.FormViewReduced
public void showValidation(boolean isVisible)
showValidation
in interface info.magnolia.ui.vaadin.form.FormViewReduced
public void setShowAllEnabled(boolean enabled)
setShowAllEnabled
in interface info.magnolia.ui.vaadin.form.FormViewReduced
public boolean isValid()
isValid
in interface info.magnolia.ui.vaadin.form.FormViewReduced
@Deprecated public Collection<com.vaadin.ui.Field<?>> getFields()
getFields
in interface info.magnolia.ui.vaadin.form.FormViewReduced
public List<info.magnolia.ui.vaadin.form.FormSection> getFormSections()
getFormSections
in interface info.magnolia.ui.vaadin.form.FormViewReduced
public void setCurrentLocale(Locale locale)
setCurrentLocale
in interface FormView
public void setAvailableLocales(List<Locale> locales)
setAvailableLocales
in interface FormView
public void setListener(info.magnolia.ui.vaadin.form.FormViewReduced.Listener listener)
setListener
in interface info.magnolia.ui.vaadin.form.FormViewReduced
protected void updateLocale(Locale locale)
Copyright © 2018 Magnolia International Ltd.. All rights reserved.