CSSOMObject
, Serializable
, org.w3c.dom.css.CSSFontFaceRule
, org.w3c.dom.css.CSSRule
public class CSSFontFaceRuleImpl extends AbstractCSSRuleImpl implements org.w3c.dom.css.CSSFontFaceRule, Serializable
CSSFontFaceRule
.parentRule, parentStyleSheet
CHARSET_RULE, FONT_FACE_RULE, IMPORT_RULE, MEDIA_RULE, PAGE_RULE, STYLE_RULE, UNKNOWN_RULE
Constructor | Description |
---|---|
CSSFontFaceRuleImpl() |
|
CSSFontFaceRuleImpl(CSSStyleSheetImpl parentStyleSheet,
org.w3c.dom.css.CSSRule parentRule) |
Modifier and Type | Method | Description |
---|---|---|
String |
getCssText() |
|
org.w3c.dom.css.CSSStyleDeclaration |
getStyle() |
|
short |
getType() |
|
void |
setCssText(String cssText) |
|
void |
setStyle(CSSStyleDeclarationImpl style) |
getParentRule, getParentStyleSheet, setParentRule, setParentStyleSheet
getUserData, getUserDataMap, setUserData, setUserDataMap
getParentRule, getParentStyleSheet
public CSSFontFaceRuleImpl(CSSStyleSheetImpl parentStyleSheet, org.w3c.dom.css.CSSRule parentRule)
public CSSFontFaceRuleImpl()
public short getType()
getType
in interface org.w3c.dom.css.CSSRule
public String getCssText()
getCssText
in interface org.w3c.dom.css.CSSRule
public void setCssText(String cssText) throws DOMException
setCssText
in interface org.w3c.dom.css.CSSRule
DOMException
public org.w3c.dom.css.CSSStyleDeclaration getStyle()
getStyle
in interface org.w3c.dom.css.CSSFontFaceRule
public void setStyle(CSSStyleDeclarationImpl style)
Copyright © 2018. All rights reserved.