public class CSSStyleDeclarationImpl extends Object implements org.w3c.dom.css.CSSStyleDeclaration
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object that) |
String |
getCssText() |
int |
getLength() |
org.w3c.dom.css.CSSRule |
getParentRule() |
org.w3c.dom.css.CSSValue |
getPropertyCSSValue(String propertyName) |
String |
getPropertyPriority(String propertyName) |
String |
getPropertyShorthand(String propertyName) |
String |
getPropertyValue(String propertyName) |
int |
hashCode() |
boolean |
isPropertyImplicit(String propertyName) |
String |
item(int index) |
String |
removeProperty(String propertyName) |
void |
setCssText(String value) |
void |
setProperty(String propertyName,
String value,
String priority) |
public String getCssText()
getCssText
in interface org.w3c.dom.css.CSSStyleDeclaration
public void setCssText(String value) throws DOMException
setCssText
in interface org.w3c.dom.css.CSSStyleDeclaration
DOMException
public int getLength()
getLength
in interface org.w3c.dom.css.CSSStyleDeclaration
public org.w3c.dom.css.CSSRule getParentRule()
getParentRule
in interface org.w3c.dom.css.CSSStyleDeclaration
public String getPropertyValue(String propertyName)
getPropertyValue
in interface org.w3c.dom.css.CSSStyleDeclaration
public org.w3c.dom.css.CSSValue getPropertyCSSValue(String propertyName)
getPropertyCSSValue
in interface org.w3c.dom.css.CSSStyleDeclaration
public String removeProperty(String propertyName) throws DOMException
removeProperty
in interface org.w3c.dom.css.CSSStyleDeclaration
DOMException
public String getPropertyPriority(String propertyName)
getPropertyPriority
in interface org.w3c.dom.css.CSSStyleDeclaration
public void setProperty(String propertyName, String value, String priority) throws DOMException
setProperty
in interface org.w3c.dom.css.CSSStyleDeclaration
DOMException
public String item(int index)
item
in interface org.w3c.dom.css.CSSStyleDeclaration
public boolean isPropertyImplicit(String propertyName)
Copyright © 2020. All rights reserved.