Class CSSPageRuleImpl

    • Constructor Detail

      • CSSPageRuleImpl

        public CSSPageRuleImpl​(CSSStyleSheetImpl parentStyleSheet,
                               AbstractCSSRuleImpl parentRule,
                               java.lang.String pseudoPage)
        Ctor.
        Parameters:
        parentStyleSheet - the parent style sheet
        parentRule - the parent rule
        pseudoPage - the pseudo page
    • Method Detail

      • setCssText

        public void setCssText​(java.lang.String cssText)
                        throws org.w3c.dom.DOMException
        Sets the css text.
        Specified by:
        setCssText in class AbstractCSSRuleImpl
        Parameters:
        cssText - the new css text
        Throws:
        org.w3c.dom.DOMException
      • getSelectorText

        public java.lang.String getSelectorText()
        Returns:
        the current selector text
      • setSelectorText

        public void setSelectorText​(java.lang.String selectorText)
                             throws org.w3c.dom.DOMException
        Sets the selector text.
        Parameters:
        selectorText - the new selector text
        Throws:
        org.w3c.dom.DOMException
      • setStyle

        public void setStyle​(CSSStyleDeclarationImpl style)
        Changes the style.
        Parameters:
        style - the new style
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object