org.achartengine.tools
Class ZoomEvent

java.lang.Object
  extended by org.achartengine.tools.ZoomEvent

public class ZoomEvent
extends java.lang.Object

A zoom event.


Constructor Summary
ZoomEvent(boolean in, float rate)
          Builds the zoom tool.
 
Method Summary
 float getZoomRate()
          Returns the zoom rate.
 boolean isZoomIn()
          Returns the zoom type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZoomEvent

public ZoomEvent(boolean in,
                 float rate)
Builds the zoom tool.

Parameters:
in - zoom in or out
rate - the zoom rate
Method Detail

isZoomIn

public boolean isZoomIn()
Returns the zoom type.

Returns:
true if zoom in, false otherwise

getZoomRate

public float getZoomRate()
Returns the zoom rate.

Returns:
the zoom rate


Copyright © 2009 - 2011 4ViewSoft. All Rights Reserved.