- All Superinterfaces:
AbstractView,DocumentCSS,DocumentEvent,DocumentStyle,Element,EventTarget,Node,SVGElement,SVGExternalResourcesRequired,SVGFitToViewBox,SVGLangSpace,SVGLocatable,SVGStylable,SVGTests,SVGZoomAndPan,ViewCSS
- All Known Implementing Classes:
SVGOMSVGElement
public interface SVGSVGElement
extends SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGLocatable, SVGFitToViewBox, SVGZoomAndPan, EventTarget, DocumentEvent, ViewCSS, DocumentCSS
-
Field Summary
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODEFields inherited from interface org.w3c.dom.svg.SVGZoomAndPan
SVG_ZOOMANDPAN_DISABLE, SVG_ZOOMANDPAN_MAGNIFY, SVG_ZOOMANDPAN_UNKNOWN -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleancheckEnclosure(SVGElement element, SVGRect rect) booleancheckIntersection(SVGElement element, SVGRect rect) voidvoidfloatfloatgetElementById(String elementId) getEnclosureList(SVGRect rect, SVGElement referenceElement) Get the descendants of this element element that are enclosed within the given rectangle, usingreferenceElementas the element in whose coordinate spacerectis to be interpreted.getIntersectionList(SVGRect rect, SVGElement referenceElement) Get the descendants of this element that intersect with the given rectangle usingreferenceElementas the element in whose coordinate spacerectis to be interpreted.default floatDeprecated.default floatDeprecated.default floatDeprecated.default floatDeprecated.booleangetWidth()getX()getY()voidvoidsetContentScriptType(String contentScriptType) voidsetContentStyleType(String contentStyleType) voidsetCurrentScale(float currentScale) voidsetCurrentTime(float seconds) voidsetUseCurrentView(boolean useCurrentView) intsuspendRedraw(int max_wait_milliseconds) voidvoidunsuspendRedraw(int suspend_handle_id) voidMethods inherited from interface org.w3c.dom.views.AbstractView
getDocumentMethods inherited from interface org.w3c.dom.css.DocumentCSS
getOverrideStyleMethods inherited from interface org.w3c.dom.events.DocumentEvent
createEventMethods inherited from interface org.w3c.dom.stylesheets.DocumentStyle
getStyleSheetsMethods inherited from interface org.w3c.dom.Element
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNSMethods inherited from interface org.w3c.dom.events.EventTarget
addEventListener, dispatchEvent, removeEventListenerMethods inherited from interface org.w3c.dom.Node
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserDataMethods inherited from interface org.w3c.dom.svg.SVGElement
getId, getOwnerSVGElement, getViewportElement, getXMLbase, setId, setXMLbaseMethods inherited from interface org.w3c.dom.svg.SVGExternalResourcesRequired
getExternalResourcesRequiredMethods inherited from interface org.w3c.dom.svg.SVGFitToViewBox
getPreserveAspectRatio, getViewBoxMethods inherited from interface org.w3c.dom.svg.SVGLangSpace
getXMLlang, getXMLspace, setXMLlang, setXMLspaceMethods inherited from interface org.w3c.dom.svg.SVGLocatable
getBBox, getCTM, getFarthestViewportElement, getNearestViewportElement, getScreenCTM, getTransformToElementMethods inherited from interface org.w3c.dom.svg.SVGStylable
getClassName, getPresentationAttribute, getPresentationAttributeValue, getStyleMethods inherited from interface org.w3c.dom.svg.SVGTests
getRequiredExtensions, getRequiredFeatures, getSystemLanguage, hasExtensionMethods inherited from interface org.w3c.dom.svg.SVGZoomAndPan
getZoomAndPan, setZoomAndPanMethods inherited from interface org.w3c.dom.css.ViewCSS
getComputedStyle
-
Method Details
-
getX
SVGAnimatedLength getX() -
getY
SVGAnimatedLength getY() -
getWidth
SVGAnimatedLength getWidth() -
getHeight
SVGAnimatedLength getHeight() -
getContentScriptType
String getContentScriptType() -
setContentScriptType
- Throws:
DOMException
-
getContentStyleType
String getContentStyleType() -
setContentStyleType
- Throws:
DOMException
-
getViewport
SVGRect getViewport() -
getPixelUnitToMillimeterX
Deprecated. -
getPixelUnitToMillimeterY
Deprecated. -
getScreenPixelToMillimeterX
Deprecated. -
getScreenPixelToMillimeterY
Deprecated. -
getUseCurrentView
boolean getUseCurrentView() -
setUseCurrentView
- Throws:
DOMException
-
getCurrentView
SVGViewSpec getCurrentView() -
getCurrentScale
float getCurrentScale() -
setCurrentScale
- Throws:
DOMException
-
getCurrentTranslate
SVGPoint getCurrentTranslate() -
suspendRedraw
int suspendRedraw(int max_wait_milliseconds) -
unsuspendRedraw
- Throws:
DOMException
-
unsuspendRedrawAll
void unsuspendRedrawAll() -
forceRedraw
void forceRedraw() -
pauseAnimations
void pauseAnimations() -
unpauseAnimations
void unpauseAnimations() -
animationsPaused
boolean animationsPaused() -
getCurrentTime
float getCurrentTime() -
setCurrentTime
void setCurrentTime(float seconds) -
getIntersectionList
Get the descendants of this element that intersect with the given rectangle usingreferenceElementas the element in whose coordinate spacerectis to be interpreted.- Parameters:
rect- the rectangle.referenceElement- If not null, then any intersected element that doesn't have the referenceElement as ancestor must not be included in the returned NodeList.- Returns:
- the list of matching descendants.
-
getEnclosureList
Get the descendants of this element element that are enclosed within the given rectangle, usingreferenceElementas the element in whose coordinate spacerectis to be interpreted.- Parameters:
rect- the rectangle.referenceElement- If not null, then any enclosed element that doesn't have the referenceElement as ancestor must not be included in the returned NodeList.- Returns:
- the list of matching descendants.
-
checkIntersection
-
checkEnclosure
-
deselectAll
void deselectAll() -
createSVGNumber
SVGNumber createSVGNumber() -
createSVGLength
SVGLength createSVGLength() -
createSVGAngle
SVGAngle createSVGAngle() -
createSVGPoint
SVGPoint createSVGPoint() -
createSVGMatrix
SVGMatrix createSVGMatrix() -
createSVGRect
SVGRect createSVGRect() -
createSVGTransform
SVGTransform createSVGTransform() -
createSVGTransformFromMatrix
-
getElementById
-