|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.achartengine.tools.AbstractTool
org.achartengine.tools.Zoom
public class Zoom
The zoom tool.
| Field Summary |
|---|
| Fields inherited from class org.achartengine.tools.AbstractTool |
|---|
mChart, mRenderer |
| Constructor Summary | |
|---|---|
Zoom(AbstractChart chart,
boolean in,
float rate)
Builds the zoom tool. |
|
| Method Summary | |
|---|---|
void |
addZoomListener(ZoomListener listener)
Adds a new zoom listener. |
void |
apply()
Apply the zoom. |
void |
notifyZoomResetListeners()
Notify the zoom listeners about a zoom reset. |
void |
removeZoomListener(ZoomListener listener)
Removes a zoom listener. |
void |
setZoomRate(float rate)
Sets the zoom rate. |
| Methods inherited from class org.achartengine.tools.AbstractTool |
|---|
checkRange, getRange, setXRange, setYRange |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Zoom(AbstractChart chart,
boolean in,
float rate)
chart - the chartin - zoom in or outrate - the zoom rate| Method Detail |
|---|
public void setZoomRate(float rate)
rate - public void apply()
public void notifyZoomResetListeners()
public void addZoomListener(ZoomListener listener)
listener - zoom listenerpublic void removeZoomListener(ZoomListener listener)
listener - zoom listener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||