|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.achartengine.tools.AbstractTool
public abstract class AbstractTool
Abstract class for being extended by graphical view tools.
| Field Summary | |
|---|---|
protected AbstractChart |
mChart
The chart. |
protected XYMultipleSeriesRenderer |
mRenderer
The renderer. |
| Constructor Summary | |
|---|---|
AbstractTool(AbstractChart chart)
Abstract tool constructor. |
|
| Method Summary | |
|---|---|
void |
checkRange(double[] range,
int scale)
Sets the range to the calculated one, if not already set. |
double[] |
getRange(int scale)
Returns the current chart range. |
protected void |
setXRange(double min,
double max,
int scale)
Sets a new range on the X axis. |
protected void |
setYRange(double min,
double max,
int scale)
Sets a new range on the Y axis. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected AbstractChart mChart
protected XYMultipleSeriesRenderer mRenderer
| Constructor Detail |
|---|
public AbstractTool(AbstractChart chart)
chart - the chart| Method Detail |
|---|
public double[] getRange(int scale)
scale - the scale
public void checkRange(double[] range,
int scale)
range - the rangescale - the scale
protected void setXRange(double min,
double max,
int scale)
min - the minimum valuemax - the maximum valuescale - the scale
protected void setYRange(double min,
double max,
int scale)
min - the minimum valuemax - the maximum valuescale - the scale
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||