org.vectomatic.dom.svg
Class OMSVGViewSpec

java.lang.Object
  extended by com.google.gwt.core.client.JavaScriptObject
      extended by org.vectomatic.dom.svg.OMSVGViewSpec

public class OMSVGViewSpec
extends com.google.gwt.core.client.JavaScriptObject

The interface corresponds to an SVG View Specification.


Constructor Summary
protected OMSVGViewSpec()
           
 
Method Summary
 OMSVGAnimatedPreserveAspectRatio getPreserveAspectRatio()
          Corresponds to attribute ISVGFitToViewBox.getPreserveAspectRatio() on the given element.
 String getPreserveAspectRatioString()
          Corresponds to the preserveAspectRatio setting on the SVG View Specification.
 OMSVGTransformList getTransform()
          Corresponds to the transform setting on the SVG View Specification.
 String getTransformString()
          Corresponds to the transform setting on the SVG View Specification.
 OMSVGAnimatedRect getViewBox()
          Corresponds to attribute ISVGFitToViewBox.getViewBox() on the given element.
 String getViewBoxString()
          Corresponds to the viewBox setting on the SVG View Specification.
 SVGElement getViewTarget()
          Corresponds to the viewTarget setting on the SVG View Specification.
 String getViewTargetString()
          Corresponds to the viewTarget setting on the SVG View Specification.
 short getZoomAndPan()
          Corresponds to attribute ISVGZoomAndPan.getZoomAndPan() on the given element.
 void setZoomAndPan(short value)
          Corresponds to attribute ISVGZoomAndPan.getZoomAndPan() on the given element.
 
Methods inherited from class com.google.gwt.core.client.JavaScriptObject
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OMSVGViewSpec

protected OMSVGViewSpec()
Method Detail

getTransform

public final OMSVGTransformList getTransform()
Corresponds to the transform setting on the SVG View Specification.


getViewTarget

public final SVGElement getViewTarget()
Corresponds to the viewTarget setting on the SVG View Specification.


getViewBoxString

public final String getViewBoxString()
Corresponds to the viewBox setting on the SVG View Specification.


getPreserveAspectRatioString

public final String getPreserveAspectRatioString()
Corresponds to the preserveAspectRatio setting on the SVG View Specification.


getTransformString

public final String getTransformString()
Corresponds to the transform setting on the SVG View Specification.


getViewTargetString

public final String getViewTargetString()
Corresponds to the viewTarget setting on the SVG View Specification.


getViewBox

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


getPreserveAspectRatio

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


getZoomAndPan

public final short getZoomAndPan()
Corresponds to attribute ISVGZoomAndPan.getZoomAndPan() on the given element. The value must be one of the SVG_ZOOMANDPAN_ constants defined on this interface.


setZoomAndPan

public final void setZoomAndPan(short value)
                         throws com.google.gwt.core.client.JavaScriptException
Corresponds to attribute ISVGZoomAndPan.getZoomAndPan() on the given element. The value must be one of the SVG_ZOOMANDPAN_ constants defined on this interface.

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


Copyright © 2012. All Rights Reserved.