info.magnolia.ui.dialog
Class BaseDialogViewImpl

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
All Implemented Interfaces:
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, Serializable, Iterable<com.vaadin.ui.Component>, EventListener
Direct Known Subclasses:
ChooseDialogViewImpl, ItemFormView

public class BaseDialogViewImpl
extends com.vaadin.ui.Panel
implements DialogView

Base implementation of DialogView.

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
BaseDialogViewImpl()
           
BaseDialogViewImpl(BaseDialog dialog)
           
 
Method Summary
 void addDialogCloseHandler(DialogCloseHandler handler)
           
 void addShortcut(com.vaadin.event.ShortcutListener shortcut)
           
 com.vaadin.ui.Component asVaadinComponent()
          Returns the Vaadin component managed by this view.
 void attach()
           
 void close()
           
 EditorActionAreaView getActionAreaView()
           
 View getContentView()
           
protected  BaseDialog getDialog()
           
 void removeDialogCloseHandler(DialogCloseHandler handler)
           
 void removeShortcut(com.vaadin.event.ShortcutListener shortcut)
           
 void setActionAreaView(EditorActionAreaView actionAreaView)
           
 void setCaption(String caption)
           
 void setClosable(boolean isClosable)
           
 void setContent(View content)
           
 void setDescription(String description)
           
 void setDescriptionVisible(boolean isDescriptionVisible)
           
 
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 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

BaseDialogViewImpl

public BaseDialogViewImpl()

BaseDialogViewImpl

public BaseDialogViewImpl(BaseDialog dialog)
Method Detail

setDescriptionVisible

public void setDescriptionVisible(boolean isDescriptionVisible)
Specified by:
setDescriptionVisible in interface DialogView

setDescription

public void setDescription(String description)
Specified by:
setDescription in interface DialogView
Overrides:
setDescription in class com.vaadin.ui.AbstractComponent

setCaption

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

setContent

public void setContent(View content)
Specified by:
setContent in interface DialogView

close

public void close()
Specified by:
close in interface DialogView

setClosable

public void setClosable(boolean isClosable)
Specified by:
setClosable in interface DialogView

addShortcut

public void addShortcut(com.vaadin.event.ShortcutListener shortcut)
Specified by:
addShortcut in interface DialogView

removeShortcut

public void removeShortcut(com.vaadin.event.ShortcutListener shortcut)
Specified by:
removeShortcut in interface DialogView

addDialogCloseHandler

public void addDialogCloseHandler(DialogCloseHandler handler)
Specified by:
addDialogCloseHandler in interface DialogView

removeDialogCloseHandler

public void removeDialogCloseHandler(DialogCloseHandler handler)
Specified by:
removeDialogCloseHandler in interface DialogView

setActionAreaView

public void setActionAreaView(EditorActionAreaView actionAreaView)
Specified by:
setActionAreaView in interface DialogView

attach

public void attach()
Specified by:
attach in interface com.vaadin.server.ClientConnector
Specified by:
attach in interface com.vaadin.ui.Component
Overrides:
attach in class com.vaadin.ui.AbstractComponent

asVaadinComponent

public com.vaadin.ui.Component asVaadinComponent()
Description copied from interface: View
Returns the Vaadin component managed by this view.

Specified by:
asVaadinComponent in interface View

getContentView

public View getContentView()
Specified by:
getContentView in interface DialogView

getActionAreaView

public EditorActionAreaView getActionAreaView()
Specified by:
getActionAreaView in interface DialogView

getDialog

protected BaseDialog getDialog()


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