Class CSSFontFaceRuleImpl
java.lang.Object
org.htmlunit.cssparser.parser.AbstractLocatable
org.htmlunit.cssparser.dom.AbstractCSSRuleImpl
org.htmlunit.cssparser.dom.CSSFontFaceRuleImpl
- All Implemented Interfaces:
Serializable, Locatable
Implementation of CSSFontFaceRule.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCSSFontFaceRuleImpl(CSSStyleSheetImpl parentStyleSheet, AbstractCSSRuleImpl parentRule) Ctor. -
Method Summary
Modifier and TypeMethodDescriptionbooleangetStyle()inthashCode()voidsetCssText(String cssText) Sets the css text.voidsetStyle(CSSStyleDeclarationImpl style) Sets the style to a new one.toString()Methods inherited from class AbstractCSSRuleImpl
getParentRule, getParentStyleSheet, setParentRule, setParentStyleSheetMethods inherited from class AbstractLocatable
getLocator, setLocator
-
Field Details
-
style_
-
-
Constructor Details
-
CSSFontFaceRuleImpl
Ctor.- Parameters:
parentStyleSheet- the parent style sheetparentRule- the parent rule
-
-
Method Details
-
getCssText
- Specified by:
getCssTextin classAbstractCSSRuleImpl- Returns:
- the current css text
-
setCssText
Sets the css text.- Specified by:
setCssTextin classAbstractCSSRuleImpl- Parameters:
cssText- the new css text- Throws:
DOMException
-
getStyle
- Returns:
- the style
-
setStyle
Sets the style to a new one.- Parameters:
style- the new style
-
equals
- Overrides:
equalsin classAbstractCSSRuleImpl
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractCSSRuleImpl
-
toString
-