org.vectomatic.dom.svg.impl
Class NativeSVGZoomEvent

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

public class NativeSVGZoomEvent
extends com.google.gwt.dom.client.NativeEvent

Overlay type for the SVGZoomEvent W3C IDL interface

Author:
laaglu

Field Summary
 
Fields inherited from class com.google.gwt.dom.client.NativeEvent
BUTTON_LEFT, BUTTON_MIDDLE, BUTTON_RIGHT
 
Constructor Summary
protected NativeSVGZoomEvent()
          Constructor
 
Method Summary
 float getNewScale()
          Returns the scale factor that will be in place after the zoom operation has been processed.
 OMSVGPoint getNewTranslate()
          Returns the translation values that will be in place after the zoom operation has been processed.
 float getPreviousScale()
          Returns the scale factor from previous zoom operations that was in place before the zoom operation occurred.
 OMSVGPoint getPreviousTranslate()
          Returns the translation values from previous zoom operations that were in place before the zoom operation occurred.
 OMSVGRect getZoomRectScreen()
          Returns the specified zoom rectangle in screen units.
 
Methods inherited from class com.google.gwt.dom.client.NativeEvent
getAltKey, getButton, getChangedTouches, getCharCode, getClientX, getClientY, getCtrlKey, getCurrentEventTarget, getDataTransfer, getEventTarget, getKeyCode, getMetaKey, getMouseWheelVelocityY, getRelatedEventTarget, getRotation, getScale, getScreenX, getScreenY, getShiftKey, getString, getTargetTouches, getTouches, getType, preventDefault, stopPropagation
 
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

NativeSVGZoomEvent

protected NativeSVGZoomEvent()
Constructor

Method Detail

getZoomRectScreen

public final OMSVGRect getZoomRectScreen()
Returns the specified zoom rectangle in screen units.

Returns:
the specified zoom rectangle in screen units.

getPreviousScale

public final float getPreviousScale()
Returns the scale factor from previous zoom operations that was in place before the zoom operation occurred.

Returns:
the scale factor from previous zoom operations

getPreviousTranslate

public final OMSVGPoint getPreviousTranslate()
Returns the translation values from previous zoom operations that were in place before the zoom operation occurred. The OMSVGPoint object is read only.

Returns:
the translation values from previous zoom operations

getNewScale

public final float getNewScale()
Returns the scale factor that will be in place after the zoom operation has been processed.

Returns:
the scale factor that will be in place after the zoom operation has been processed

getNewTranslate

public final OMSVGPoint getNewTranslate()
Returns the translation values that will be in place after the zoom operation has been processed. The OMSVGPoint object is read only.

Returns:
the translation values that will be in place after the zoom operation has been processed.


Copyright © 2012. All Rights Reserved.