org.apache.fop.dom.svg
Class GraphicElement

org.apache.fop.dom.NodeImpl
  |
  +--org.apache.fop.dom.ElementImpl
        |
        +--org.apache.fop.dom.svg.SVGElementImpl
              |
              +--org.apache.fop.dom.svg.GraphicElement
Direct Known Subclasses:
SVGCircleElementImpl, SVGClipPathElementImpl, SVGDefsElementImpl, SVGDescElementImpl, SVGEllipseElementImpl, SVGGElementImpl, SVGLineElementImpl, SVGMarkerElementImpl, SVGMaskElementImpl, SVGPathElementImpl, SVGPolygonElementImpl, SVGPolylineElementImpl, SVGRectElementImpl, SVGSetElementImpl, SVGStyleElementImpl, SVGSVGElementImpl, SVGSwitchElementImpl, SVGSymbolElementImpl, SVGTextContentElementImpl, SVGTitleElementImpl, SVGURIReferenceImpl, SVGUseElementImpl

public abstract class GraphicElement
extends SVGElementImpl
implements EventTarget, SVGLangSpace, SVGTests, SVGTransformable

base class for SVG graphic objects. Graphic objects include rectangles, lines and text


Field Summary
 (package private) SVGAnimatedTransformListtransform
           
 (package private) Stringxmlspace
           

Fields inherited from class org.apache.fop.dom.svg.SVGElementImpl
className, idString, ownerSvg, styleDec

Method Summary
 voidaddEventListener(String type, EventListener listener, boolean useCapture)
           
 booleandispatchEvent(Event evt)
           
 SVGRectgetBBox()
           
 SVGMatrixgetCTM()
          Returns the transformation matrix from current user units (i.e., after application of the transform attribute) to the viewport coordinate system for the nearestViewportElement.
 SVGElementgetFarthestViewportElement()
           
 SVGElementgetNearestViewportElement()
           
 SVGStringListgetRequiredExtensions()
           
 SVGStringListgetRequiredFeatures()
           
 SVGMatrixgetScreenCTM()
          Returns the transformation matrix from current user units (i.e., after application of the transform attribute) to the parent user agent's notice of a "pixel".
 SVGStringListgetSystemLanguage()
           
 SVGAnimatedTransformListgetTransform()
           
 SVGMatrixgetTransformToElement(SVGElement element)
           
 StringgetXMLlang()
           
 StringgetXMLspace()
           
 booleanhasExtension(String extension)
           
 voidremoveEventListener(String type, EventListener listener, boolean useCapture)
           
 voidsetRequiredExtensions(SVGStringList requiredExtensions)
           
 voidsetRequiredFeatures(SVGStringList requiredFeatures)
           
 voidsetSystemLanguage(SVGStringList systemLanguage)
           
 voidsetTransform(SVGAnimatedTransformList transform)
           
 voidsetXMLlang(String xmllang)
           
 voidsetXMLspace(String xmlspace)
           

Methods inherited from class org.apache.fop.dom.svg.SVGElementImpl
appendChild, getAnimatedPresentationAttribute, getClassName, getExternalResourcesRequired, getId, getNamespaceURI, getOwnerSVGElement, getPresentationAttribute, getStyle, getViewportElement, setClassName, setExternalResourcesRequired, setId, setOwnerSVG, setStyle

Methods inherited from class org.apache.fop.dom.ElementImpl
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, hasAttribute, hasAttributeNS, hasAttributes, removeAttribute, removeAttributeNode, removeAttributeNS, replaceChild, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS

Methods inherited from class org.apache.fop.dom.NodeImpl
cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTagName, hasChildNodes, insertBefore, isSupported, normalize, removeChild, setNodeValue, setPrefix, supports

Field Detail

transform

SVGAnimatedTransformList transform

xmlspace

String xmlspace
Method Detail

addEventListener

public void addEventListener(String type, EventListener listener, boolean useCapture)

dispatchEvent

public boolean dispatchEvent(Event evt)

getBBox

public SVGRect getBBox()

getCTM

public SVGMatrix getCTM()
Returns the transformation matrix from current user units (i.e., after application of the transform attribute) to the viewport coordinate system for the nearestViewportElement.

getFarthestViewportElement

public SVGElement getFarthestViewportElement()

getNearestViewportElement

public SVGElement getNearestViewportElement()

getRequiredExtensions

public SVGStringList getRequiredExtensions()

getRequiredFeatures

public SVGStringList getRequiredFeatures()

getScreenCTM

public SVGMatrix getScreenCTM()
Returns the transformation matrix from current user units (i.e., after application of the transform attribute) to the parent user agent's notice of a "pixel". For display devices, ideally this represents a physical screen pixel. For other devices or environments where physical pixel sizes are not known, then an algorithm similar to the CSS2 definition of a "pixel" can be used instead. This is the matrix that converts from the user space to the position on the screen.

getSystemLanguage

public SVGStringList getSystemLanguage()

getTransform

public SVGAnimatedTransformList getTransform()

getTransformToElement

public SVGMatrix getTransformToElement(SVGElement element)
throws SVGException

getXMLlang

public String getXMLlang()

getXMLspace

public String getXMLspace()

hasExtension

public boolean hasExtension(String extension)

removeEventListener

public void removeEventListener(String type, EventListener listener, boolean useCapture)

setRequiredExtensions

public void setRequiredExtensions(SVGStringList requiredExtensions)
throws DOMException

setRequiredFeatures

public void setRequiredFeatures(SVGStringList requiredFeatures)
throws DOMException

setSystemLanguage

public void setSystemLanguage(SVGStringList systemLanguage)

setTransform

public void setTransform(SVGAnimatedTransformList transform)

setXMLlang

public void setXMLlang(String xmllang)

setXMLspace

public void setXMLspace(String xmlspace)

Association Links

to Class java.lang.String