Class SVGSVGElementImpl
- All Implemented Interfaces:
EventTarget,HTMLElement,Element,InnerHTML,ModelNode,Node,NonDocumentTypeChildNode,ParentNode,Drawable,SVGElement,SVGExternalResourcesRequired,SVGFitToViewBox,SVGLangSpace,SVGLocatable,SVGStylable,SVGSVGElement,SVGTests,SVGZoomAndPan
SVGSVGElementImpl class.
-
Field Summary
Fields inherited from interface org.loboevolution.html.node.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, NONE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODEFields inherited from interface org.loboevolution.svg.SVGZoomAndPan
SVG_ZOOMANDPAN_DISABLE, SVG_ZOOMANDPAN_MAGNIFY, SVG_ZOOMANDPAN_UNKNOWN -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleananimationsPaused.booleancheckEnclosure(SVGElement element, SVGRect rect) checkEnclosure.booleancheckIntersection(SVGElement element, SVGRect rect) checkIntersection.createShape(AffineTransform transform) createShape.createSVGAngle.createSVGLength.createSVGMatrix.createSVGNumber.createSVGPoint.createSVGRect.createSVGTransform.createSVGTransformFromMatrix.voiddeselectAll.voiddraw(Graphics2D graphics) draw.voidforceRedraw.getBBox()getBBox.intgetClientHeight.getClientWidth.floatgetCurrentScale.floatgetCurrentTime.getEnclosureList(SVGRect rect, SVGElement referenceElement) getEnclosureList.getHeight.getIntersectionList(SVGRect rect, SVGElement referenceElement) getIntersectionList.getOffsetWidth.floatgetPixelUnitToMillimeterX.floatgetPixelUnitToMillimeterY.getPreserveAspectRatio.floatgetScreenPixelToMillimeterX.floatgetScreenPixelToMillimeterY.booleangetUseCurrentView.getViewBox.getViewport.getWidth()getWidth.getX()getX.getY()getY.shortgetZoomAndPan.voidpauseAnimations.voidsetCurrentScale(float currentScale) setCurrentScale.voidsetCurrentTime(float seconds) setCurrentTime.voidsetUseCurrentView(boolean useCurrentView) setUseCurrentView.voidsetZoomAndPan(short zoomAndPan) setZoomAndPan.intsuspendRedraw(int max_wait_milliseconds) suspendRedraw.toString()voidunpauseAnimations.voidunsuspendRedraw(int suspend_handle_id) unsuspendRedraw.voidunsuspendRedrawAll.Methods inherited from class org.loboevolution.svg.dom.SVGLocatableImpl
getCTM, getFarthestViewportElement, getNearestViewportElement, getScreenCTM, getTransformToElementMethods inherited from class org.loboevolution.svg.dom.SVGStylableImpl
child, drawStyle, getClippingPath, getClipRule, getDisplay, getFillPaint, getFont, getFontAscent, getFontDescent, getFontElement, getFontFace, getFontSize, getFontUnitsPerEm, getHorizAdvX, getOpacity, getStopColor, getStopOpacity, getStroke, getStrokeDashArray, getStrokeLineCap, getStrokeLinejoin, getStrokelPaint, getStrokeMiterlimit, getStrokeWidth, getTextAnchor, getVisibilityMethods inherited from class org.loboevolution.svg.dom.SVGElementImpl
getExternalResourcesRequired, getOwnerSVGElement, getRequiredExtensions, getRequiredFeatures, getSystemLanguage, getViewportElement, getXMLlang, getXMLspace, hasExtension, setOwnerSVGElement, setXMLlang, setXMLspaceMethods inherited from class org.loboevolution.svg.dom.SVGElementWrapper
addEventListener, addEventListener, appendChild, appendChildrenToCollectionImpl, click, cloneNode, cloneNode, closest, compareDocumentPosition, contains, dispatchEvent, dispatchEvent, extractDescendentsArrayImpl, findUINode, forgetRenderState, getAccessKey, getAccessKeyLabel, getAttribute, getAttributeNames, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getAutocapitalize, getBaseURI, getBoundingClientRect, getChildElementCount, getChildNodes, getChildren, getClassList, getClassName, getClientLeft, getClientRects, getClientTop, getContentEditable, getCurrentStyle, getDir, getDocumentItem, getDocumentNode, getElementsByClassName, getElementsByTagName, getElementsByTagNameNS, getFeature, getFirstChild, getFirstElementChild, getFullURL, getId, getInnerHTML, getInnerText, getLang, getLastChild, getLastElementChild, getLocalName, getNamespaceURI, getNextElementSibling, getNextSibling, getNextTo, getNodeName, getNodeType, getNodeValue, getOffsetHeight, getOffsetLeft, getOffsetParent, getOffsetTop, getOuterHTML, getOwnerDocument, getParentElement, getParentModelNode, getParentNode, getPrefix, getPreviousElementSibling, getPreviousSibling, getPreviousTo, getRenderState, getRootNode, getSchemaTypeInfo, getScrollHeight, getScrollLeft, getScrollTop, getScrollWidth, getSlot, getStyle, getTagName, getTextContent, getTitle, getUserData, hasAttribute, hasAttributeNS, hasAttributes, hasChildNodes, hasPointerCapture, insertAdjacentElement, insertAdjacentHTML, insertBefore, isDefaultNamespace, isDraggable, isEqualNode, isEqualOrDescendentOf, isHidden, isIsConnected, isSameNode, isSpellcheck, isSupported, isTranslate, lookupNamespaceURI, lookupPrefix, matches, normalize, prepend, prependChild, querySelector, querySelectorAll, releasePointerCapture, removeAttribute, removeAttributeNode, removeAttributeNS, removeChild, removeEventListener, removeEventListener, replaceChild, requestPointerLock, scroll, scrollBy, scrollIntoView, scrollIntoView, scrollTo, setAccessKey, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setAutocapitalize, setClassName, setContentEditable, setDir, setDocumentItem, setDraggable, setHidden, setId, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setInnerHTML, setInnerText, setLang, setNamespaceURI, setNodeValue, setOuterHTML, setOwnerDocument, setOwnerDocument, setParentImpl, setPointerCapture, setPrefix, setScrollLeft, setScrollTop, setSlot, setSpellcheck, setTextContent, setTitle, setTranslate, setUserData, toggleAttribute, toggleAttribute, visit, warnMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.loboevolution.html.node.Element
closest, getAttribute, getAttributeNames, getAttributeNode, getAttributeNodeNS, getAttributeNS, getBoundingClientRect, getClassList, getClassName, getClientLeft, getClientRects, getClientTop, getElementsByClassName, getElementsByTagName, getElementsByTagNameNS, getInnerHTML, getLocalName, getNamespaceURI, getOuterHTML, getPrefix, getSchemaTypeInfo, getScrollHeight, getScrollLeft, getScrollTop, getScrollWidth, getSlot, getTagName, hasAttribute, hasAttributeNS, hasPointerCapture, insertAdjacentElement, insertAdjacentHTML, matches, releasePointerCapture, removeAttribute, removeAttributeNode, removeAttributeNS, requestPointerLock, scroll, scrollBy, scrollIntoView, scrollIntoView, scrollTo, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setClassName, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setOuterHTML, setPointerCapture, setScrollLeft, setScrollTop, setSlot, toggleAttribute, toggleAttributeMethods inherited from interface org.loboevolution.events.EventTarget
addEventListener, addEventListener, dispatchEvent, dispatchEvent, removeEventListener, removeEventListenerMethods inherited from interface org.loboevolution.html.node.InnerHTML
setInnerHTMLMethods inherited from interface org.loboevolution.html.node.ModelNode
getDocumentItem, getFullURL, getParentModelNode, getRenderState, isEqualOrDescendentOf, setDocumentItem, warnMethods inherited from interface org.loboevolution.html.node.Node
appendChild, appendChildrenToCollectionImpl, cloneNode, cloneNode, compareDocumentPosition, contains, extractDescendentsArrayImpl, findUINode, forgetRenderState, getAttributes, getBaseURI, getChildNodes, getDocumentNode, getFeature, getFirstChild, getLastChild, getNextSibling, getNextTo, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentElement, getParentNode, getPreviousSibling, getPreviousTo, getRootNode, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isIsConnected, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, prepend, prependChild, removeChild, replaceChild, setNamespaceURI, setNodeValue, setOwnerDocument, setOwnerDocument, setParentImpl, setPrefix, setTextContent, setUserData, visitMethods inherited from interface org.loboevolution.html.node.NonDocumentTypeChildNode
getNextElementSibling, getPreviousElementSiblingMethods inherited from interface org.loboevolution.html.node.ParentNode
getChildElementCount, getChildren, getFirstElementChild, getLastElementChild, querySelector, querySelectorAllMethods inherited from interface org.loboevolution.svg.SVGElement
getId, getOwnerSVGElement, getViewportElement, setId, setOwnerSVGElementMethods inherited from interface org.loboevolution.svg.SVGExternalResourcesRequired
getExternalResourcesRequiredMethods inherited from interface org.loboevolution.svg.SVGLangSpace
getXMLlang, getXMLspace, setXMLlang, setXMLspaceMethods inherited from interface org.loboevolution.svg.SVGLocatable
getCTM, getFarthestViewportElement, getNearestViewportElement, getScreenCTM, getTransformToElementMethods inherited from interface org.loboevolution.svg.SVGStylable
getStyleMethods inherited from interface org.loboevolution.svg.SVGSVGElement
getCurrentTranslate, getCurrentViewMethods inherited from interface org.loboevolution.svg.SVGTests
getRequiredExtensions, getRequiredFeatures, getSystemLanguage, hasExtension
-
Constructor Details
-
SVGSVGElementImpl
Constructor for SVGSVGElementImpl.
- Parameters:
element- aHTMLElementobject.
-
-
Method Details
-
getBBox
Description copied from interface:SVGLocatablegetBBox.
- Specified by:
getBBoxin interfaceSVGLocatable- Returns:
- a
SVGRectobject.
-
getViewBox
getViewBox.
- Specified by:
getViewBoxin interfaceSVGFitToViewBox- Returns:
- a
SVGAnimatedRectobject.
-
getPreserveAspectRatio
getPreserveAspectRatio.
- Specified by:
getPreserveAspectRatioin interfaceSVGFitToViewBox- Returns:
- a
SVGAnimatedPreserveAspectRatioobject.
-
getZoomAndPan
public short getZoomAndPan()getZoomAndPan.
- Specified by:
getZoomAndPanin interfaceSVGZoomAndPan- Returns:
- a short.
-
setZoomAndPan
public void setZoomAndPan(short zoomAndPan) setZoomAndPan.
- Specified by:
setZoomAndPanin interfaceSVGZoomAndPan- Parameters:
zoomAndPan- a short.
-
getX
getX.
- Specified by:
getXin interfaceSVGSVGElement- Returns:
- a
SVGAnimatedLengthobject.
-
getY
getY.
- Specified by:
getYin interfaceSVGSVGElement- Returns:
- a
SVGAnimatedLengthobject.
-
getWidth
getWidth.
- Specified by:
getWidthin interfaceSVGSVGElement- Returns:
- a
SVGAnimatedLengthobject.
-
getHeight
getHeight.
- Specified by:
getHeightin interfaceSVGSVGElement- Returns:
- a
SVGAnimatedLengthobject.
-
getViewport
getViewport.
- Specified by:
getViewportin interfaceSVGSVGElement- Returns:
- a
SVGRectobject.
-
getPixelUnitToMillimeterX
public float getPixelUnitToMillimeterX()getPixelUnitToMillimeterX.
- Specified by:
getPixelUnitToMillimeterXin interfaceSVGSVGElement- Returns:
- a float.
-
getPixelUnitToMillimeterY
public float getPixelUnitToMillimeterY()getPixelUnitToMillimeterY.
- Specified by:
getPixelUnitToMillimeterYin interfaceSVGSVGElement- Returns:
- a float.
-
getScreenPixelToMillimeterX
public float getScreenPixelToMillimeterX()getScreenPixelToMillimeterX.
- Specified by:
getScreenPixelToMillimeterXin interfaceSVGSVGElement- Returns:
- a float.
-
getScreenPixelToMillimeterY
public float getScreenPixelToMillimeterY()getScreenPixelToMillimeterY.
- Specified by:
getScreenPixelToMillimeterYin interfaceSVGSVGElement- Returns:
- a float.
-
getUseCurrentView
public boolean getUseCurrentView()getUseCurrentView.
- Specified by:
getUseCurrentViewin interfaceSVGSVGElement- Returns:
- a boolean.
-
setUseCurrentView
public void setUseCurrentView(boolean useCurrentView) setUseCurrentView.
- Specified by:
setUseCurrentViewin interfaceSVGSVGElement- Parameters:
useCurrentView- a boolean.
-
getCurrentScale
public float getCurrentScale()getCurrentScale.
- Specified by:
getCurrentScalein interfaceSVGSVGElement- Returns:
- a float.
-
setCurrentScale
public void setCurrentScale(float currentScale) setCurrentScale.
- Specified by:
setCurrentScalein interfaceSVGSVGElement- Parameters:
currentScale- a float.
-
suspendRedraw
public int suspendRedraw(int max_wait_milliseconds) suspendRedraw.
- Specified by:
suspendRedrawin interfaceSVGSVGElement- Parameters:
max_wait_milliseconds- aIntegerobject.- Returns:
- a
Integerobject.
-
unsuspendRedraw
public void unsuspendRedraw(int suspend_handle_id) unsuspendRedraw.
- Specified by:
unsuspendRedrawin interfaceSVGSVGElement- Parameters:
suspend_handle_id- aIntegerobject.
-
unsuspendRedrawAll
public void unsuspendRedrawAll()unsuspendRedrawAll.
- Specified by:
unsuspendRedrawAllin interfaceSVGSVGElement
-
forceRedraw
public void forceRedraw()forceRedraw.
- Specified by:
forceRedrawin interfaceSVGSVGElement
-
pauseAnimations
public void pauseAnimations()pauseAnimations.
- Specified by:
pauseAnimationsin interfaceSVGSVGElement
-
unpauseAnimations
public void unpauseAnimations()unpauseAnimations.
- Specified by:
unpauseAnimationsin interfaceSVGSVGElement
-
animationsPaused
public boolean animationsPaused()animationsPaused.
- Specified by:
animationsPausedin interfaceSVGSVGElement- Returns:
- a boolean.
-
getCurrentTime
public float getCurrentTime()getCurrentTime.
- Specified by:
getCurrentTimein interfaceSVGSVGElement- Returns:
- a float.
-
setCurrentTime
public void setCurrentTime(float seconds) setCurrentTime.
- Specified by:
setCurrentTimein interfaceSVGSVGElement- Parameters:
seconds- a float.
-
getIntersectionList
getIntersectionList.
- Specified by:
getIntersectionListin interfaceSVGSVGElement- Parameters:
rect- aSVGRectobject.referenceElement- aSVGElementobject.- Returns:
- a
NodeListobject.
-
getEnclosureList
getEnclosureList.
- Specified by:
getEnclosureListin interfaceSVGSVGElement- Parameters:
rect- aSVGRectobject.referenceElement- aSVGElementobject.- Returns:
- a
NodeListobject.
-
checkIntersection
checkIntersection.
- Specified by:
checkIntersectionin interfaceSVGSVGElement- Parameters:
element- aSVGElementobject.rect- aSVGRectobject.- Returns:
- a boolean.
-
checkEnclosure
checkEnclosure.
- Specified by:
checkEnclosurein interfaceSVGSVGElement- Parameters:
element- aSVGElementobject.rect- aSVGRectobject.- Returns:
- a boolean.
-
deselectAll
public void deselectAll()deselectAll.
- Specified by:
deselectAllin interfaceSVGSVGElement
-
createSVGLength
createSVGLength.
- Specified by:
createSVGLengthin interfaceSVGSVGElement- Returns:
- a
SVGLengthobject.
-
createSVGAngle
createSVGAngle.
- Specified by:
createSVGAnglein interfaceSVGSVGElement- Returns:
- a
SVGAngleobject.
-
createSVGPoint
createSVGPoint.
- Specified by:
createSVGPointin interfaceSVGSVGElement- Returns:
- a
SVGPointobject.
-
createSVGMatrix
createSVGMatrix.
- Specified by:
createSVGMatrixin interfaceSVGSVGElement- Returns:
- a
SVGMatrixobject.
-
createSVGNumber
createSVGNumber.
- Specified by:
createSVGNumberin interfaceSVGSVGElement- Returns:
- a
SVGNumberobject.
-
createSVGRect
createSVGRect.
- Specified by:
createSVGRectin interfaceSVGSVGElement- Returns:
- a
SVGRectobject.
-
createSVGTransform
createSVGTransform.
- Specified by:
createSVGTransformin interfaceSVGSVGElement- Returns:
- a
SVGTransformobject.
-
createSVGTransformFromMatrix
createSVGTransformFromMatrix.
- Specified by:
createSVGTransformFromMatrixin interfaceSVGSVGElement- Parameters:
matrix- aSVGMatrixobject.- Returns:
- a
SVGTransformobject.
-
draw
draw.
- Specified by:
drawin interfaceDrawable- Parameters:
graphics- aGraphics2Dobject.
-
createShape
createShape.
- Specified by:
createShapein interfaceDrawable- Parameters:
transform- aAffineTransformobject.- Returns:
- a
Shapeobject.
-
getClientHeight
public int getClientHeight()Description copied from interface:ElementgetClientHeight.
- Specified by:
getClientHeightin interfaceElement- Overrides:
getClientHeightin classSVGElementWrapper- Returns:
- a
Integerobject.
-
getClientWidth
Description copied from interface:ElementgetClientWidth.
- Specified by:
getClientWidthin interfaceElement- Overrides:
getClientWidthin classSVGElementWrapper- Returns:
- a
Integerobject.
-
getOffsetWidth
Description copied from interface:HTMLElementgetOffsetWidth.
- Specified by:
getOffsetWidthin interfaceHTMLElement- Overrides:
getOffsetWidthin classSVGElementWrapper- Returns:
- a
Integerobject.
-
toString
-