public static interface ConnectorHierarchyChangeEvent.ConnectorHierarchyChangeHandler extends Serializable, com.google.gwt.event.shared.EventHandler
AbstractHasComponentsConnector
or an appropriate subclass.Modifier and Type | Method and Description |
---|---|
void |
onConnectorHierarchyChange(ConnectorHierarchyChangeEvent connectorHierarchyChangeEvent)
Called by the framework when the list of child components of the
connector implementing this interface has changed.
|
void onConnectorHierarchyChange(ConnectorHierarchyChangeEvent connectorHierarchyChangeEvent)
This method is called after the shared state and hierarchy data (i.e.
AbstractHasComponentsConnector.setChildComponents(List)
) been
updated for all affected connectors, but before updating captions,
firing state change events, invoking updateFromUIDL for legacy
connectors, invoking RPC and starting the layout phase.
Please note that hierarchy change events are fired in a non-deterministic order when a message from the server causes multiple parts of the hierarchy to change. This means that the old parent connector might not yet have detached a child widget and that the widget of a removed child might already have been attached by its new parent.
connectorHierarchyChangeEvent
- the event with information about the hierarchy changeCopyright © 2016 Vaadin Ltd. All rights reserved.