|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.vectomatic.dom.svg.OMNode
org.vectomatic.dom.svg.OMElement
org.vectomatic.dom.svg.OMSVGElement
public abstract class OMSVGElement
All of the SVG DOM interfaces that correspond directly to elements in the
SVG language (such as the OMSVGPathElement
interface for the path element) derive from the OMSVGElement
interface.
Field Summary |
---|
Fields inherited from class org.vectomatic.dom.svg.OMNode |
---|
eventBus, ot |
Constructor Summary | |
---|---|
protected |
OMSVGElement(SVGElement ot)
|
Method Summary | |
---|---|
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. |
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected OMSVGElement(SVGElement ot)
Method Detail |
---|
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |