Class CSSFontFaceRule

java.lang.Object
org.htmlunit.corejs.javascript.ScriptableObject
All Implemented Interfaces:
Serializable, Cloneable, org.htmlunit.corejs.javascript.ConstProperties, org.htmlunit.corejs.javascript.debug.DebuggableObject, org.htmlunit.corejs.javascript.Scriptable, org.htmlunit.corejs.javascript.SymbolScriptable

public class CSSFontFaceRule extends CSSRule
A JavaScript object for a CSSFontFaceRule.
See Also:
  • Constructor Details

    • CSSFontFaceRule

      public CSSFontFaceRule()
      Creates a new instance.
    • CSSFontFaceRule

      protected CSSFontFaceRule(CSSStyleSheet stylesheet, org.htmlunit.cssparser.dom.CSSFontFaceRuleImpl rule)
      Creates a new instance.
      Parameters:
      stylesheet - the Stylesheet of this rule.
      rule - the wrapped rule
  • Method Details

    • jsConstructor

      public void jsConstructor()
      Creates an instance.
      Overrides:
      jsConstructor in class CSSRule
    • getType

      public int getType()
      Returns the type of the rule.
      Overrides:
      getType in class CSSRule
      Returns:
      the type of the rule.