|
||||||||||
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
org.apache.batik.anim.dom.SVGStylableElement.StyleDeclaration
public class SVGStylableElement.StyleDeclaration
This class represents the 'style' attribute.
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 boolean |
mutate
Whether the mutation comes from this object. |
Fields inherited from class org.apache.batik.css.dom.CSSOMStoredStyleDeclaration |
---|
declaration |
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,
String newv)
Called when an Attr node has been added. |
void |
attrModified(Attr node,
String oldv,
String newv)
Called when an Attr node has been modified. |
void |
attrRemoved(Attr node,
String oldv)
Called when an Attr node has been removed. |
void |
propertyChanged(String name,
String value,
String prio)
Called when a property was changed. |
void |
propertyRemoved(String name)
Called when a property was removed. |
void |
setMainProperty(String name,
Value v,
boolean important)
Sets a main property value in response to a shorthand property being set. |
void |
textChanged(String text)
Called when the value text has changed. |
Methods inherited from class org.apache.batik.css.dom.CSSOMStoredStyleDeclaration |
---|
getLength, getStyleDeclaration, getText, getValue, isImportant, item, setStyleDeclaration |
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 boolean mutate
Constructor Detail |
---|
public SVGStylableElement.StyleDeclaration(CSSEngine eng)
Method Detail |
---|
public void attrAdded(Attr node, String newv)
attrAdded
in interface LiveAttributeValue
public void attrModified(Attr node, String oldv, String newv)
attrModified
in interface LiveAttributeValue
public void attrRemoved(Attr node, String oldv)
attrRemoved
in interface LiveAttributeValue
public void textChanged(String text) throws DOMException
textChanged
in interface CSSOMStyleDeclaration.ModificationHandler
DOMException
public void propertyRemoved(String name) throws DOMException
propertyRemoved
in interface CSSOMStyleDeclaration.ModificationHandler
DOMException
public void propertyChanged(String name, String value, String prio) throws DOMException
propertyChanged
in interface CSSOMStyleDeclaration.ModificationHandler
DOMException
public void setMainProperty(String name, Value v, boolean important)
setMainProperty
in interface CSSEngine.MainPropertyReceiver
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |