public class ItemFormView extends BaseDialogViewImpl implements FormView
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,
I18NAuthoringSupport i18nAuthoringSupport)
Deprecated.
|
ItemFormView(info.magnolia.i18nsystem.SimpleTranslator i18n,
I18NAuthoringSupport i18nAuthoringSupport,
UiContext uiContext) |
Modifier and Type | Method and Description |
---|---|
void |
addField(com.vaadin.ui.Field<?> field) |
void |
addFormSection(String tabName,
FormSection inputFields) |
Collection<com.vaadin.ui.Field<?>> |
getFields() |
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 |
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, removeComponentAttachListener, removeComponentDetachListener, removeFromParent, setContent, setHeight, setWidth
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, isImmediate, isOrHasAncestor, isReadOnly, isVisible, removeListener, removeShortcutListener, removeStyleName, setCaptionAsHtml, setComponentError, setData, setDebugId, setEnabled, setHeight, setHeightUndefined, setIcon, setId, setImmediate, setLocale, setParent, setPrimaryStyleName, setReadOnly, 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
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
@Inject public ItemFormView(info.magnolia.i18nsystem.SimpleTranslator i18n, I18NAuthoringSupport i18nAuthoringSupport, UiContext uiContext)
@Deprecated public ItemFormView(info.magnolia.i18nsystem.SimpleTranslator i18n, I18NAuthoringSupport i18nAuthoringSupport)
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 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
public Collection<com.vaadin.ui.Field<?>> getFields()
getFields
in interface FormViewReduced
public void setCurrentLocale(Locale locale)
setCurrentLocale
in interface FormView
public void setAvailableLocales(List<Locale> locales)
setAvailableLocales
in interface FormView
protected void updateLocale(Locale locale)
Copyright © 2015 Magnolia International Ltd.. All rights reserved.