ElegantJCharts Java API Specification v2.0

com.elegantj.graphx
Class ZoomFactor

java.lang.Object
  |
  +--com.elegantj.graphx.ZoomFactor
All Implemented Interfaces:
java.io.Serializable

public class ZoomFactor
extends java.lang.Object
implements java.io.Serializable

Zoom Factor got the Graph can be saved and retrieved with this class.

See Also:
Serialized Form

Constructor Summary
ZoomFactor(float in_XZFactor, float in_YZFactor)
          Constructor
 
Method Summary
 float getHeightZoomFactor()
          This method returns the zoomfactor for height
 float getWidthZoomFactor()
          This method returns the zoomfactor for width
 boolean isEquals(ZoomFactor in_ZoomFactor)
          compare this and given object
 boolean isGreaterThen(ZoomFactor in_ZoomFactor)
          compare this and given object
 void setHeightZoomFactor(float in_YZFactor)
          This method returns the zoomfactor for height
 void setWidthZoomFactor(float in_XZFactor)
          This method set the zoomfactor for width
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ZoomFactor

public ZoomFactor(float in_XZFactor,
                  float in_YZFactor)
Constructor

Parameters:
in_XZFactor - ZoomFactor for x coordinate
in_YZFactor - ZoomFactor for y coordinate
Method Detail

getWidthZoomFactor

public float getWidthZoomFactor()
This method returns the zoomfactor for width

Returns:
float ZoomFactor for width (x coordinate)

setWidthZoomFactor

public void setWidthZoomFactor(float in_XZFactor)
This method set the zoomfactor for width

Parameters:
in_XZFactor - ZoomFactor for width (x coordinate)

getHeightZoomFactor

public float getHeightZoomFactor()
This method returns the zoomfactor for height

Returns:
float ZoomFactor for height

setHeightZoomFactor

public void setHeightZoomFactor(float in_YZFactor)
This method returns the zoomfactor for height

Parameters:
in_YZFactor - ZoomFactor for height

isGreaterThen

public boolean isGreaterThen(ZoomFactor in_ZoomFactor)
compare this and given object

Parameters:
in_ZoomFactor - Zoom factor object to comare
Returns:
int true - if this object is greater then given object, false - otherwise

isEquals

public boolean isEquals(ZoomFactor in_ZoomFactor)
compare this and given object

Parameters:
in_ZoomFactor - Zoom factor object to comare
Returns:
int true - if this object is equals to given object, false - otherwise

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

ElegantJCharts Java API Specification v2.0

For any feedback, suggestion, or query, please revert back to support@elegantcharts.com

Copyright(c)
Elegant Microweb Technologies Pvt. Ltd.
www.elegantmicroweb.com
www.elegantjcharts.com
All Rights Reserved.