info.magnolia.ui.vaadin.gwt.client.dialog.connector
Class BaseDialogConnector

java.lang.Object
  extended by com.vaadin.client.ui.AbstractConnector
      extended by com.vaadin.client.ui.AbstractComponentConnector
          extended by com.vaadin.client.ui.AbstractHasComponentsConnector
              extended by com.vaadin.client.ui.AbstractComponentContainerConnector
                  extended by com.vaadin.client.ui.AbstractLayoutConnector
                      extended by info.magnolia.ui.vaadin.gwt.client.dialog.connector.BaseDialogConnector
All Implemented Interfaces:
com.google.gwt.event.shared.EventHandler, com.vaadin.client.communication.StateChangeEvent.StateChangeHandler, com.vaadin.client.ComponentConnector, com.vaadin.client.ConnectorHierarchyChangeEvent.ConnectorHierarchyChangeHandler, com.vaadin.client.HasComponentsConnector, com.vaadin.client.ServerConnector, com.vaadin.shared.Connector, BaseDialogView.Presenter, Serializable
Direct Known Subclasses:
DialogContainingFormConnector

public class BaseDialogConnector
extends com.vaadin.client.ui.AbstractLayoutConnector
implements BaseDialogView.Presenter

BaseDialogConnector.

See Also:
Serialized Form

Constructor Summary
BaseDialogConnector()
           
 
Method Summary
 void closeDialog()
           
protected  BaseDialogState createState()
           
protected  BaseDialogView createView()
           
protected  com.google.gwt.user.client.ui.Widget createWidget()
           
 boolean delegateCaptionHandling()
           
protected  com.vaadin.client.ComponentConnector getContent()
           
protected  com.vaadin.client.ComponentConnector getFooter()
           
protected  com.vaadin.client.ComponentConnector getHeader()
           
 BaseDialogState getState()
           
protected  void init()
           
 void onConnectorHierarchyChange(com.vaadin.client.ConnectorHierarchyChangeEvent connectorHierarchyChangeEvent)
           
 void setDescriptionVisibility(boolean isVisible)
           
 void updateCaption(com.vaadin.client.ComponentConnector connector)
           
protected  void updateContent()
           
protected  void updateFooterToolbar()
           
protected  void updateHeaderToolbar()
           
 
Methods inherited from class com.vaadin.client.ui.AbstractHasComponentsConnector
addConnectorHierarchyChangeHandler, getChildComponents, setChildComponents
 
Methods inherited from class com.vaadin.client.ui.AbstractComponentConnector
flush, getIcon, getLayoutManager, getTooltipInfo, getWidget, hasTooltip, isReadOnly, isRealUpdate, isRelativeHeight, isRelativeWidth, isUndefinedHeight, isUndefinedWidth, onStateChanged, onUnregister, setWidgetEnabled, setWidgetStyleName, setWidgetStyleNameWithPrefix, updateComponentSize, updateComponentSize, updateEnabledState, updateWidgetStyleNames
 
Methods inherited from class com.vaadin.client.ui.AbstractConnector
addStateChangeHandler, addStateChangeHandler, doInit, ensureHandlerManager, fireEvent, getChildren, getConnection, getConnectorId, getParent, getResourceUrl, getRpcImplementations, getRpcProxy, getStateType, hasEventListener, isEnabled, registerRpc, removeStateChangeHandler, removeStateChangeHandler, setChildren, setParent, unregisterRpc
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.vaadin.client.ServerConnector
addStateChangeHandler, addStateChangeHandler, doInit, fireEvent, getChildren, getConnection, getParent, getRpcImplementations, hasEventListener, isEnabled, onUnregister, removeStateChangeHandler, removeStateChangeHandler, setChildren, setParent, updateEnabledState
 
Methods inherited from interface com.vaadin.shared.Connector
getConnectorId
 

Constructor Detail

BaseDialogConnector

public BaseDialogConnector()
Method Detail

createView

protected BaseDialogView createView()

init

protected void init()
Overrides:
init in class com.vaadin.client.ui.AbstractConnector

createState

protected BaseDialogState createState()
Overrides:
createState in class com.vaadin.client.ui.AbstractConnector

getState

public BaseDialogState getState()
Specified by:
getState in interface com.vaadin.client.ComponentConnector
Specified by:
getState in interface com.vaadin.client.ServerConnector
Overrides:
getState in class com.vaadin.client.ui.AbstractLayoutConnector

updateCaption

public void updateCaption(com.vaadin.client.ComponentConnector connector)
Specified by:
updateCaption in interface com.vaadin.client.HasComponentsConnector

onConnectorHierarchyChange

public void onConnectorHierarchyChange(com.vaadin.client.ConnectorHierarchyChangeEvent connectorHierarchyChangeEvent)
Specified by:
onConnectorHierarchyChange in interface com.vaadin.client.ConnectorHierarchyChangeEvent.ConnectorHierarchyChangeHandler

delegateCaptionHandling

public boolean delegateCaptionHandling()
Specified by:
delegateCaptionHandling in interface com.vaadin.client.ComponentConnector
Overrides:
delegateCaptionHandling in class com.vaadin.client.ui.AbstractComponentConnector

getContent

protected com.vaadin.client.ComponentConnector getContent()

getHeader

protected com.vaadin.client.ComponentConnector getHeader()

getFooter

protected com.vaadin.client.ComponentConnector getFooter()

updateContent

protected void updateContent()

updateHeaderToolbar

protected void updateHeaderToolbar()

updateFooterToolbar

protected void updateFooterToolbar()

createWidget

protected com.google.gwt.user.client.ui.Widget createWidget()
Overrides:
createWidget in class com.vaadin.client.ui.AbstractComponentConnector

closeDialog

public void closeDialog()
Specified by:
closeDialog in interface BaseDialogView.Presenter

setDescriptionVisibility

public void setDescriptionVisibility(boolean isVisible)
Specified by:
setDescriptionVisibility in interface BaseDialogView.Presenter


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