|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Object
|
+--org.apache.batik.css.dom.CSSOMStyleDeclaration
|
+--org.apache.batik.css.dom.CSSOMSVGStyleDeclaration
|
+--org.apache.batik.dom.svg.SVGStylableElement.StyleDeclaration
This class represents the 'style' attribute.
| Nested Class Summary |
|---|
| Nested classes inherited from class org.apache.batik.css.dom.CSSOMSVGStyleDeclaration |
|---|
CSSOMSVGStyleDeclaration.StyleDeclarationColorValue, CSSOMSVGStyleDeclaration.StyleDeclarationPaintValue |
| Nested classes inherited from class org.apache.batik.css.dom.CSSOMStyleDeclaration |
|---|
CSSOMStyleDeclaration.ModificationHandler, CSSOMStyleDeclaration.StyleDeclarationValue, CSSOMStyleDeclaration.ValueProvider |
| Field Summary | |
|---|---|
protected StyleDeclaration |
declaration
The associated CSS object. |
protected boolean |
mutate
Whether the mutation comes from this object. |
| 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 | |
|---|---|
SVGStylableElement.StyleDeclaration(CSSEngine eng)
Creates a new StyleDeclaration. |
|
| Method Summary | |
|---|---|
void |
attrAdded(Attr node,
java.lang.String newv)
Called when an Attr node has been added. |
void |
attrModified(Attr node,
java.lang.String oldv,
java.lang.String newv)
Called when an Attr node has been modified. |
void |
attrRemoved(Attr node,
java.lang.String oldv)
Called when an Attr node has been removed. |
int |
getLength()
Returns the length of the declaration. |
java.lang.String |
getText()
Returns the text of the declaration. |
Value |
getValue(java.lang.String name)
Returns the current value associated with this object. |
boolean |
isImportant(java.lang.String name)
Tells whether the given property is important. |
java.lang.String |
item(int idx)
Returns the value at the given. |
void |
propertyChanged(java.lang.String name,
java.lang.String value,
java.lang.String prio)
Called when a property was changed. |
void |
propertyRemoved(java.lang.String name)
Called when a property was removed. |
void |
textChanged(java.lang.String text)
Called when the value text has changed. |
| 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 |
| Field Detail |
protected StyleDeclaration declaration
protected boolean mutate
| Constructor Detail |
public SVGStylableElement.StyleDeclaration(CSSEngine eng)
| Method Detail |
public Value getValue(java.lang.String name)
getValue in interface CSSOMStyleDeclaration.ValueProviderpublic boolean isImportant(java.lang.String name)
isImportant in interface CSSOMStyleDeclaration.ValueProviderpublic java.lang.String getText()
getText in interface CSSOMStyleDeclaration.ValueProviderpublic int getLength()
getLength in interface CSSOMStyleDeclaration.ValueProvidergetLength in class CSSOMStyleDeclarationpublic java.lang.String item(int idx)
item in interface CSSOMStyleDeclaration.ValueProvideritem in class CSSOMStyleDeclaration
public void attrAdded(Attr node,
java.lang.String newv)
attrAdded in interface LiveAttributeValue
public void attrModified(Attr node,
java.lang.String oldv,
java.lang.String newv)
attrModified in interface LiveAttributeValue
public void attrRemoved(Attr node,
java.lang.String oldv)
attrRemoved in interface LiveAttributeValue
public void textChanged(java.lang.String text)
throws DOMException
textChanged in interface CSSOMStyleDeclaration.ModificationHandlerDOMException
public void propertyRemoved(java.lang.String name)
throws DOMException
propertyRemoved in interface CSSOMStyleDeclaration.ModificationHandlerDOMException
public void propertyChanged(java.lang.String name,
java.lang.String value,
java.lang.String prio)
throws DOMException
propertyChanged in interface CSSOMStyleDeclaration.ModificationHandlerDOMException
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||