public class CSSStyleDeclarationImpl extends Object implements org.w3c.dom.css.CSSStyleDeclaration, Serializable
CSSStyleDeclaration.| Constructor and Description |
|---|
CSSStyleDeclarationImpl() |
CSSStyleDeclarationImpl(org.w3c.dom.css.CSSRule parentRule) |
| Modifier and Type | Method and Description |
|---|---|
void |
addProperty(Property p) |
String |
getCssText() |
int |
getLength() |
org.w3c.dom.css.CSSRule |
getParentRule() |
List<Property> |
getProperties() |
org.w3c.dom.css.CSSValue |
getPropertyCSSValue(String propertyName) |
Property |
getPropertyDeclaration(String name) |
String |
getPropertyPriority(String propertyName) |
String |
getPropertyValue(String propertyName) |
String |
item(int index) |
String |
removeProperty(String propertyName) |
void |
setCssText(String cssText) |
void |
setParentRule(org.w3c.dom.css.CSSRule parentRule) |
void |
setProperties(List<Property> properties) |
void |
setProperty(String propertyName,
String value,
String priority) |
String |
toString() |
public CSSStyleDeclarationImpl(org.w3c.dom.css.CSSRule parentRule)
public CSSStyleDeclarationImpl()
public void setParentRule(org.w3c.dom.css.CSSRule parentRule)
public String getCssText()
getCssText in interface org.w3c.dom.css.CSSStyleDeclarationpublic void setCssText(String cssText) throws DOMException
setCssText in interface org.w3c.dom.css.CSSStyleDeclarationDOMExceptionpublic String getPropertyValue(String propertyName)
getPropertyValue in interface org.w3c.dom.css.CSSStyleDeclarationpublic org.w3c.dom.css.CSSValue getPropertyCSSValue(String propertyName)
getPropertyCSSValue in interface org.w3c.dom.css.CSSStyleDeclarationpublic String removeProperty(String propertyName) throws DOMException
removeProperty in interface org.w3c.dom.css.CSSStyleDeclarationDOMExceptionpublic String getPropertyPriority(String propertyName)
getPropertyPriority in interface org.w3c.dom.css.CSSStyleDeclarationpublic void setProperty(String propertyName, String value, String priority) throws DOMException
setProperty in interface org.w3c.dom.css.CSSStyleDeclarationDOMExceptionpublic int getLength()
getLength in interface org.w3c.dom.css.CSSStyleDeclarationpublic String item(int index)
item in interface org.w3c.dom.css.CSSStyleDeclarationpublic org.w3c.dom.css.CSSRule getParentRule()
getParentRule in interface org.w3c.dom.css.CSSStyleDeclarationpublic void addProperty(Property p)
Copyright © 2018. All rights reserved.