Class Page.Styles

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    Page

    public static class Page.Styles
    extends java.lang.Object
    implements java.io.Serializable
    Contains dynamically injected styles injected in the HTML document at runtime.
    Since:
    7.1
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(Resource resource)
      Injects a CSS resource into the page.
      void add​(java.lang.String css)
      Injects a raw CSS string into the page.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • add

        public void add​(java.lang.String css)
        Injects a raw CSS string into the page.
        Parameters:
        css - The CSS to inject
      • add

        public void add​(Resource resource)
        Injects a CSS resource into the page.
        Parameters:
        resource - The resource to inject.