Interface HighlightAction<T>

  • Type Parameters:
    T - the target type of the highlight action
    All Superinterfaces:
    Serializable
    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 HighlightAction<T>
    extends Serializable
    An action to be performed to set the highlight state of the target.
    Since:
    1.0
    • Method Detail

      • highlight

        void highlight​(T t,
                       boolean highlight)
        Performs the highlight action on the target.
        Parameters:
        t - the target of the highlight action
        highlight - true if the target should be highlighted, false to clear the highlight state previously set by this action