org.apache.batik.dom.svg
public abstract class SVGStylableElement extends SVGOMElement implements CSSStylableElement
Nested Class Summary | |
---|---|
protected class | SVGStylableElement.OverrideStyleDeclaration
This class is a CSSStyleDeclaration for the override style of
the element. |
class | SVGStylableElement.PresentationAttributeColorValue
To manage a presentation attribute SVGColor value. |
class | SVGStylableElement.PresentationAttributePaintValue
To manage a presentation attribute SVGPaint value. |
class | SVGStylableElement.PresentationAttributeValue
To manage a presentation attribute value. |
class | SVGStylableElement.StyleDeclaration
This class represents the 'style' attribute. |
Field Summary | |
---|---|
protected SVGOMAnimatedString | className
The 'class' attribute value. |
protected StyleMap | computedStyleMap
The computed style map. |
protected SVGStylableElement.OverrideStyleDeclaration | overrideStyleDeclaration
The override style declaration for this element. |
protected SVGStylableElement.StyleDeclaration | style
The 'style' attribute value. |
protected static DoublyIndexedTable | xmlTraitInformation
Table mapping XML attribute names to TraitInformation objects. |
Constructor Summary | |
---|---|
protected | SVGStylableElement()
Creates a new SVGStylableElement object. |
protected | SVGStylableElement(String prefix, AbstractDocument owner)
Creates a new SVGStylableElement object. |
Method Summary | |
---|---|
void | addTargetListener(String ns, String an, boolean isCSS, AnimationTargetListener l)
Adds a listener for changes to the given attribute value. |
SVGAnimatedString | getClassName()
DOM: Implements {@link
org.w3c.dom.svg.SVGStylable#getClassName()}. |
StyleMap | getComputedStyleMap(String pseudoElement)
Returns the computed style of this element/pseudo-element. |
URL | getCSSBase()
Returns the CSS base URL of this element. |
String | getCSSClass()
Returns the class of this element. |
CSSStyleDeclaration | getOverrideStyle()
Returns the override style declaration for this element. |
StyleDeclarationProvider | getOverrideStyleDeclarationProvider()
Returns the object that gives access to the underlying
{@link org.apache.batik.css.engine.StyleDeclaration} for the override
style of this element. |
CSSValue | getPresentationAttribute(String name)
DOM: Implements {@link
org.w3c.dom.svg.SVGStylable#getPresentationAttribute(String)}. |
CSSStyleDeclaration | getStyle()
DOM: Implements {@link org.w3c.dom.svg.SVGStylable#getStyle()}. |
protected DoublyIndexedTable | getTraitInformationTable()
Returns the table of TraitInformation objects for this element. |
String | getXMLId()
Returns the ID of this element. |
protected void | initializeAllLiveAttributes()
Initializes all live attributes for this element. |
boolean | isPseudoInstanceOf(String pseudoClass)
Tells whether this element is an instance of the given pseudo
class. |
void | removeTargetListener(String ns, String an, boolean isCSS, AnimationTargetListener l)
Removes a listener for changes to the given attribute value. |
void | setComputedStyleMap(String pseudoElement, StyleMap sm)
Sets the computed style of this element/pseudo-element. |
void | updatePropertyValue(String pn, AnimatableValue val)
Updates a property value in this target. |
boolean | useLinearRGBColorInterpolation()
Returns whether color interpolations should be done in linear RGB
color space rather than sRGB. |
Parameters: prefix The namespace prefix. owner The owner document.
Throws: IllegalArgumentException when the result of getBaseURI() cannot be used as an URL.