Interface VirtualComponent

All Superinterfaces:
Component, ComponentBuilderApplicable, ComponentLike, HoverEventSource<Component>, ScopedComponent<TextComponent>, StyleGetter, StyleSetter<Component>, TextComponent

public sealed interface VirtualComponent extends TextComponent
A virtual component.

This component type is transient and not guaranteed to survive during any sort of transformations or serialization.

Since:
4.18.0
See Also:
  • Method Details

    • contextType

      Class<?> contextType()
      Gets the renderer context type.
      Returns:
      the renderer context type
      Since:
      4.18.0
    • renderer

      Gets the renderer.
      Returns:
      the renderer
      Since:
      4.18.0