com.steadystate.css.dom
Class CSSFontFaceRuleImpl

java.lang.Object
  extended by com.steadystate.css.dom.CSSOMObjectImpl
      extended by com.steadystate.css.dom.AbstractCSSRuleImpl
          extended by com.steadystate.css.dom.CSSFontFaceRuleImpl
All Implemented Interfaces:
CSSOMObject, Serializable, org.w3c.dom.css.CSSFontFaceRule, org.w3c.dom.css.CSSRule

public class CSSFontFaceRuleImpl
extends AbstractCSSRuleImpl
implements org.w3c.dom.css.CSSFontFaceRule, Serializable

Implementation of CSSFontFaceRule.

Version:
$Id: CSSFontFaceRuleImpl.java,v 1.2 2008/03/26 02:17:24 sdanig Exp $
Author:
David Schweinsberg
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.steadystate.css.dom.AbstractCSSRuleImpl
parentRule, parentStyleSheet
 
Fields inherited from interface org.w3c.dom.css.CSSRule
CHARSET_RULE, FONT_FACE_RULE, IMPORT_RULE, MEDIA_RULE, PAGE_RULE, STYLE_RULE, UNKNOWN_RULE
 
Constructor Summary
CSSFontFaceRuleImpl()
           
CSSFontFaceRuleImpl(CSSStyleSheetImpl parentStyleSheet, org.w3c.dom.css.CSSRule parentRule)
           
 
Method Summary
 String getCssText()
           
 org.w3c.dom.css.CSSStyleDeclaration getStyle()
           
 short getType()
           
 void setCssText(String cssText)
           
 void setStyle(CSSStyleDeclarationImpl style)
           
 
Methods inherited from class com.steadystate.css.dom.AbstractCSSRuleImpl
getParentRule, getParentStyleSheet, setParentRule, setParentStyleSheet
 
Methods inherited from class com.steadystate.css.dom.CSSOMObjectImpl
getUserData, getUserDataMap, setUserData, setUserDataMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.w3c.dom.css.CSSRule
getParentRule, getParentStyleSheet
 

Constructor Detail

CSSFontFaceRuleImpl

public CSSFontFaceRuleImpl(CSSStyleSheetImpl parentStyleSheet,
                           org.w3c.dom.css.CSSRule parentRule)

CSSFontFaceRuleImpl

public CSSFontFaceRuleImpl()
Method Detail

getType

public short getType()
Specified by:
getType in interface org.w3c.dom.css.CSSRule

getCssText

public String getCssText()
Specified by:
getCssText in interface org.w3c.dom.css.CSSRule

setCssText

public void setCssText(String cssText)
                throws DOMException
Specified by:
setCssText in interface org.w3c.dom.css.CSSRule
Throws:
DOMException

getStyle

public org.w3c.dom.css.CSSStyleDeclaration getStyle()
Specified by:
getStyle in interface org.w3c.dom.css.CSSFontFaceRule

setStyle

public void setStyle(CSSStyleDeclarationImpl style)


Copyright © 2011. All Rights Reserved.