org.vectomatic.dom.svg.itf
Interface ISVGZoomAndPan

All Known Subinterfaces:
ISVGViewSpec
All Known Implementing Classes:
OMSVGSVGElement, OMSVGViewElement

public interface ISVGZoomAndPan

The ISVGZoomAndPan interface defines attribute getZoomAndPan() and associated constants.


Field Summary
static short SVG_ZOOMANDPAN_DISABLE
          Corresponds to value 'disable'.
static short SVG_ZOOMANDPAN_MAGNIFY
          Corresponds to value 'magnify'.
static short SVG_ZOOMANDPAN_UNKNOWN
          The enumeration was set to a value that is not one of predefined types.
 
Method Summary
 short getZoomAndPan()
          Corresponds to attribute getZoomAndPan() on the given element.
 void setZoomAndPan(short value)
          Corresponds to attribute getZoomAndPan() on the given element.
 

Field Detail

SVG_ZOOMANDPAN_UNKNOWN

static final short SVG_ZOOMANDPAN_UNKNOWN
The enumeration was set to a value that is not one of predefined types. It is invalid to attempt to define a new value of this type or to attempt to switch an existing value to this type.

See Also:
Constant Field Values

SVG_ZOOMANDPAN_DISABLE

static final short SVG_ZOOMANDPAN_DISABLE
Corresponds to value 'disable'.

See Also:
Constant Field Values

SVG_ZOOMANDPAN_MAGNIFY

static final short SVG_ZOOMANDPAN_MAGNIFY
Corresponds to value 'magnify'.

See Also:
Constant Field Values
Method Detail

getZoomAndPan

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


setZoomAndPan

void setZoomAndPan(short value)
                   throws com.google.gwt.core.client.JavaScriptException
Corresponds to attribute 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.