Interface HighlightPredicate

    • Method Detail

      • isHighlighted

        boolean isHighlighted​(Component renderer,
                              ComponentAdapter adapter)
        Returns a boolean to indicate whether the component should be highlighted.

        Note: both parameters should be considered strictly read-only!

        Parameters:
        renderer - the cell renderer component that is to be decorated, must not be null
        adapter - the ComponentAdapter for this decorate operation, most not be null
        Returns:
        a boolean to indicate whether the component should be highlighted.