com.vaadin.client.ui
Class AbstractSingleComponentContainerConnector

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.AbstractSingleComponentContainerConnector
All Implemented Interfaces:
com.google.gwt.event.shared.EventHandler, StateChangeEvent.StateChangeHandler, ComponentConnector, ConnectorHierarchyChangeEvent.ConnectorHierarchyChangeHandler, HasComponentsConnector, ServerConnector, com.vaadin.shared.Connector, java.io.Serializable
Direct Known Subclasses:
PanelConnector, UIConnector, WindowConnector

public abstract class AbstractSingleComponentContainerConnector
extends AbstractHasComponentsConnector

Client side connector for subclasses of AbstractSingleComponentConnector.

Since:
7.0
See Also:
Serialized Form

Constructor Summary
AbstractSingleComponentContainerConnector()
           
 
Method Summary
protected  ComponentConnector getContent()
          Returns the content (only/first child) of the container.
protected  Widget getContentWidget()
          Returns the widget (if any) of the content of the container.
 
Methods inherited from class com.vaadin.client.ui.AbstractHasComponentsConnector
addConnectorHierarchyChangeHandler, getChildComponents, setChildComponents
 
Methods inherited from class com.vaadin.client.ui.AbstractComponentConnector
createWidget, delegateCaptionHandling, flush, getIcon, getIconUri, getLayoutManager, getState, getTooltipInfo, getWidget, hasTooltip, isReadOnly, isRealUpdate, isRelativeHeight, isRelativeWidth, isUndefinedHeight, isUndefinedWidth, onStateChanged, onUnregister, setWidgetEnabled, setWidgetStyleName, setWidgetStyleNameWithPrefix, updateComponentSize, updateComponentSize, updateEnabledState, updateWidgetSize, updateWidgetStyleNames
 
Methods inherited from class com.vaadin.client.ui.AbstractConnector
addStateChangeHandler, addStateChangeHandler, createState, doInit, ensureHandlerManager, fireEvent, forceStateChange, getChildren, getConnection, getConnectorId, getParent, getResourceUrl, getRpcImplementations, getRpcProxy, getStateType, hasEventListener, init, 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.HasComponentsConnector
updateCaption
 
Methods inherited from interface com.vaadin.client.ServerConnector
addStateChangeHandler, addStateChangeHandler, doInit, fireEvent, getChildren, getConnection, getParent, getRpcImplementations, getState, hasEventListener, isEnabled, onUnregister, removeStateChangeHandler, removeStateChangeHandler, setChildren, setParent, updateEnabledState
 
Methods inherited from interface com.vaadin.shared.Connector
getConnectorId
 
Methods inherited from interface com.vaadin.client.ConnectorHierarchyChangeEvent.ConnectorHierarchyChangeHandler
onConnectorHierarchyChange
 

Constructor Detail

AbstractSingleComponentContainerConnector

public AbstractSingleComponentContainerConnector()
Method Detail

getContent

protected ComponentConnector getContent()
Returns the content (only/first child) of the container.

Returns:
child connector or null if none (e.g. invisible or not set on server)

getContentWidget

protected Widget getContentWidget()
Returns the widget (if any) of the content of the container.

Returns:
widget of the only/first connector of the container, null if no content or if there is no widget for the connector


Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.