com.vaadin.client.ui.

Class UnknownComponentConnector

    • Constructor Detail

      • UnknownComponentConnector

        public UnknownComponentConnector()
    • Method Detail

      • delegateCaptionHandling

        public boolean delegateCaptionHandling()

        Description copied from interface: ComponentConnector

        Return true if parent handles caption, false if the paintable handles the caption itself.

        This should always return true and all components should let the parent handle the caption and use other attributes for internal texts in the component

        Specified by:

        delegateCaptionHandling in interface ComponentConnector

        Overrides:

        delegateCaptionHandling in class AbstractComponentConnector

        Returns:

        true if caption handling is delegated to the parent, false if parent should not be allowed to render caption

      • setServerSideClassName

        public void setServerSideClassName​(String serverClassName)

        Updates the placeholder widget's caption to mention the component whose connector cannot be determined.

        Parameters:

        serverClassName - the class name of the component

      • createMessage

        public static String createMessage​(String serverClassName)

        Creates a message that warns about the issue with the named component and gives debugging hints.

        Parameters:

        serverClassName - the class name of the component whose connector cannot be determined.

        Returns:

        the warning message