com.vaadin.client.ui.menubar.

Class MenuBarConnector

    • Constructor Detail

      • MenuBarConnector

        public MenuBarConnector()
    • Method Detail

      • updateFromUIDL

        public void updateFromUIDL​(UIDL uidl,
                                   ApplicationConnection client)

        This method must be implemented to update the client-side component from UIDL data received from server. This method is called when the page is loaded for the first time, and every time UI changes in the component are received from the server.

        Specified by:

        updateFromUIDL in interface Paintable

      • hasTooltip

        public boolean hasTooltip()

        Description copied from interface: ComponentConnector

        Check whether there might be a tooltip for this component. The framework will only add event listeners for automatically handling tooltips (using ComponentConnector.getTooltipInfo(Element)) if this method returns true.

        This is only done to optimize performance, so in cases where the status is not known, it's safer to return true so that there will be a tooltip handler even though it might not be needed in all cases.

        Specified by:

        hasTooltip in interface ComponentConnector

        Overrides:

        hasTooltip in class AbstractComponentConnector

        Returns:

        true if some part of the component might have a tooltip, otherwise false