Serializable
, org.w3c.dom.css.CSSStyleDeclaration
public class CSSStyleDeclarationImpl extends Object implements org.w3c.dom.css.CSSStyleDeclaration, Serializable
CSSStyleDeclaration
.Constructor | Description |
---|---|
CSSStyleDeclarationImpl() |
|
CSSStyleDeclarationImpl(org.w3c.dom.css.CSSRule parentRule) |
Modifier and Type | Method | 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.CSSStyleDeclaration
public void setCssText(String cssText) throws DOMException
setCssText
in interface org.w3c.dom.css.CSSStyleDeclaration
DOMException
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 int getLength()
getLength
in interface org.w3c.dom.css.CSSStyleDeclaration
public String item(int index)
item
in interface org.w3c.dom.css.CSSStyleDeclaration
public org.w3c.dom.css.CSSRule getParentRule()
getParentRule
in interface org.w3c.dom.css.CSSStyleDeclaration
public void addProperty(Property p)
Copyright © 2018. All rights reserved.