com.vaadin.client.

Interface HasComponentsConnector

    • Method Detail

      • updateCaption

        void updateCaption​(ComponentConnector connector)

        Update child components caption, description and error message.

        Each component is responsible for maintaining its caption, description and error message. In most cases components doesn't want to do that and those elements reside outside of the component. Because of this layouts must provide service for it's childen to show those elements for them.

        Parameters:

        connector - Child component for which service is requested.

      • getChildComponents

        List<ComponentConnector> getChildComponents()

        Returns the child components for this connector.

        The children for this connector are defined as all HasComponentss whose parent is this HasComponentsConnector.

        Note that the method ServerConnector.getChildren() can return a larger list of children including both the child components and any extensions registered for the connector.

        Returns:

        A collection of child components for this connector. An empty collection if there are no children. Never returns null.

      • addConnectorHierarchyChangeHandler

        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.

        Parameters:

        handler - The handler that should be added.

        Returns:

        A handler registration reference that can be used to unregister the handler