43 lines
836 B
Java
Executable File
43 lines
836 B
Java
Executable File
package org.solovyev.android.calculator.plot;
|
|
|
|
import android.graphics.Bitmap;
|
|
import android.widget.ZoomButtonsController;
|
|
import javax.annotation.Nonnull;
|
|
|
|
import java.util.List;
|
|
|
|
public interface GraphView extends ZoomButtonsController.OnZoomListener, TouchHandler.TouchHandlerListener {
|
|
|
|
public void init(@Nonnull PlotViewDef plotViewDef);
|
|
|
|
public void setPlotFunctions(@Nonnull List<PlotFunction> plotFunctions);
|
|
|
|
@Nonnull
|
|
public List<PlotFunction> getPlotFunctions();
|
|
|
|
public void onDestroy();
|
|
|
|
public void onPause();
|
|
|
|
public void onResume();
|
|
|
|
@Nonnull
|
|
public Bitmap captureScreenshot();
|
|
|
|
void setXRange(float xMin, float xMax);
|
|
|
|
void setYRange(float yMin, float yMax);
|
|
|
|
float getXMin();
|
|
|
|
float getXMax();
|
|
|
|
float getYMin();
|
|
|
|
float getYMax();
|
|
|
|
void invalidateGraphs();
|
|
|
|
void setAdjustYAxis(boolean adjustYAxis);
|
|
}
|