org.apache.fop.dom.svg
Class SVGSVGElementImpl

java.lang.Object
  |
  +--org.apache.fop.dom.NodeImpl
        |
        +--org.apache.fop.dom.ElementImpl
              |
              +--org.apache.fop.dom.svg.SVGElementImpl
                    |
                    +--org.apache.fop.dom.svg.GraphicElement
                          |
                          +--org.apache.fop.dom.svg.SVGSVGElementImpl

public class SVGSVGElementImpl
extends GraphicElement
implements org.w3c.dom.svg.SVGSVGElement


Fields inherited from class org.apache.fop.dom.svg.GraphicElement
reqExtensions, reqFeatures, sysLanguage
 
Fields inherited from class org.apache.fop.dom.NodeImpl
childs, ownerDoc
 
Fields inherited from interface org.w3c.dom.svg.SVGZoomAndPan
SVG_ZOOMANDPAN_DISABLE, SVG_ZOOMANDPAN_MAGNIFY, SVG_ZOOMANDPAN_UNKNOWN, SVG_ZOOMANDPAN_ZOOM
 
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
 
Constructor Summary
SVGSVGElementImpl()
           
 
Method Summary
 boolean animationsPaused()
           
 org.w3c.dom.Node appendChild(org.w3c.dom.Node newChild)
           
 boolean checkEnclosure(org.w3c.dom.svg.SVGElement element, org.w3c.dom.svg.SVGRect rect)
           
 boolean checkIntersection(org.w3c.dom.svg.SVGElement element, org.w3c.dom.svg.SVGRect rect)
           
 org.w3c.dom.events.Event createEvent(java.lang.String str)
           
 org.w3c.dom.css.RGBColor createRGBColor()
           
 org.w3c.dom.svg.SVGAngle createSVGAngle()
           
 org.w3c.dom.svg.SVGICCColor createSVGICCColor()
           
 org.w3c.dom.svg.SVGLength createSVGLength()
           
 org.w3c.dom.svg.SVGMatrix createSVGMatrix()
           
 org.w3c.dom.svg.SVGNumber createSVGNumber()
           
 org.w3c.dom.svg.SVGPoint createSVGPoint()
           
 org.w3c.dom.svg.SVGRect createSVGRect()
           
 java.lang.String createSVGString()
           
 org.w3c.dom.svg.SVGTransform createSVGTransform()
           
 org.w3c.dom.svg.SVGTransform createSVGTransformFromMatrix(org.w3c.dom.svg.SVGMatrix matrix)
           
 void deSelectAll()
           
 void forceRedraw()
           
 org.w3c.dom.svg.SVGRect getBBox()
           
 org.w3c.dom.css.CSSStyleDeclaration getComputedStyle(org.w3c.dom.Element el, java.lang.String str)
           
 java.lang.String getContentScriptType()
           
 java.lang.String getContentStyleType()
           
 float getCurrentScale()
           
 float getCurrentTime()
           
 org.w3c.dom.svg.SVGPoint getCurrentTranslate()
           
 org.w3c.dom.svg.SVGViewSpec getCurrentView()
           
 org.w3c.dom.views.DocumentView getDocument()
           
 org.w3c.dom.Element getElementById(java.lang.String elementId)
           
 org.w3c.dom.NodeList getEnclosureList(org.w3c.dom.svg.SVGRect rect, org.w3c.dom.svg.SVGElement referenceElement)
           
 org.w3c.dom.svg.SVGAnimatedLength getHeight()
           
 org.w3c.dom.NodeList getIntersectionList(org.w3c.dom.svg.SVGRect rect, org.w3c.dom.svg.SVGElement referenceElement)
           
 org.w3c.dom.css.CSSStyleDeclaration getOverrideStyle(org.w3c.dom.Element el, java.lang.String str)
           
 float getPixelUnitToMillimeterX()
           
 float getPixelUnitToMillimeterY()
           
 org.w3c.dom.svg.SVGAnimatedPreserveAspectRatio getPreserveAspectRatio()
           
 float getScreenPixelToMillimeterX()
           
 float getScreenPixelToMillimeterY()
           
 org.w3c.dom.stylesheets.StyleSheetList getStyleSheets()
           
 boolean getUseCurrentView()
           
 org.w3c.dom.svg.SVGAnimatedRect getViewBox()
           
 org.w3c.dom.svg.SVGRect getViewport()
           
 org.w3c.dom.svg.SVGAnimatedLength getWidth()
           
 org.w3c.dom.svg.SVGAnimatedLength getX()
           
 org.w3c.dom.svg.SVGAnimatedLength getY()
           
 short getZoomAndPan()
           
 void pauseAnimations()
           
 void setContentScriptType(java.lang.String contentScriptType)
           
 void setContentStyleType(java.lang.String contentStyleType)
           
 void setCurrentScale(float currentScale)
           
 void setCurrentTime(float seconds)
           
 void setCurrentTranslate(org.w3c.dom.svg.SVGPoint currentTranslate)
           
 void setHeight(org.w3c.dom.svg.SVGAnimatedLength h)
           
 void setOwnerSVG(org.w3c.dom.svg.SVGSVGElement owner)
           
 void setUseCurrentView(boolean useCurrentView)
           
 void setViewBox(org.w3c.dom.svg.SVGAnimatedRect viewBox)
           
 void setWidth(org.w3c.dom.svg.SVGAnimatedLength w)
           
 void setX(org.w3c.dom.svg.SVGAnimatedLength x)
           
 void setY(org.w3c.dom.svg.SVGAnimatedLength y)
           
 void setZoomAndPan(short zoomAndPan)
           
 int suspendRedraw(int max_wait_milliseconds)
           
 void unpauseAnimations()
           
 void unsuspendRedraw(int suspend_handle_id)
           
 void unsuspendRedrawAll()
           
 
Methods inherited from class org.apache.fop.dom.svg.GraphicElement
addEventListener, dispatchEvent, getChildrenBBox, getCTM, getFarthestViewportElement, getNearestViewportElement, getRequiredExtensions, getRequiredFeatures, getScreenCTM, getSystemLanguage, getTransform, getTransformToElement, getXMLlang, getXMLspace, hasExtension, removeEventListener, setRequiredExtensions, setRequiredFeatures, setSystemLanguage, setTransform, setXMLlang, setXMLspace
 
Methods inherited from class org.apache.fop.dom.svg.SVGElementImpl
getAnimatedPresentationAttribute, getClassName, getExternalResourcesRequired, getId, getNamespaceURI, getOwnerSVGElement, getPresentationAttribute, getStyle, getViewportElement, setClassName, setExternalResourcesRequired, setId, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SVGSVGElementImpl

public SVGSVGElementImpl()
Method Detail

getX

public org.w3c.dom.svg.SVGAnimatedLength getX()
Specified by:
getX in interface org.w3c.dom.svg.SVGSVGElement

getY

public org.w3c.dom.svg.SVGAnimatedLength getY()
Specified by:
getY in interface org.w3c.dom.svg.SVGSVGElement

getWidth

public org.w3c.dom.svg.SVGAnimatedLength getWidth()
Specified by:
getWidth in interface org.w3c.dom.svg.SVGSVGElement

getHeight

public org.w3c.dom.svg.SVGAnimatedLength getHeight()
Specified by:
getHeight in interface org.w3c.dom.svg.SVGSVGElement

setWidth

public void setWidth(org.w3c.dom.svg.SVGAnimatedLength w)

setHeight

public void setHeight(org.w3c.dom.svg.SVGAnimatedLength h)

setX

public void setX(org.w3c.dom.svg.SVGAnimatedLength x)

setY

public void setY(org.w3c.dom.svg.SVGAnimatedLength y)

getViewBox

public org.w3c.dom.svg.SVGAnimatedRect getViewBox()

setViewBox

public void setViewBox(org.w3c.dom.svg.SVGAnimatedRect viewBox)

getViewport

public org.w3c.dom.svg.SVGRect getViewport()
Specified by:
getViewport in interface org.w3c.dom.svg.SVGSVGElement

getBBox

public org.w3c.dom.svg.SVGRect getBBox()
Overrides:
getBBox in class GraphicElement

getContentScriptType

public java.lang.String getContentScriptType()
Specified by:
getContentScriptType in interface org.w3c.dom.svg.SVGSVGElement

setContentScriptType

public void setContentScriptType(java.lang.String contentScriptType)
Specified by:
setContentScriptType in interface org.w3c.dom.svg.SVGSVGElement

getContentStyleType

public java.lang.String getContentStyleType()
Specified by:
getContentStyleType in interface org.w3c.dom.svg.SVGSVGElement

setContentStyleType

public void setContentStyleType(java.lang.String contentStyleType)
Specified by:
setContentStyleType in interface org.w3c.dom.svg.SVGSVGElement

getCurrentTranslate

public org.w3c.dom.svg.SVGPoint getCurrentTranslate()
Specified by:
getCurrentTranslate in interface org.w3c.dom.svg.SVGSVGElement

setCurrentTranslate

public void setCurrentTranslate(org.w3c.dom.svg.SVGPoint currentTranslate)

getCurrentView

public org.w3c.dom.svg.SVGViewSpec getCurrentView()
Specified by:
getCurrentView in interface org.w3c.dom.svg.SVGSVGElement

deSelectAll

public void deSelectAll()
Specified by:
deSelectAll in interface org.w3c.dom.svg.SVGSVGElement

getIntersectionList

public org.w3c.dom.NodeList getIntersectionList(org.w3c.dom.svg.SVGRect rect,
                                                org.w3c.dom.svg.SVGElement referenceElement)
Specified by:
getIntersectionList in interface org.w3c.dom.svg.SVGSVGElement

getEnclosureList

public org.w3c.dom.NodeList getEnclosureList(org.w3c.dom.svg.SVGRect rect,
                                             org.w3c.dom.svg.SVGElement referenceElement)
Specified by:
getEnclosureList in interface org.w3c.dom.svg.SVGSVGElement

checkIntersection

public boolean checkIntersection(org.w3c.dom.svg.SVGElement element,
                                 org.w3c.dom.svg.SVGRect rect)
Specified by:
checkIntersection in interface org.w3c.dom.svg.SVGSVGElement

checkEnclosure

public boolean checkEnclosure(org.w3c.dom.svg.SVGElement element,
                              org.w3c.dom.svg.SVGRect rect)
Specified by:
checkEnclosure in interface org.w3c.dom.svg.SVGSVGElement

getPixelUnitToMillimeterX

public float getPixelUnitToMillimeterX()
Specified by:
getPixelUnitToMillimeterX in interface org.w3c.dom.svg.SVGSVGElement

getPixelUnitToMillimeterY

public float getPixelUnitToMillimeterY()
Specified by:
getPixelUnitToMillimeterY in interface org.w3c.dom.svg.SVGSVGElement

getScreenPixelToMillimeterX

public float getScreenPixelToMillimeterX()
Specified by:
getScreenPixelToMillimeterX in interface org.w3c.dom.svg.SVGSVGElement

getScreenPixelToMillimeterY

public float getScreenPixelToMillimeterY()
Specified by:
getScreenPixelToMillimeterY in interface org.w3c.dom.svg.SVGSVGElement

getUseCurrentView

public boolean getUseCurrentView()
Specified by:
getUseCurrentView in interface org.w3c.dom.svg.SVGSVGElement

setUseCurrentView

public void setUseCurrentView(boolean useCurrentView)
Specified by:
setUseCurrentView in interface org.w3c.dom.svg.SVGSVGElement

getCurrentScale

public float getCurrentScale()
Specified by:
getCurrentScale in interface org.w3c.dom.svg.SVGSVGElement

setCurrentScale

public void setCurrentScale(float currentScale)
Specified by:
setCurrentScale in interface org.w3c.dom.svg.SVGSVGElement

suspendRedraw

public int suspendRedraw(int max_wait_milliseconds)
Specified by:
suspendRedraw in interface org.w3c.dom.svg.SVGSVGElement

unsuspendRedraw

public void unsuspendRedraw(int suspend_handle_id)
Specified by:
unsuspendRedraw in interface org.w3c.dom.svg.SVGSVGElement

unsuspendRedrawAll

public void unsuspendRedrawAll()
Specified by:
unsuspendRedrawAll in interface org.w3c.dom.svg.SVGSVGElement

forceRedraw

public void forceRedraw()
Specified by:
forceRedraw in interface org.w3c.dom.svg.SVGSVGElement

pauseAnimations

public void pauseAnimations()
Specified by:
pauseAnimations in interface org.w3c.dom.svg.SVGSVGElement

unpauseAnimations

public void unpauseAnimations()
Specified by:
unpauseAnimations in interface org.w3c.dom.svg.SVGSVGElement

animationsPaused

public boolean animationsPaused()
Specified by:
animationsPaused in interface org.w3c.dom.svg.SVGSVGElement

getCurrentTime

public float getCurrentTime()
Specified by:
getCurrentTime in interface org.w3c.dom.svg.SVGSVGElement

setCurrentTime

public void setCurrentTime(float seconds)
Specified by:
setCurrentTime in interface org.w3c.dom.svg.SVGSVGElement

createSVGLength

public org.w3c.dom.svg.SVGLength createSVGLength()
Specified by:
createSVGLength in interface org.w3c.dom.svg.SVGSVGElement

createSVGAngle

public org.w3c.dom.svg.SVGAngle createSVGAngle()
Specified by:
createSVGAngle in interface org.w3c.dom.svg.SVGSVGElement

createSVGPoint

public org.w3c.dom.svg.SVGPoint createSVGPoint()
Specified by:
createSVGPoint in interface org.w3c.dom.svg.SVGSVGElement

createSVGMatrix

public org.w3c.dom.svg.SVGMatrix createSVGMatrix()
Specified by:
createSVGMatrix in interface org.w3c.dom.svg.SVGSVGElement

createSVGRect

public org.w3c.dom.svg.SVGRect createSVGRect()
Specified by:
createSVGRect in interface org.w3c.dom.svg.SVGSVGElement

createSVGTransform

public org.w3c.dom.svg.SVGTransform createSVGTransform()
Specified by:
createSVGTransform in interface org.w3c.dom.svg.SVGSVGElement

createSVGTransformFromMatrix

public org.w3c.dom.svg.SVGTransform createSVGTransformFromMatrix(org.w3c.dom.svg.SVGMatrix matrix)
Specified by:
createSVGTransformFromMatrix in interface org.w3c.dom.svg.SVGSVGElement

createRGBColor

public org.w3c.dom.css.RGBColor createRGBColor()

createSVGICCColor

public org.w3c.dom.svg.SVGICCColor createSVGICCColor()

getElementById

public org.w3c.dom.Element getElementById(java.lang.String elementId)
Specified by:
getElementById in interface org.w3c.dom.svg.SVGSVGElement

getZoomAndPan

public short getZoomAndPan()

setZoomAndPan

public void setZoomAndPan(short zoomAndPan)

getPreserveAspectRatio

public org.w3c.dom.svg.SVGAnimatedPreserveAspectRatio getPreserveAspectRatio()

getComputedStyle

public org.w3c.dom.css.CSSStyleDeclaration getComputedStyle(org.w3c.dom.Element el,
                                                            java.lang.String str)

getOverrideStyle

public org.w3c.dom.css.CSSStyleDeclaration getOverrideStyle(org.w3c.dom.Element el,
                                                            java.lang.String str)

getStyleSheets

public org.w3c.dom.stylesheets.StyleSheetList getStyleSheets()

createEvent

public org.w3c.dom.events.Event createEvent(java.lang.String str)

createSVGNumber

public org.w3c.dom.svg.SVGNumber createSVGNumber()
Specified by:
createSVGNumber in interface org.w3c.dom.svg.SVGSVGElement

createSVGString

public java.lang.String createSVGString()
Specified by:
createSVGString in interface org.w3c.dom.svg.SVGSVGElement

getDocument

public org.w3c.dom.views.DocumentView getDocument()

appendChild

public org.w3c.dom.Node appendChild(org.w3c.dom.Node newChild)
                             throws org.w3c.dom.DOMException
Overrides:
appendChild in class SVGElementImpl

setOwnerSVG

public void setOwnerSVG(org.w3c.dom.svg.SVGSVGElement owner)
Overrides:
setOwnerSVG in class SVGElementImpl


Copyright © 1999-2001 Apache Software Foundation. All Rights Reserved.