/* ----------------------------------------------------------------------------
 * This file was automatically generated by SWIG (http://www.swig.org).
 * Version 1.3.40
 *
 * Do not make changes to this file unless you know what you are doing--modify
 * the SWIG interface file instead.
 * ----------------------------------------------------------------------------- */

package RNAstructure_java_drawing.source.proxy;

public class DotPlotBackend {
  private long swigCPtr;
  protected boolean swigCMemOwn;

  protected DotPlotBackend(long cPtr, boolean cMemoryOwn) {
    swigCMemOwn = cMemoryOwn;
    swigCPtr = cPtr;
  }

  protected static long getCPtr(DotPlotBackend obj) {
    return (obj == null) ? 0 : obj.swigCPtr;
  }

  protected void finalize() {
    delete();
  }

  public synchronized void delete() {
    if (swigCPtr != 0) {
      if (swigCMemOwn) {
        swigCMemOwn = false;
        DotPlotBackendProxyJNI.delete_DotPlotBackend(swigCPtr);
      }
      swigCPtr = 0;
    }
  }

  public DotPlotBackend() {
    this(DotPlotBackendProxyJNI.new_DotPlotBackend(), true);
  }

  public String getBounds() {
    return DotPlotBackendProxyJNI.DotPlotBackend_getBounds(swigCPtr, this);
  }

  public String getColors() {
    return DotPlotBackendProxyJNI.DotPlotBackend_getColors(swigCPtr, this);
  }

  public double getCurrentMax() {
    return DotPlotBackendProxyJNI.DotPlotBackend_getCurrentMax(swigCPtr, this);
  }

  public double getDefaultMin() {
    return DotPlotBackendProxyJNI.DotPlotBackend_getDefaultMin(swigCPtr, this);
  }

  public double getDefaultMax() {
    return DotPlotBackendProxyJNI.DotPlotBackend_getDefaultMax(swigCPtr, this);
  }

  public double getCurrentMin() {
    return DotPlotBackendProxyJNI.DotPlotBackend_getCurrentMin(swigCPtr, this);
  }

  public String getDotData(int i, int j) {
    return DotPlotBackendProxyJNI.DotPlotBackend_getDotData(swigCPtr, this, i, j);
  }

  public String getDotDataByLocation(int x, int y, double scale) {
    return DotPlotBackendProxyJNI.DotPlotBackend_getDotDataByLocation(swigCPtr, this, x, y, scale);
  }

  public String getGridLine(int number) {
    return DotPlotBackendProxyJNI.DotPlotBackend_getGridLine(swigCPtr, this, number);
  }

  public String getLegendData() {
    return DotPlotBackendProxyJNI.DotPlotBackend_getLegendData(swigCPtr, this);
  }

  public int getLength() {
    return DotPlotBackendProxyJNI.DotPlotBackend_getLength(swigCPtr, this);
  }

  public boolean readData(String file, int strand) {
    return DotPlotBackendProxyJNI.DotPlotBackend_readData(swigCPtr, this, file, strand);
  }

  public void setColors(int colors) {
    DotPlotBackendProxyJNI.DotPlotBackend_setColors(swigCPtr, this, colors);
  }

  public void setRange(double minimum, double maximum) {
    DotPlotBackendProxyJNI.DotPlotBackend_setRange(swigCPtr, this, minimum, maximum);
  }

  public void writePostscriptFile(String outFile) {
    DotPlotBackendProxyJNI.DotPlotBackend_writePostscriptFile(swigCPtr, this, outFile);
  }

  public String writeStructuresFile(String file, String outFile) {
    return DotPlotBackendProxyJNI.DotPlotBackend_writeStructuresFile(swigCPtr, this, file, outFile);
  }

  public void writeSVGFile(String outFile) {
    DotPlotBackendProxyJNI.DotPlotBackend_writeSVGFile(swigCPtr, this, outFile);
  }

  public void writeTextFile(String file) {
    DotPlotBackendProxyJNI.DotPlotBackend_writeTextFile(swigCPtr, this, file);
  }

}
