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,
info.magnolia.ui.api.i18n.I18NAuthoringSupport i18nAuthoringSupport) |
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() |
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) |
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, getScrollLeft, getScrollTop, getState, getTabIndex, paintContent, removeAction, removeActionHandler, removeAllActionHandlers, removeClickListener, removeListener, setScrollLeft, setScrollTop, setTabIndex
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, getState, getStyleName, getWidth, getWidthUnits, isConnectorEnabled, isEnabled, isImmediate, isReadOnly, isVisible, removeListener, removeShortcutListener, removeStyleName, setComponentError, setData, setDebugId, setEnabled, setHeight, setIcon, setId, setImmediate, setLocale, setParent, setPrimaryStyleName, setReadOnly, setSizeFull, setSizeUndefined, setStyleName, setVisible, setWidth
addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addMethodInvocationToQueue, createState, encodeState, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getStateType, getUI, handleConnectorRequest, hasListeners, isAttached, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler, setResource
clone, equals, finalize, getClass, hashCode, 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, info.magnolia.ui.api.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 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
public Collection<com.vaadin.ui.Field<?>> getFields()
getFields
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
Copyright © 2014 Magnolia International Ltd.. All rights reserved.