Class HumanTheme

    • Method Detail

      • onComponentTag

        public void onComponentTag​(Component component,
                                   ComponentTag tag)
        Description copied from class: Behavior
        Called any time a component that has this behavior registered is rendering the component tag.
        Overrides:
        onComponentTag in class Behavior
        Parameters:
        component - the component that renders this tag currently
        tag - the tag that is rendered
      • renderHead

        public void renderHead​(Component component,
                               IHeaderResponse response)
        Description copied from class: Behavior
        Render to the web response whatever the component wants to contribute to the head section.
        Specified by:
        renderHead in interface IComponentAwareHeaderContributor
        Overrides:
        renderHead in class Behavior
        Parameters:
        component - component which is contributing to the response. This parameter is here to give the component as the context for component-awares implementing this interface
        response - Response object