info.joseluismartin.vaadin.ui.form
Class FormDialog

java.lang.Object
  extended by com.vaadin.ui.AbstractComponent
      extended by com.vaadin.ui.AbstractComponentContainer
          extended by com.vaadin.ui.Panel
              extended by com.vaadin.ui.Window
                  extended by info.joseluismartin.vaadin.ui.form.FormDialog
All Implemented Interfaces:
com.vaadin.event.Action.Container, com.vaadin.event.Action.Notifier, com.vaadin.event.FieldEvents.BlurNotifier, com.vaadin.event.FieldEvents.FocusNotifier, com.vaadin.event.MethodEventSource, com.vaadin.terminal.Paintable, com.vaadin.terminal.ParameterHandler, com.vaadin.terminal.Scrollable, com.vaadin.terminal.Sizeable, com.vaadin.terminal.URIHandler, com.vaadin.terminal.VariableOwner, com.vaadin.ui.Component, com.vaadin.ui.Component.Focusable, com.vaadin.ui.ComponentContainer, com.vaadin.ui.ComponentContainer.ComponentAttachListener, com.vaadin.ui.ComponentContainer.ComponentDetachListener, Serializable, EventListener

public class FormDialog
extends com.vaadin.ui.Window

Window that hold a form for use as Dialog

Since:
1.1
Author:
Jose Luis Martin - (jlm@joseluismartin.info)
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.vaadin.ui.Window
com.vaadin.ui.Window.CloseEvent, com.vaadin.ui.Window.CloseListener, com.vaadin.ui.Window.CloseShortcut, com.vaadin.ui.Window.Notification, com.vaadin.ui.Window.ResizeEvent, com.vaadin.ui.Window.ResizeListener
 
Nested classes/interfaces inherited from class com.vaadin.ui.AbstractComponent
com.vaadin.ui.AbstractComponent.ComponentErrorEvent, com.vaadin.ui.AbstractComponent.ComponentErrorHandler
 
Nested classes/interfaces inherited from interface com.vaadin.terminal.URIHandler
com.vaadin.terminal.URIHandler.ErrorEvent
 
Nested classes/interfaces inherited from interface com.vaadin.terminal.ParameterHandler
com.vaadin.terminal.ParameterHandler.ErrorEvent
 
Nested classes/interfaces inherited from interface com.vaadin.ui.Component
com.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.ErrorListener, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.Listener
 
Nested classes/interfaces inherited from interface com.vaadin.terminal.Paintable
com.vaadin.terminal.Paintable.RepaintRequestEvent, com.vaadin.terminal.Paintable.RepaintRequestListener
 
Nested classes/interfaces inherited from interface com.vaadin.ui.ComponentContainer
com.vaadin.ui.ComponentContainer.ComponentAttachEvent, com.vaadin.ui.ComponentContainer.ComponentAttachListener, com.vaadin.ui.ComponentContainer.ComponentDetachEvent, com.vaadin.ui.ComponentContainer.ComponentDetachListener
 
Field Summary
 
Fields inherited from class com.vaadin.ui.Window
BORDER_DEFAULT, BORDER_MINIMAL, BORDER_NONE, closeShortcut
 
Fields inherited from class com.vaadin.ui.Panel
actionManager, STYLE_LIGHT
 
Fields inherited from interface com.vaadin.terminal.Sizeable
SIZE_UNDEFINED, UNIT_SYMBOLS, UNITS_CM, UNITS_EM, UNITS_EX, UNITS_INCH, UNITS_MM, UNITS_PERCENTAGE, UNITS_PICAS, UNITS_PIXELS, UNITS_POINTS
 
Constructor Summary
FormDialog()
           
FormDialog(com.vaadin.ui.Form form)
           
FormDialog(com.vaadin.ui.Form form, String caption)
           
FormDialog(String caption)
           
FormDialog(String caption, com.vaadin.ui.ComponentContainer content)
           
 
Method Summary
 ButtonListener getAcceptButtonListener()
           
 ButtonListener getCancelButtonListener()
           
 com.vaadin.ui.Form getForm()
           
 org.springframework.context.MessageSource getMessageSource()
           
 PersistentService<Object,Serializable> getPersistentService()
           
 void init()
           
 boolean isDirty()
           
 void setAcceptButtonListener(ButtonListener acceptButtonListener)
           
 void setCancelButtonListener(ButtonListener cancelButtonListener)
           
 void setDirty(boolean dirty)
           
 void setForm(com.vaadin.ui.Form form)
           
 void setMessageSource(org.springframework.context.MessageSource messageSource)
           
 void setPersistentService(PersistentService<Object,Serializable> persistentService)
           
 
Methods inherited from class com.vaadin.ui.Window
addComponent, addListener, addListener, addListener, addListener, addParameterHandler, addURIHandler, addWindow, attach, bringToFront, center, changeVariables, close, detach, executeJavaScript, fireClose, fireResize, focus, getApplication, getBorder, getChildWindows, getName, getParent, getPositionX, getPositionY, getTerminal, getTheme, getURL, getWindow, handleParameters, handleURI, isClosable, isDraggable, isModal, isResizable, isResizeLazy, open, open, open, paintContent, removeCloseShortcut, removeListener, removeListener, removeListener, removeListener, removeParameterHandler, removeURIHandler, removeWindow, scrollIntoView, setApplication, setBorder, setClosable, setCloseShortcut, setDraggable, setModal, setName, setPositionX, setPositionY, setResizable, setResizeLazy, setTerminal, setTheme, showNotification, showNotification, showNotification, showNotification, showNotification, showNotification
 
Methods inherited from class com.vaadin.ui.Panel
addAction, addActionHandler, addListener, componentAttachedToContainer, componentDetachedFromContainer, getActionManager, getComponentIterator, getContent, getLayout, getScrollLeft, getScrollOffsetX, getScrollOffsetY, getScrollTop, getTabIndex, isScrollable, removeAction, removeActionHandler, removeAllActionHandlers, removeAllComponents, removeComponent, removeListener, replaceComponent, requestRepaintAll, setCaption, setContent, setLayout, setScrollable, setScrollLeft, setScrollOffsetX, setScrollOffsetY, setScrollTop, setTabIndex
 
Methods inherited from class com.vaadin.ui.AbstractComponentContainer
addListener, addListener, fireComponentAttachEvent, fireComponentDetachEvent, moveComponentsFrom, removeListener, removeListener, setEnabled, setHeight, setWidth
 
Methods inherited from class com.vaadin.ui.AbstractComponent
addListener, addListener, addListener, addListener, addListener, addStyleName, childRequestedRepaint, fireComponentErrorEvent, fireComponentEvent, fireEvent, getCaption, getComponentError, getData, getDebugId, getDescription, getErrorHandler, getErrorMessage, getHeight, getHeightUnits, getIcon, getListeners, getLocale, getStyle, getStyleName, getWidth, getWidthUnits, handleError, hasListeners, isEnabled, isImmediate, isReadOnly, isVisible, paint, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeStyleName, requestRepaint, requestRepaintRequests, setComponentError, setData, setDebugId, setDescription, setErrorHandler, setHeight, setHeight, setHeightUnits, setIcon, setImmediate, setLocale, setParent, setReadOnly, setSizeFull, setSizeUndefined, setStyle, setStyleName, setVisible, setWidth, setWidth, setWidthUnits
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.vaadin.ui.Component
addListener, addStyleName, childRequestedRepaint, getCaption, getIcon, getLocale, getStyleName, isEnabled, isReadOnly, isVisible, removeListener, removeStyleName, setEnabled, setIcon, setParent, setReadOnly, setStyleName, setVisible
 
Methods inherited from interface com.vaadin.terminal.Paintable
addListener, getDebugId, paint, removeListener, requestRepaint, requestRepaintRequests, setDebugId
 
Methods inherited from interface com.vaadin.terminal.VariableOwner
isImmediate
 
Methods inherited from interface com.vaadin.terminal.Sizeable
getHeight, getHeightUnits, getWidth, getWidthUnits, setHeight, setHeight, setHeight, setHeightUnits, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidth, setWidthUnits
 

Constructor Detail

FormDialog

public FormDialog()

FormDialog

public FormDialog(com.vaadin.ui.Form form)

FormDialog

public FormDialog(com.vaadin.ui.Form form,
                  String caption)

FormDialog

public FormDialog(String caption,
                  com.vaadin.ui.ComponentContainer content)
Parameters:
caption -
content -

FormDialog

public FormDialog(String caption)
Parameters:
caption -
Method Detail

init

public void init()

getForm

public com.vaadin.ui.Form getForm()
Returns:
the form

setForm

public void setForm(com.vaadin.ui.Form form)
Parameters:
form - the form to set

getPersistentService

public PersistentService<Object,Serializable> getPersistentService()
Returns:
the persistentService

setPersistentService

public void setPersistentService(PersistentService<Object,Serializable> persistentService)
Parameters:
persistentService - the persistentService to set

getAcceptButtonListener

public ButtonListener getAcceptButtonListener()
Returns:
the acceptButtonListener

setAcceptButtonListener

public void setAcceptButtonListener(ButtonListener acceptButtonListener)
Parameters:
acceptButtonListener - the acceptButtonListener to set

getCancelButtonListener

public ButtonListener getCancelButtonListener()
Returns:
the cancelButtonListener

setCancelButtonListener

public void setCancelButtonListener(ButtonListener cancelButtonListener)
Parameters:
cancelButtonListener - the cancelButtonListener to set

getMessageSource

public org.springframework.context.MessageSource getMessageSource()
Returns:
the messageSource

setMessageSource

public void setMessageSource(org.springframework.context.MessageSource messageSource)
Parameters:
messageSource - the messageSource to set

isDirty

public boolean isDirty()
Returns:
true if dirty

setDirty

public void setDirty(boolean dirty)
Parameters:
dirty -


Copyright © 2012 JDAL. All Rights Reserved.