|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.vaadin.server.AbstractClientConnector com.vaadin.ui.AbstractComponent com.vaadin.ui.AbstractSingleComponentContainer com.vaadin.ui.Panel info.magnolia.ui.dialog.BaseDialogViewImpl info.magnolia.ui.dialog.formdialog.ItemFormView
public class ItemFormView
Owns a Form and Dialog and connects them.
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 |
---|
public ItemFormView()
Method Detail |
---|
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 FormView
public void setCaption(String caption)
setCaption
in interface com.vaadin.ui.Component
setCaption
in interface DialogView
setCaption
in interface FormView
setCaption
in class BaseDialogViewImpl
public void addFormSection(String tabName, FormSection inputFields)
addFormSection
in interface FormView
public void showValidation(boolean isVisible)
showValidation
in interface FormView
public void setShowAllEnabled(boolean enabled)
setShowAllEnabled
in interface FormView
public boolean isValid()
isValid
in interface FormView
public Collection<com.vaadin.ui.Field<?>> getFields()
getFields
in interface FormView
public void setCurrentLocale(Locale locale)
setCurrentLocale
in interface FormView
public void setLocaleSelector(com.vaadin.ui.AbstractSelect languageChooser)
setLocaleSelector
in interface FormView
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |