Interface HighlightHandler

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface HighlightHandler
    Functional interface that defines how to handle highlight changes for properties in a topic.
    Author:
    Vaadin Ltd
    See Also:
    FormManager.setHighlightHandler(HighlightHandler)
    • Method Detail

      • handleHighlight

        Registration handleHighlight​(HighlightHandler.HighlightContext context)
        Handles a change of highlight for a property in a topic.
        Parameters:
        context - the context of the highlight, not null
        Returns:
        a registration that will be removed with the highlight is toggled off