Interface Rendering<SOURCE>

    • Method Detail

      • getDataGenerator

        Optional<DataGenerator<SOURCE>> getDataGenerator()
        Gets a DataGenerator associated with the renderer. The DataGenerator is used in components that support in asynchronous loading of items.
        Returns:
        the associated DataGenerator, if any
      • getTemplateElement

        @Deprecated
        Element getTemplateElement()
        Deprecated.
        since Vaadin 22
        Gets the <template> element associated with the rendering. This can be used to set specific attributes to the template, or change its contents before it is stamped on the client-side.
        Returns:
        the associated template element, or null if no template element is associated with the rendering
      • getRegistration

        default Registration getRegistration()
        Gets a Registration that can be used to clean up resources associated with the renderer when it's no longer used.
        Returns:
        the Registration
        See Also:
        Registration.remove()