org.apache.batik.dom.svg

Class SVGOMTextElement

public class SVGOMTextElement extends SVGOMTextPositioningElement implements SVGTextElement, SVGMotionAnimatableElement

This class implements {@link SVGTextElement}.
Field Summary
protected AffineTransformmotionTransform
Supplemental transformation due to motion animation.
protected SVGOMAnimatedTransformListtransform
The 'transform' attribute value.
protected static DoublyIndexedTablexmlTraitInformation
Table mapping XML attribute names to TraitInformation objects.
protected static StringX_DEFAULT_VALUE
protected static StringY_DEFAULT_VALUE
Constructor Summary
protected SVGOMTextElement()
Creates a new SVGOMTextElement object.
SVGOMTextElement(String prefix, AbstractDocument owner)
Creates a new SVGOMTextElement object.
Method Summary
SVGRectgetBBox()
DOM: Implements {@link org.w3c.dom.svg.SVGLocatable#getBBox()}.
SVGMatrixgetCTM()
DOM: Implements {@link org.w3c.dom.svg.SVGLocatable#getCTM()}.
protected StringgetDefaultXValue()
Returns the default value of the 'x' attribute.
protected StringgetDefaultYValue()
Returns the default value of the 'y' attribute.
SVGElementgetFarthestViewportElement()
DOM: Implements {@link org.w3c.dom.svg.SVGLocatable#getFarthestViewportElement()}.
StringgetLocalName()
DOM: Implements {@link Node#getLocalName()}.
AffineTransformgetMotionTransform()
Returns the {@link AffineTransform} representing the current motion animation for this element.
SVGElementgetNearestViewportElement()
DOM: Implements {@link org.w3c.dom.svg.SVGLocatable#getNearestViewportElement()}.
SVGMatrixgetScreenCTM()
DOM: Implements {@link org.w3c.dom.svg.SVGLocatable#getScreenCTM()}.
protected DoublyIndexedTablegetTraitInformationTable()
Returns the table of TraitInformation objects for this element.
SVGAnimatedTransformListgetTransform()
DOM: Implements {@link org.w3c.dom.svg.SVGTransformable#getTransform()}.
SVGMatrixgetTransformToElement(SVGElement element)
DOM: Implements {@link org.w3c.dom.svg.SVGLocatable#getTransformToElement(SVGElement)}.
protected voidinitializeAllLiveAttributes()
Initializes all live attributes for this element.
protected NodenewNode()
Returns a new uninitialized instance of this object's class.
voidupdateOtherValue(String type, AnimatableValue val)
Updates a 'other' animation value in this target.

Field Detail

motionTransform

protected AffineTransform motionTransform
Supplemental transformation due to motion animation.

transform

protected SVGOMAnimatedTransformList transform
The 'transform' attribute value.

xmlTraitInformation

protected static DoublyIndexedTable xmlTraitInformation
Table mapping XML attribute names to TraitInformation objects.

X_DEFAULT_VALUE

protected static final String X_DEFAULT_VALUE

Y_DEFAULT_VALUE

protected static final String Y_DEFAULT_VALUE

Constructor Detail

SVGOMTextElement

protected SVGOMTextElement()
Creates a new SVGOMTextElement object.

SVGOMTextElement

public SVGOMTextElement(String prefix, AbstractDocument owner)
Creates a new SVGOMTextElement object.

Parameters: prefix The namespace prefix. owner The owner document.

Method Detail

getBBox

public SVGRect getBBox()
DOM: Implements {@link org.w3c.dom.svg.SVGLocatable#getBBox()}.

getCTM

public SVGMatrix getCTM()
DOM: Implements {@link org.w3c.dom.svg.SVGLocatable#getCTM()}.

getDefaultXValue

protected String getDefaultXValue()
Returns the default value of the 'x' attribute.

getDefaultYValue

protected String getDefaultYValue()
Returns the default value of the 'y' attribute.

getFarthestViewportElement

public SVGElement getFarthestViewportElement()
DOM: Implements {@link org.w3c.dom.svg.SVGLocatable#getFarthestViewportElement()}.

getLocalName

public String getLocalName()
DOM: Implements {@link Node#getLocalName()}.

getMotionTransform

public AffineTransform getMotionTransform()
Returns the {@link AffineTransform} representing the current motion animation for this element.

getNearestViewportElement

public SVGElement getNearestViewportElement()
DOM: Implements {@link org.w3c.dom.svg.SVGLocatable#getNearestViewportElement()}.

getScreenCTM

public SVGMatrix getScreenCTM()
DOM: Implements {@link org.w3c.dom.svg.SVGLocatable#getScreenCTM()}.

getTraitInformationTable

protected DoublyIndexedTable getTraitInformationTable()
Returns the table of TraitInformation objects for this element.

getTransform

public SVGAnimatedTransformList getTransform()
DOM: Implements {@link org.w3c.dom.svg.SVGTransformable#getTransform()}.

getTransformToElement

public SVGMatrix getTransformToElement(SVGElement element)
DOM: Implements {@link org.w3c.dom.svg.SVGLocatable#getTransformToElement(SVGElement)}.

initializeAllLiveAttributes

protected void initializeAllLiveAttributes()
Initializes all live attributes for this element.

newNode

protected Node newNode()
Returns a new uninitialized instance of this object's class.

updateOtherValue

public void updateOtherValue(String type, AnimatableValue val)
Updates a 'other' animation value in this target.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.