|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vaadin.client.ui.AbstractConnector
com.vaadin.client.ui.AbstractComponentConnector
com.vaadin.client.ui.AbstractHasComponentsConnector
public abstract class AbstractHasComponentsConnector
| Constructor Summary | |
|---|---|
AbstractHasComponentsConnector()
Default constructor |
|
| Method Summary | |
|---|---|
com.google.gwt.event.shared.HandlerRegistration |
addConnectorHierarchyChangeHandler(ConnectorHierarchyChangeEvent.ConnectorHierarchyChangeHandler handler)
Adds a handler that is called whenever the child hierarchy of this connector has been updated by the server. |
java.util.List<ComponentConnector> |
getChildComponents()
Returns the children for this connector. |
void |
setChildComponents(java.util.List<ComponentConnector> childComponents)
Sets the children for this connector. |
| 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 |
|---|
public AbstractHasComponentsConnector()
| Method Detail |
|---|
public java.util.List<ComponentConnector> getChildComponents()
HasComponentsConnector
The children for this connector are defined as all HasComponentss
whose parent is this HasComponentsConnector.
getChildComponents in interface HasComponentsConnectorpublic void setChildComponents(java.util.List<ComponentConnector> childComponents)
HasComponentsConnector
Note that calling this method does not call
ConnectorHierarchyChangeEvent.ConnectorHierarchyChangeHandler.onConnectorHierarchyChange(ConnectorHierarchyChangeEvent)
. The event method is called only when the hierarchy has been updated for
all connectors.
setChildComponents in interface HasComponentsConnectorchildComponents - The new child connectorspublic com.google.gwt.event.shared.HandlerRegistration addConnectorHierarchyChangeHandler(ConnectorHierarchyChangeEvent.ConnectorHierarchyChangeHandler handler)
HasComponentsConnector
addConnectorHierarchyChangeHandler in interface HasComponentsConnectorhandler - The handler that should be added.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||