org.apache.batik.dom.svg

Class SVGPointShapeElement

public abstract class SVGPointShapeElement extends SVGGraphicsElement implements SVGAnimatedPoints

This class provides a common superclass for shape elements that are defined with a 'points' attribute (i.e., polygon and polyline).
Field Summary
protected SVGOMAnimatedPointspoints
The 'points' attribute value.
protected static DoublyIndexedTablexmlTraitInformation
Table mapping XML attribute names to TraitInformation objects.
Constructor Summary
protected SVGPointShapeElement()
Creates a new SVGPointShapeElement object.
SVGPointShapeElement(String prefix, AbstractDocument owner)
Creates a new SVGPointShapeElement object.
Method Summary
SVGPointListgetAnimatedPoints()
DOM: Implements {@link org.w3c.dom.svg.SVGAnimatedPoints#getAnimatedPoints()}.
SVGPointListgetPoints()
DOM: Implements {@link org.w3c.dom.svg.SVGAnimatedPoints#getPoints()}.
protected DoublyIndexedTablegetTraitInformationTable()
Returns the table of TraitInformation objects for this element.
protected voidinitializeAllLiveAttributes()
Initializes all live attributes for this element.

Field Detail

points

protected SVGOMAnimatedPoints points
The 'points' attribute value.

xmlTraitInformation

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

Constructor Detail

SVGPointShapeElement

protected SVGPointShapeElement()
Creates a new SVGPointShapeElement object.

SVGPointShapeElement

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

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

Method Detail

getAnimatedPoints

public SVGPointList getAnimatedPoints()
DOM: Implements {@link org.w3c.dom.svg.SVGAnimatedPoints#getAnimatedPoints()}.

getPoints

public SVGPointList getPoints()
DOM: Implements {@link org.w3c.dom.svg.SVGAnimatedPoints#getPoints()}.

getTraitInformationTable

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

initializeAllLiveAttributes

protected void initializeAllLiveAttributes()
Initializes all live attributes for this element.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.