public abstract class CSSOMStoredStyleDeclaration extends CSSOMSVGStyleDeclaration implements CSSOMStyleDeclaration.ValueProvider, CSSOMStyleDeclaration.ModificationHandler, StyleDeclarationProvider
StyleDeclaration.CSSOMSVGStyleDeclaration.StyleDeclarationColorValue, CSSOMSVGStyleDeclaration.StyleDeclarationPaintValueCSSOMStyleDeclaration.ModificationHandler, CSSOMStyleDeclaration.StyleDeclarationValue, CSSOMStyleDeclaration.ValueProvider| Modifier and Type | Field and Description |
|---|---|
protected StyleDeclaration |
declaration
The object storing the properties.
|
cssEnginehandler, parentRule, valueProvider, values| Constructor and Description |
|---|
CSSOMStoredStyleDeclaration(CSSEngine eng)
Creates a new CSSOMStoredStyleDeclaration.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getLength()
Returns the length of the declaration.
|
StyleDeclaration |
getStyleDeclaration()
Returns the object storing the properties of this style declaration.
|
String |
getText()
Returns the text of the declaration.
|
Value |
getValue(String name)
Returns the current value associated with this object.
|
boolean |
isImportant(String name)
Tells whether the given property is important.
|
String |
item(int idx)
Returns the value at the given.
|
void |
setStyleDeclaration(StyleDeclaration sd)
Sets the object storing the properties of this style declaration.
|
createCSSValuegetCssText, getCSSValue, getParentRule, getPropertyCSSValue, getPropertyPriority, getPropertyValue, removeProperty, setCssText, setModificationHandler, setPropertyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpropertyChanged, propertyRemoved, textChangedprotected StyleDeclaration declaration
public CSSOMStoredStyleDeclaration(CSSEngine eng)
public StyleDeclaration getStyleDeclaration()
getStyleDeclaration in interface StyleDeclarationProviderpublic void setStyleDeclaration(StyleDeclaration sd)
setStyleDeclaration in interface StyleDeclarationProviderpublic Value getValue(String name)
getValue in interface CSSOMStyleDeclaration.ValueProviderpublic boolean isImportant(String name)
isImportant in interface CSSOMStyleDeclaration.ValueProviderpublic String getText()
getText in interface CSSOMStyleDeclaration.ValueProviderpublic int getLength()
getLength in interface CSSOMStyleDeclaration.ValueProvidergetLength in interface org.w3c.dom.css.CSSStyleDeclarationgetLength in class CSSOMStyleDeclarationpublic String item(int idx)
item in interface CSSOMStyleDeclaration.ValueProvideritem in interface org.w3c.dom.css.CSSStyleDeclarationitem in class CSSOMStyleDeclarationCopyright © 2000–2024 Apache Software Foundation. All rights reserved.