Class CssSupportImpl

  • All Implemented Interfaces:
    CssSupport

    public class CssSupportImpl
    extends Object
    implements CssSupport
    Features related to CSS loaded in the active page.
    • Constructor Detail

      • CssSupportImpl

        public CssSupportImpl​(JavascriptControl javascriptControl,
                              AwaitControl awaitControl)
        Creates a new implementation of css support
        Parameters:
        javascriptControl - javascript control
        awaitControl - await control
    • Method Detail

      • inject

        public void inject​(String cssText)
        Description copied from interface: CssSupport
        Inject CSS into active page.
        Specified by:
        inject in interface CssSupport
        Parameters:
        cssText - css source to inject.
      • injectResource

        public void injectResource​(String cssResourceName)
        Description copied from interface: CssSupport
        Inject CSS classpath resource into active page.
        Specified by:
        injectResource in interface CssSupport
        Parameters:
        cssResourceName - css classpath resource to inject.