org.vectomatic.dom.svg
Class OMSVGScriptElement
java.lang.Object
org.vectomatic.dom.svg.OMNode
org.vectomatic.dom.svg.OMElement
org.vectomatic.dom.svg.OMSVGElement
org.vectomatic.dom.svg.OMSVGScriptElement
- All Implemented Interfaces:
- com.google.gwt.event.shared.HasHandlers, ISVGExternalResourcesRequired, ISVGURIReference
@TagName(value="script")
public class OMSVGScriptElement
- extends OMSVGElement
- implements ISVGURIReference, ISVGExternalResourcesRequired
The OMSVGScriptElement
interface corresponds
to the script element.
Methods inherited from class org.vectomatic.dom.svg.OMSVGElement |
addClassNameBaseVal, getClassName, getMarkup, getOwnerSVGElement, getStyle, getViewportElement, getXmlbase, removeClassNameBaseVal, replaceClassNameBaseVal, setClassNameBaseVal, setId, setXmlbase |
Methods inherited from class org.vectomatic.dom.svg.OMElement |
getAttribute, getAttributeNode, getAttributeNS, getAttributes, getElement, getElementsByTagName, getElementsByTagNameNS, getId, getTagName, hasAttribute, hasAttributeNS, removeAttribute, setAttribute, setAttributeNode, setAttributeNS |
Methods inherited from class org.vectomatic.dom.svg.OMNode |
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 |
OMSVGScriptElement
public OMSVGScriptElement()
OMSVGScriptElement
protected OMSVGScriptElement(SVGScriptElement ot)
getType
public final String getType()
- Corresponds to attribute
getType()
on the given script element.
setType
public final void setType(String value)
throws com.google.gwt.core.client.JavaScriptException
- Corresponds to attribute
getType()
on the given script element.
- Throws:
DOMException(NO_MODIFICATION_ALLOWED_ERR)
- Raised on an attempt
to change the value of a read only
attribute.
com.google.gwt.core.client.JavaScriptException
getExternalResourcesRequired
public final OMSVGAnimatedBoolean getExternalResourcesRequired()
- Corresponds to attribute
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()
.
- Specified by:
getExternalResourcesRequired
in interface ISVGExternalResourcesRequired
getHref
public final OMSVGAnimatedString getHref()
- Corresponds to attribute 'xlink:href' on
the given element.
- Specified by:
getHref
in interface ISVGURIReference
Copyright © 2012. All Rights Reserved.