info.magnolia.ui.dialog.formdialog
Class ItemFormView

java.lang.Object
  extended by com.vaadin.server.AbstractClientConnector
      extended by com.vaadin.ui.AbstractComponent
          extended by com.vaadin.ui.AbstractSingleComponentContainer
              extended by com.vaadin.ui.Panel
                  extended by info.magnolia.ui.dialog.BaseDialogViewImpl
                      extended by info.magnolia.ui.dialog.formdialog.ItemFormView
All Implemented Interfaces:
com.vaadin.data.Item.Editor, com.vaadin.data.Item.Viewer, com.vaadin.event.Action.Container, com.vaadin.event.Action.Notifier, com.vaadin.event.ConnectorEventListener, com.vaadin.event.MethodEventSource, com.vaadin.server.ClientConnector, com.vaadin.server.Scrollable, com.vaadin.server.Sizeable, com.vaadin.server.VariableOwner, com.vaadin.shared.Connector, com.vaadin.ui.Component, com.vaadin.ui.Component.Focusable, com.vaadin.ui.HasComponents, com.vaadin.ui.HasComponents.ComponentAttachDetachNotifier, com.vaadin.ui.LegacyComponent, com.vaadin.ui.SingleComponentContainer, View, DialogView, FormView, Serializable, Iterable<com.vaadin.ui.Component>, EventListener

public class ItemFormView
extends BaseDialogViewImpl
implements FormView

Owns a Form and Dialog and connects them.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.vaadin.ui.Component
com.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.Listener
 
Nested classes/interfaces inherited from interface com.vaadin.server.ClientConnector
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
 
Nested classes/interfaces inherited from interface com.vaadin.server.Sizeable
com.vaadin.server.Sizeable.Unit
 
Nested classes/interfaces inherited from interface com.vaadin.ui.HasComponents
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
 
Field Summary
 
Fields inherited from class com.vaadin.ui.Panel
actionManager
 
Fields inherited from interface com.vaadin.server.Sizeable
SIZE_UNDEFINED, UNITS_CM, UNITS_EM, UNITS_EX, UNITS_INCH, UNITS_MM, UNITS_PERCENTAGE, UNITS_PICAS, UNITS_PIXELS, UNITS_POINTS
 
Constructor Summary
ItemFormView()
           
 
Method Summary
 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 setCaption(String caption)
           
 void setCurrentLocale(Locale locale)
           
 void setItemDataSource(com.vaadin.data.Item newDataSource)
           
 void setLocaleSelector(com.vaadin.ui.AbstractSelect languageChooser)
           
 void setShowAllEnabled(boolean enabled)
           
 void showValidation(boolean isVisible)
           
 
Methods inherited from class info.magnolia.ui.dialog.BaseDialogViewImpl
addDialogCloseHandler, addShortcut, asVaadinComponent, attach, close, getActionAreaView, getContentView, getDialog, removeDialogCloseHandler, removeShortcut, setActionAreaView, setClosable, setContent, setDescription, setDescriptionVisible
 
Methods inherited from class com.vaadin.ui.Panel
addAction, addActionHandler, addClickListener, addListener, changeVariables, focus, getActionManager, getScrollLeft, getScrollTop, getState, getTabIndex, paintContent, removeAction, removeActionHandler, removeAllActionHandlers, removeClickListener, removeListener, setScrollLeft, setScrollTop, setTabIndex
 
Methods inherited from class com.vaadin.ui.AbstractSingleComponentContainer
addComponentAttachListener, addComponentDetachListener, fireComponentAttachEvent, fireComponentDetachEvent, getComponentCount, getContent, iterator, removeComponentAttachListener, removeComponentDetachListener, removeFromParent, setContent, setHeight, setWidth
 
Methods inherited from class com.vaadin.ui.AbstractComponent
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
 
Methods inherited from class com.vaadin.server.AbstractClientConnector
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface info.magnolia.ui.dialog.DialogView
addDialogCloseHandler, addShortcut, close, getActionAreaView, getContentView, removeDialogCloseHandler, removeShortcut, setActionAreaView, setClosable, setContent, setDescription, setDescriptionVisible
 
Methods inherited from interface info.magnolia.ui.api.view.View
asVaadinComponent
 
Methods inherited from interface com.vaadin.ui.LegacyComponent
markAsDirty
 
Methods inherited from interface com.vaadin.server.VariableOwner
isEnabled, isImmediate
 
Methods inherited from interface com.vaadin.ui.Component
addListener, addStyleName, getCaption, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isReadOnly, isVisible, removeListener, removeStyleName, setEnabled, setIcon, setId, setParent, setPrimaryStyleName, setReadOnly, setStyleName, setVisible
 
Methods inherited from interface com.vaadin.server.ClientConnector
addAttachListener, addDetachListener, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
 
Methods inherited from interface com.vaadin.shared.Connector
getConnectorId
 
Methods inherited from interface com.vaadin.server.Sizeable
getHeight, getHeightUnits, getWidth, getWidthUnits, setHeight, setHeight, setSizeFull, setSizeUndefined, setWidth, setWidth
 

Constructor Detail

ItemFormView

public ItemFormView()
Method Detail

getItemDataSource

public com.vaadin.data.Item getItemDataSource()
Specified by:
getItemDataSource in interface com.vaadin.data.Item.Viewer

setItemDataSource

public void setItemDataSource(com.vaadin.data.Item newDataSource)
Specified by:
setItemDataSource in interface com.vaadin.data.Item.Viewer

addField

public void addField(com.vaadin.ui.Field<?> field)
Specified by:
addField in interface FormView

setCaption

public void setCaption(String caption)
Specified by:
setCaption in interface com.vaadin.ui.Component
Specified by:
setCaption in interface DialogView
Specified by:
setCaption in interface FormView
Overrides:
setCaption in class BaseDialogViewImpl

addFormSection

public void addFormSection(String tabName,
                           FormSection inputFields)
Specified by:
addFormSection in interface FormView

showValidation

public void showValidation(boolean isVisible)
Specified by:
showValidation in interface FormView

setShowAllEnabled

public void setShowAllEnabled(boolean enabled)
Specified by:
setShowAllEnabled in interface FormView

isValid

public boolean isValid()
Specified by:
isValid in interface FormView

getFields

public Collection<com.vaadin.ui.Field<?>> getFields()
Specified by:
getFields in interface FormView

setCurrentLocale

public void setCurrentLocale(Locale locale)
Specified by:
setCurrentLocale in interface FormView

setLocaleSelector

public void setLocaleSelector(com.vaadin.ui.AbstractSelect languageChooser)
Specified by:
setLocaleSelector in interface FormView


Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.