|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.batik.css.dom.CSSOMStyleDeclaration
org.apache.batik.css.dom.CSSOMSVGStyleDeclaration
org.apache.batik.css.dom.CSSOMStoredStyleDeclaration
public abstract class CSSOMStoredStyleDeclaration
A class for SVG style declarations that store their properties in a
StyleDeclaration
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.batik.css.dom.CSSOMSVGStyleDeclaration |
---|
CSSOMSVGStyleDeclaration.StyleDeclarationColorValue, CSSOMSVGStyleDeclaration.StyleDeclarationPaintValue |
Nested classes/interfaces inherited from class org.apache.batik.css.dom.CSSOMStyleDeclaration |
---|
CSSOMStyleDeclaration.ModificationHandler, CSSOMStyleDeclaration.StyleDeclarationValue, CSSOMStyleDeclaration.ValueProvider |
Field Summary | |
---|---|
protected StyleDeclaration |
declaration
The object storing the properties. |
Fields inherited from class org.apache.batik.css.dom.CSSOMSVGStyleDeclaration |
---|
cssEngine |
Fields inherited from class org.apache.batik.css.dom.CSSOMStyleDeclaration |
---|
handler, parentRule, valueProvider, values |
Constructor Summary | |
---|---|
CSSOMStoredStyleDeclaration(CSSEngine eng)
Creates a new CSSOMStoredStyleDeclaration. |
Method Summary | |
---|---|
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. |
Methods inherited from class org.apache.batik.css.dom.CSSOMSVGStyleDeclaration |
---|
createCSSValue |
Methods inherited from class org.apache.batik.css.dom.CSSOMStyleDeclaration |
---|
getCssText, getCSSValue, getParentRule, getPropertyCSSValue, getPropertyPriority, getPropertyValue, removeProperty, setCssText, setModificationHandler, setProperty |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.batik.css.dom.CSSOMStyleDeclaration.ModificationHandler |
---|
propertyChanged, propertyRemoved, textChanged |
Field Detail |
---|
protected StyleDeclaration declaration
Constructor Detail |
---|
public CSSOMStoredStyleDeclaration(CSSEngine eng)
Method Detail |
---|
public StyleDeclaration getStyleDeclaration()
getStyleDeclaration
in interface StyleDeclarationProvider
public void setStyleDeclaration(StyleDeclaration sd)
setStyleDeclaration
in interface StyleDeclarationProvider
public Value getValue(String name)
getValue
in interface CSSOMStyleDeclaration.ValueProvider
public boolean isImportant(String name)
isImportant
in interface CSSOMStyleDeclaration.ValueProvider
public String getText()
getText
in interface CSSOMStyleDeclaration.ValueProvider
public int getLength()
getLength
in interface CSSOMStyleDeclaration.ValueProvider
getLength
in interface CSSStyleDeclaration
getLength
in class CSSOMStyleDeclaration
public String item(int idx)
item
in interface CSSOMStyleDeclaration.ValueProvider
item
in interface CSSStyleDeclaration
item
in class CSSOMStyleDeclaration
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |