Interface Rendering<SOURCE>

Type Parameters:
SOURCE - the type of the object model
All Superinterfaces:
Serializable

public interface Rendering<SOURCE> extends Serializable
Defines the context of a given Renderer when building the output elements. Components that support Renderers can use the context to customize the rendering according to their needs.
Author:
Vaadin Ltd
See Also:
  • Method Details

    • 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
    • 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: