public abstract class OMSVGElement extends OMElement
OMSVGPathElement
interface for the path element) derive from the OMSVGElement
interface.Modifier | Constructor and Description |
---|---|
protected |
OMSVGElement(SVGElement ot) |
Modifier and Type | Method and Description |
---|---|
void |
addClassNameBaseVal(String className)
Adds the specified class name to the baseVal CSS class name of this element
|
OMSVGAnimatedString |
getClassName()
Returns the CSS class name of this element.
|
String |
getMarkup()
Returns the XML markup which corresponds to the subtree rooted
at this element
|
OMSVGSVGElement |
getOwnerSVGElement()
The nearest ancestor svg element.
|
OMSVGStyle |
getStyle()
Returns the CSS style of this element
|
OMSVGElement |
getViewportElement()
The element which established the current viewport.
|
String |
getXmlbase()
Corresponds to attribute
xml:base on the given element. |
void |
removeClassNameBaseVal(String className)
Removes the specified class name from the baseVal CSS class name of this element
|
void |
replaceClassNameBaseVal(String oldClassName,
String newClassName)
Replaces the specified class name in the baseVal CSS class name of this element
with a new class name
|
void |
setClassNameBaseVal(String className)
Sets the baseVal CSS class name of this element to the specified value
|
void |
setId(String value)
Sets the 'id' attribute of the specified element
|
void |
setXmlbase(String value)
Corresponds to attribute
xml:base on the given element. |
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
protected OMSVGElement(SVGElement ot)
public final String getXmlbase()
xml:base
on the given element.public final void setXmlbase(String value) throws com.google.gwt.core.client.JavaScriptException
xml:base
on the given element.DOMException(NO_MODIFICATION_ALLOWED_ERR)
- Raised on an attempt
to change the value of a read only
attribute.com.google.gwt.core.client.JavaScriptException
public final OMSVGSVGElement getOwnerSVGElement()
public final OMSVGElement getViewportElement()
public final void setId(String value)
value
- the value of the 'id' attributepublic OMSVGStyle getStyle()
public final OMSVGAnimatedString getClassName()
public final void addClassNameBaseVal(String className)
className
- the class name to addpublic final void removeClassNameBaseVal(String className)
className
- the class name to removepublic final void replaceClassNameBaseVal(String oldClassName, String newClassName)
oldClassName
- the class name to replacenewClassName
- the replacement class namepublic final void setClassNameBaseVal(String className)
className
- the class namepublic final String getMarkup()
Copyright © 2018. All Rights Reserved.