Class CSSFontFaceRuleImpl

    • Constructor Detail

      • CSSFontFaceRuleImpl

        public CSSFontFaceRuleImpl​(CSSStyleSheetImpl parentStyleSheet,
                                   AbstractCSSRuleImpl parentRule)
        Ctor.
        Parameters:
        parentStyleSheet - the parent style sheet
        parentRule - the parent rule
    • 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
      • setStyle

        public void setStyle​(CSSStyleDeclarationImpl style)
        Sets the style to a new one.
        Parameters:
        style - the new style
      • toString

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