public class SVGViewElement extends SVGElement
SVGAElement
interface corresponds
to the view element.Modifier | Constructor and Description |
---|---|
protected |
SVGViewElement() |
Modifier and Type | Method and Description |
---|---|
OMSVGAnimatedBoolean |
getExternalResourcesRequired()
Corresponds to attribute
ISVGExternalResourcesRequired.getExternalResourcesRequired()
on the given element. |
OMSVGAnimatedPreserveAspectRatio |
getPreserveAspectRatio()
Corresponds to attribute
ISVGFitToViewBox.getPreserveAspectRatio()
on the given element. |
OMSVGAnimatedRect |
getViewBox()
Corresponds to attribute
ISVGFitToViewBox.getViewBox()
on the given element. |
OMSVGStringList |
getViewTarget()
Corresponds to attribute
getViewTarget()
on the given view element. |
short |
getZoomAndPan()
Corresponds to attribute
ISVGZoomAndPan.getZoomAndPan()
on the given element. |
void |
setZoomAndPan(short value)
Corresponds to attribute
ISVGZoomAndPan.getZoomAndPan()
on the given element. |
getClassName_, getMarkup, getOwnerSVGElement, getViewportElement, getXmlbase, setXmlbase
addClassName, as, as, blur, dispatchEvent, focus, getAbsoluteBottom, getAbsoluteLeft, getAbsoluteRight, getAbsoluteTop, getAttribute, getClassName, getClientHeight, getClientWidth, getDir, getDraggable, getElementsByTagName, getFirstChildElement, getId, getInnerHTML, getInnerText, getLang, getNextSiblingElement, getOffsetHeight, getOffsetLeft, getOffsetParent, getOffsetTop, getOffsetWidth, getPreviousSiblingElement, getPropertyBoolean, getPropertyDouble, getPropertyInt, getPropertyJSO, getPropertyObject, getPropertyString, getScrollHeight, getScrollLeft, getScrollTop, getScrollWidth, getString, getStyle, getTabIndex, getTagName, getTitle, hasAttribute, hasClassName, hasTagName, is, is, removeAttribute, removeClassName, replaceClassName, scrollIntoView, setAttribute, setClassName, setDir, setDraggable, setId, setInnerHTML, setInnerSafeHtml, setInnerText, setLang, setPropertyBoolean, setPropertyDouble, setPropertyInt, setPropertyJSO, setPropertyObject, setPropertyString, setScrollLeft, setScrollTop, setTabIndex, setTitle, toggleClassName
appendChild, cloneNode, getChild, getChildCount, getChildNodes, getFirstChild, getLastChild, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentElement, getParentNode, getPreviousSibling, hasChildNodes, hasParentElement, insertAfter, insertBefore, insertFirst, isOrHasChild, removeAllChildren, removeChild, removeFromParent, replaceChild, setNodeValue
public final OMSVGStringList getViewTarget()
getViewTarget()
on the given view element. A list of DOMString
values which contain the names listed in the getViewTarget()
attribute. Each of the DOMString values can be associated with the corresponding
element using the getElementById() method call.public final OMSVGAnimatedBoolean getExternalResourcesRequired()
ISVGExternalResourcesRequired.getExternalResourcesRequired()
on the given element. Note that the SVG DOM defines the attribute ISVGExternalResourcesRequired.getExternalResourcesRequired()
as being of type OMSVGAnimatedBoolean
, whereas
the SVG language definition says that ISVGExternalResourcesRequired.getExternalResourcesRequired()
is not animated. Because the SVG language definition states that ISVGExternalResourcesRequired.getExternalResourcesRequired()
cannot be animated, the OMSVGAnimatedBoolean.getAnimVal()
will always be the same as the OMSVGAnimatedBoolean.getBaseVal()
.public final OMSVGAnimatedRect getViewBox()
ISVGFitToViewBox.getViewBox()
on the given element.public final OMSVGAnimatedPreserveAspectRatio getPreserveAspectRatio()
ISVGFitToViewBox.getPreserveAspectRatio()
on the given element.public final short getZoomAndPan()
ISVGZoomAndPan.getZoomAndPan()
on the given element. The value must be one of the SVG_ZOOMANDPAN_ constants
defined on this interface.public final void setZoomAndPan(short value) throws com.google.gwt.core.client.JavaScriptException
ISVGZoomAndPan.getZoomAndPan()
on the given element. The value must be one of the SVG_ZOOMANDPAN_ constants
defined on this interface.DOMException(NO_MODIFICATION_ALLOWED_ERR)
- Raised on an attempt
to change the value of a read only
attribute.com.google.gwt.core.client.JavaScriptException
Copyright © 2018. All Rights Reserved.