org.apache.batik.dom.svg

Class SVGStylableElement.StyleDeclaration

public class SVGStylableElement.StyleDeclaration extends CSSOMStoredStyleDeclaration implements LiveAttributeValue, CSSEngine.MainPropertyReceiver

This class represents the 'style' attribute.
Field Summary
protected booleanmutate
Whether the mutation comes from this object.
Constructor Summary
StyleDeclaration(CSSEngine eng)
Creates a new StyleDeclaration.
Method Summary
voidattrAdded(Attr node, String newv)
Called when an Attr node has been added.
voidattrModified(Attr node, String oldv, String newv)
Called when an Attr node has been modified.
voidattrRemoved(Attr node, String oldv)
Called when an Attr node has been removed.
voidpropertyChanged(String name, String value, String prio)
Called when a property was changed.
voidpropertyRemoved(String name)
Called when a property was removed.
voidsetMainProperty(String name, Value v, boolean important)
Sets a main property value in response to a shorthand property being set.
voidtextChanged(String text)
Called when the value text has changed.

Field Detail

mutate

protected boolean mutate
Whether the mutation comes from this object.

Constructor Detail

StyleDeclaration

public StyleDeclaration(CSSEngine eng)
Creates a new StyleDeclaration.

Method Detail

attrAdded

public void attrAdded(Attr node, String newv)
Called when an Attr node has been added.

attrModified

public void attrModified(Attr node, String oldv, String newv)
Called when an Attr node has been modified.

attrRemoved

public void attrRemoved(Attr node, String oldv)
Called when an Attr node has been removed.

propertyChanged

public void propertyChanged(String name, String value, String prio)
Called when a property was changed.

propertyRemoved

public void propertyRemoved(String name)
Called when a property was removed.

setMainProperty

public void setMainProperty(String name, Value v, boolean important)
Sets a main property value in response to a shorthand property being set.

textChanged

public void textChanged(String text)
Called when the value text has changed.
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.