Interface IHCCustomizer

  • All Known Implementing Classes:
    AbstractHCCustomizer, HCCustomizerAutoFocusFirstCtrl, HCCustomizerList
    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 IHCCustomizer
    A special customization interface, that lets you modify existing elements before they are assembled and emitted in the HTML code.
    Author:
    Philip Helger
    • Method Detail

      • customizeNode

        void customizeNode​(@Nonnull
                           IHCNode aNode,
                           @Nonnull
                           EHTMLVersion eHTMLVersion,
                           @Nonnull
                           IHCHasChildrenMutable<?,​? super IHCNode> aTargetNode)
        Customize HC node with some predefined classes etc.
        Parameters:
        aNode - The element to be customized. Never null.
        eHTMLVersion - The HTML version to be used. Never null.
        aTargetNode - The node where additional elements should be appended to. May not be null.