Package com.vaadin.client.ui
Class AbstractSingleComponentContainerConnector
- java.lang.Object
-
- com.vaadin.client.ui.AbstractConnector
-
- com.vaadin.client.ui.AbstractComponentConnector
-
- com.vaadin.client.ui.AbstractHasComponentsConnector
-
- com.vaadin.client.ui.AbstractSingleComponentContainerConnector
-
- All Implemented Interfaces:
com.google.gwt.event.shared.EventHandler
,StateChangeEvent.StateChangeHandler
,ComponentConnector
,ConnectorHierarchyChangeEvent.ConnectorHierarchyChangeHandler
,HasComponentsConnector
,ServerConnector
,Connector
,Serializable
- Direct Known Subclasses:
LoginFormConnector
,PanelConnector
,UIConnector
,WindowConnector
public abstract class AbstractSingleComponentContainerConnector extends AbstractHasComponentsConnector
Client side connector for subclasses of AbstractSingleComponentConnector.- Since:
- 7.0
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.vaadin.client.ui.AbstractComponentConnector
SIGNIFICANT_MOVE_THRESHOLD
-
-
Constructor Summary
Constructors Constructor Description AbstractSingleComponentContainerConnector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ComponentConnector
getContent()
Returns the content (only/first child) of the container.protected com.google.gwt.user.client.ui.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, registerTouchHandlers, sendContextClickEvent, setWidgetEnabled, setWidgetStyleName, setWidgetStyleNameWithPrefix, shouldHandleLongTap, unregisterTouchHandlers, 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.shared.Connector
getConnectorId
-
Methods inherited from interface com.vaadin.client.ConnectorHierarchyChangeEvent.ConnectorHierarchyChangeHandler
onConnectorHierarchyChange
-
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, hasEventListener, isEnabled, onUnregister, removeStateChangeHandler, removeStateChangeHandler, setChildren, setParent, updateEnabledState
-
-
-
-
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 com.google.gwt.user.client.ui.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
-
-