public class CSSFontFaceRuleImpl extends AbstractCSSRuleImpl
| Constructor and Description |
|---|
CSSFontFaceRuleImpl(CSSStyleSheetImpl parentStyleSheet,
AbstractCSSRuleImpl parentRule)
Ctor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCssText() |
CSSStyleDeclarationImpl |
getStyle() |
int |
hashCode() |
void |
setCssText(String cssText)
Sets the css text.
|
void |
setStyle(CSSStyleDeclarationImpl style)
Sets the style to a new one.
|
String |
toString() |
getParentRule, getParentStyleSheet, setParentRule, setParentStyleSheetgetLocator, setLocatorpublic CSSFontFaceRuleImpl(CSSStyleSheetImpl parentStyleSheet, AbstractCSSRuleImpl parentRule)
parentStyleSheet - the parent style sheetparentRule - the parent rulepublic String getCssText()
getCssText in class AbstractCSSRuleImplpublic void setCssText(String cssText) throws DOMException
setCssText in class AbstractCSSRuleImplcssText - the new css textDOMExceptionpublic CSSStyleDeclarationImpl getStyle()
public void setStyle(CSSStyleDeclarationImpl style)
style - the new stylepublic boolean equals(Object obj)
equals in class AbstractCSSRuleImplpublic int hashCode()
hashCode in class AbstractCSSRuleImplCopyright © 2021. All rights reserved.