Interface IOnComponentTagListener

  • All Known Implementing Classes:
    OnComponentTagListenerCollection
    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 IOnComponentTagListener
    Listener interface that receives messages when components render their tags. Useful for cross-cutting concerns that want to output tag attribute or otherwise modify component tags.
    Author:
    Igor Vaynberg (ivaynberg)
    • Method Detail

      • onComponentTag

        void onComponentTag​(Component component,
                            ComponentTag tag)
        Called before Component#onComponentTag(ComponentTag)
        Parameters:
        component - the component whose tag is being modified
        tag - the component tag being modified