@TagName(value="view") public class OMSVGViewElement extends OMSVGElement implements ISVGExternalResourcesRequired, ISVGFitToViewBox, ISVGZoomAndPan
OMSVGAElement
interface corresponds
to the view element.SVG_ZOOMANDPAN_DISABLE, SVG_ZOOMANDPAN_MAGNIFY, SVG_ZOOMANDPAN_UNKNOWN
Modifier | Constructor and Description |
---|---|
|
OMSVGViewElement() |
protected |
OMSVGViewElement(SVGViewElement ot) |
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. |
addClassNameBaseVal, getClassName, getMarkup, getOwnerSVGElement, getStyle, getViewportElement, getXmlbase, removeClassNameBaseVal, replaceClassNameBaseVal, setClassNameBaseVal, setId, setXmlbase
getAttribute, getAttributeNode, getAttributeNS, getAttributes, getElement, getElementsByTagName, getElementsByTagNameNS, getId, getTagName, hasAttribute, hasAttributeNS, removeAttribute, setAttribute, setAttributeNode, setAttributeNS
addDomHandler, addHandler, appendChild, cleanup, cloneNode, convert, convertList, dispatch, fireEvent, getChildNodes, getEventBus, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNode, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, hasChildNodes, insertBefore, normalize, removeChild, replaceChild, setNodeValue, toString
public OMSVGViewElement()
protected OMSVGViewElement(SVGViewElement ot)
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()
.getExternalResourcesRequired
in interface ISVGExternalResourcesRequired
public final OMSVGAnimatedRect getViewBox()
ISVGFitToViewBox.getViewBox()
on the given element.getViewBox
in interface ISVGFitToViewBox
public final OMSVGAnimatedPreserveAspectRatio getPreserveAspectRatio()
ISVGFitToViewBox.getPreserveAspectRatio()
on the given element.getPreserveAspectRatio
in interface ISVGFitToViewBox
public final short getZoomAndPan()
ISVGZoomAndPan.getZoomAndPan()
on the given element. The value must be one of the SVG_ZOOMANDPAN_ constants
defined on this interface.getZoomAndPan
in interface ISVGZoomAndPan
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.setZoomAndPan
in interface ISVGZoomAndPan
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.