org.vectomatic.dom.svg
Class OMSVGPatternElement

java.lang.Object
  extended by org.vectomatic.dom.svg.OMNode
      extended by org.vectomatic.dom.svg.OMElement
          extended by org.vectomatic.dom.svg.OMSVGElement
              extended by org.vectomatic.dom.svg.OMSVGPatternElement
All Implemented Interfaces:
com.google.gwt.event.shared.HasHandlers, ISVGContainerElement, ISVGExternalResourcesRequired, ISVGFitToViewBox, ISVGLangSpace, ISVGStylable, ISVGTests, ISVGUnitTypes, ISVGURIReference

@TagName(value="pattern")
public class OMSVGPatternElement
extends OMSVGElement
implements ISVGURIReference, ISVGTests, ISVGLangSpace, ISVGExternalResourcesRequired, ISVGStylable, ISVGFitToViewBox, ISVGUnitTypes, ISVGContainerElement

The OMSVGPatternElement interface corresponds to the pattern element.


Field Summary
 
Fields inherited from class org.vectomatic.dom.svg.OMNode
eventBus, ot
 
Fields inherited from interface org.vectomatic.dom.svg.itf.ISVGUnitTypes
SVG_UNIT_TYPE_OBJECTBOUNDINGBOX, SVG_UNIT_TYPE_UNKNOWN, SVG_UNIT_TYPE_USERSPACEONUSE
 
Constructor Summary
  OMSVGPatternElement()
           
protected OMSVGPatternElement(SVGPatternElement ot)
           
 
Method Summary
 OMSVGAnimatedBoolean getExternalResourcesRequired()
          Corresponds to attribute ISVGExternalResourcesRequired.getExternalResourcesRequired() on the given element.
 OMSVGAnimatedLength getHeight()
          Corresponds to attribute getHeight() on the given pattern element.
 OMSVGAnimatedString getHref()
          Corresponds to attribute 'xlink:href' on the given element.
 OMSVGAnimatedEnumeration getPatternContentUnits()
          Corresponds to attribute getPatternContentUnits() on the given pattern element.
 OMSVGAnimatedTransformList getPatternTransform()
          Corresponds to attribute getPatternTransform() on the given pattern element.
 OMSVGAnimatedEnumeration getPatternUnits()
          Corresponds to attribute getPatternUnits() on the given pattern element.
 OMSVGAnimatedPreserveAspectRatio getPreserveAspectRatio()
          Corresponds to attribute ISVGFitToViewBox.getPreserveAspectRatio() on the given element.
 OMSVGStringList getRequiredExtensions()
          Corresponds to attribute ISVGTests.getRequiredExtensions() on the given element.
 OMSVGStringList getRequiredFeatures()
          Corresponds to attribute ISVGTests.getRequiredFeatures() on the given element.
 OMSVGStringList getSystemLanguage()
          Corresponds to attribute ISVGTests.getSystemLanguage() on the given element.
 OMSVGAnimatedRect getViewBox()
          Corresponds to attribute ISVGFitToViewBox.getViewBox() on the given element.
 OMSVGAnimatedLength getWidth()
          Corresponds to attribute getWidth() on the given pattern element.
 OMSVGAnimatedLength getX()
          Corresponds to attribute getX() on the given pattern element.
 String getXmllang()
          Corresponds to attribute xml:lang on the given element.
 String getXmlspace()
          Corresponds to attribute xml:space on the given element.
 OMSVGAnimatedLength getY()
          Corresponds to attribute getY() on the given pattern element.
 boolean hasExtension(String extension)
          Returns true if the user agent supports the given extension, specified by a URI.
 void setXmllang(String value)
          Corresponds to attribute xml:lang on the given element.
 void setXmlspace(String value)
          Corresponds to attribute xml:space on the given 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.vectomatic.dom.svg.itf.ISVGStylable
addClassNameBaseVal, getClassName, getStyle, removeClassNameBaseVal, replaceClassNameBaseVal, setClassNameBaseVal
 

Constructor Detail

OMSVGPatternElement

public OMSVGPatternElement()

OMSVGPatternElement

protected OMSVGPatternElement(SVGPatternElement ot)
Method Detail

getPatternUnits

public final OMSVGAnimatedEnumeration getPatternUnits()
Corresponds to attribute getPatternUnits() on the given pattern element. Takes one of the constants defined in ISVGUnitTypes.


getPatternContentUnits

public final OMSVGAnimatedEnumeration getPatternContentUnits()
Corresponds to attribute getPatternContentUnits() on the given pattern element. Takes one of the constants defined in ISVGUnitTypes.


getPatternTransform

public final OMSVGAnimatedTransformList getPatternTransform()
Corresponds to attribute getPatternTransform() on the given pattern element.


getX

public final OMSVGAnimatedLength getX()
Corresponds to attribute getX() on the given pattern element.


getY

public final OMSVGAnimatedLength getY()
Corresponds to attribute getY() on the given pattern element.


getWidth

public final OMSVGAnimatedLength getWidth()
Corresponds to attribute getWidth() on the given pattern element.


getHeight

public final OMSVGAnimatedLength getHeight()
Corresponds to attribute getHeight() on the given pattern element.


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

getViewBox

public final OMSVGAnimatedRect getViewBox()
Corresponds to attribute ISVGFitToViewBox.getViewBox() on the given element.

Specified by:
getViewBox in interface ISVGFitToViewBox

getPreserveAspectRatio

public final OMSVGAnimatedPreserveAspectRatio getPreserveAspectRatio()
Corresponds to attribute ISVGFitToViewBox.getPreserveAspectRatio() on the given element.

Specified by:
getPreserveAspectRatio in interface ISVGFitToViewBox

getXmllang

public final String getXmllang()
Corresponds to attribute xml:lang on the given element.

Specified by:
getXmllang in interface ISVGLangSpace

setXmllang

public final void setXmllang(String value)
                      throws com.google.gwt.core.client.JavaScriptException
Corresponds to attribute xml:lang on the given element.

Specified by:
setXmllang in interface ISVGLangSpace
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

getXmlspace

public final String getXmlspace()
Corresponds to attribute xml:space on the given element.

Specified by:
getXmlspace in interface ISVGLangSpace

setXmlspace

public final void setXmlspace(String value)
                       throws com.google.gwt.core.client.JavaScriptException
Corresponds to attribute xml:space on the given element.

Specified by:
setXmlspace in interface ISVGLangSpace
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

getRequiredFeatures

public final OMSVGStringList getRequiredFeatures()
Corresponds to attribute ISVGTests.getRequiredFeatures() on the given element.

Specified by:
getRequiredFeatures in interface ISVGTests

getRequiredExtensions

public final OMSVGStringList getRequiredExtensions()
Corresponds to attribute ISVGTests.getRequiredExtensions() on the given element.

Specified by:
getRequiredExtensions in interface ISVGTests

getSystemLanguage

public final OMSVGStringList getSystemLanguage()
Corresponds to attribute ISVGTests.getSystemLanguage() on the given element.

Specified by:
getSystemLanguage in interface ISVGTests

hasExtension

public final boolean hasExtension(String extension)
Returns true if the user agent supports the given extension, specified by a URI.

Specified by:
hasExtension in interface ISVGTests
Parameters:
extension - The name of the extension, expressed as a URI.
Returns:
True or false, depending on whether the given extension is supported.

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.