1,66c1,74 < /* < * Copyright (c) 2009 World Wide Web Consortium, < * < * (Massachusetts Institute of Technology, European Research Consortium for < * Informatics and Mathematics, Keio University). All Rights Reserved. This < * work is distributed under the W3C(r) Software License [1] in the hope that < * it will be useful, but WITHOUT ANY WARRANTY; without even the implied < * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. < * < * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 < */ < < package org.w3c.dom.svg; < < import org.w3c.dom.css.DocumentCSS; < import org.w3c.dom.css.ViewCSS; < import org.w3c.dom.DOMException; < import org.w3c.dom.Element; < import org.w3c.dom.NodeList; < import org.w3c.dom.events.DocumentEvent; < < public interface SVGSVGElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGLocatable, SVGFitToViewBox, SVGZoomAndPan, DocumentEvent, ViewCSS, DocumentCSS { < SVGAnimatedLength getX(); < SVGAnimatedLength getY(); < SVGAnimatedLength getWidth(); < SVGAnimatedLength getHeight(); < String getContentScriptType(); < void setContentScriptType(String contentScriptType) < throws DOMException; < String getContentStyleType(); < void setContentStyleType(String contentStyleType) < throws DOMException; < SVGRect getViewport(); < float getPixelUnitToMillimeterX(); < float getPixelUnitToMillimeterY(); < float getScreenPixelToMillimeterX(); < float getScreenPixelToMillimeterY(); < boolean getUseCurrentView(); < SVGViewSpec getCurrentView(); < float getCurrentScale(); < void setCurrentScale(float currentScale); < SVGPoint getCurrentTranslate(); < long suspendRedraw(long maxWaitMilliseconds); < void unsuspendRedraw(long suspendHandleID); < void unsuspendRedrawAll(); < void forceRedraw(); < void pauseAnimations(); < void unpauseAnimations(); < boolean animationsPaused(); < float getCurrentTime(); < void setCurrentTime(float seconds); < NodeList getIntersectionList(SVGRect rect, SVGElement referenceElement); < NodeList getEnclosureList(SVGRect rect, SVGElement referenceElement); < boolean checkIntersection(SVGElement element, SVGRect rect); < boolean checkEnclosure(SVGElement element, SVGRect rect); < void deselectAll(); < SVGNumber createSVGNumber(); < SVGLength createSVGLength(); < SVGAngle createSVGAngle(); < SVGPoint createSVGPoint(); < SVGMatrix createSVGMatrix(); < SVGRect createSVGRect(); < SVGTransform createSVGTransform(); < SVGTransform createSVGTransformFromMatrix(SVGMatrix matrix); < Element getElementById(String elementId); < } --- > > package org.w3c.dom.svg; > > import org.w3c.dom.events.DocumentEvent; > import org.w3c.dom.events.EventTarget; > import org.w3c.dom.DOMException; > import org.w3c.dom.NodeList; > import org.w3c.dom.Element; > import org.w3c.dom.css.ViewCSS; > import org.w3c.dom.css.DocumentCSS; > import org.w3c.dom.css.RGBColor; > > public interface SVGSVGElement extends > SVGElement, > SVGTests, > SVGLangSpace, > SVGExternalResourcesRequired, > SVGStylable, > SVGLocatable, > SVGFitToViewBox, > SVGZoomAndPan, > EventTarget, > DocumentEvent, > ViewCSS, > DocumentCSS { > public SVGAnimatedLength getX( ); > public SVGAnimatedLength getY( ); > public SVGAnimatedLength getWidth( ); > public SVGAnimatedLength getHeight( ); > public String getContentScriptType( ); > public void setContentScriptType( String contentScriptType ) > throws DOMException; > public String getContentStyleType( ); > public void setContentStyleType( String contentStyleType ) > throws DOMException; > public SVGRect getViewport( ); > public float getPixelUnitToMillimeterX( ); > public float getPixelUnitToMillimeterY( ); > public float getScreenPixelToMillimeterX( ); > public float getScreenPixelToMillimeterY( ); > public boolean getUseCurrentView( ); > public void setUseCurrentView( boolean useCurrentView ) > throws DOMException; > public SVGViewSpec getCurrentView( ); > public float getCurrentScale( ); > public void setCurrentScale( float currentScale ) > throws DOMException; > public SVGPoint getCurrentTranslate( ); > > public int suspendRedraw ( int max_wait_milliseconds ); > public void unsuspendRedraw ( int suspend_handle_id ) > throws DOMException; > public void unsuspendRedrawAll ( ); > public void forceRedraw ( ); > public void pauseAnimations ( ); > public void unpauseAnimations ( ); > public boolean animationsPaused ( ); > public float getCurrentTime ( ); > public void setCurrentTime ( float seconds ); > public NodeList getIntersectionList ( SVGRect rect, SVGElement referenceElement ); > public NodeList getEnclosureList ( SVGRect rect, SVGElement referenceElement ); > public boolean checkIntersection ( SVGElement element, SVGRect rect ); > public boolean checkEnclosure ( SVGElement element, SVGRect rect ); > public void deselectAll ( ); > public SVGNumber createSVGNumber ( ); > public SVGLength createSVGLength ( ); > public SVGAngle createSVGAngle ( ); > public SVGPoint createSVGPoint ( ); > public SVGMatrix createSVGMatrix ( ); > public SVGRect createSVGRect ( ); > public SVGTransform createSVGTransform ( ); > public SVGTransform createSVGTransformFromMatrix ( SVGMatrix matrix ); > public Element getElementById ( String elementId ); > }