Package net.sf.mzmine.modules.visualization.spectra.renderers

Examples of net.sf.mzmine.modules.visualization.spectra.renderers.ContinuousRenderer


    XYItemRenderer newRenderer;
    if (plotMode == PlotMode.CENTROID) {
      newRenderer = new PeakRenderer(SpectraVisualizerWindow.scanColor,
          false);
    } else {
      newRenderer = new ContinuousRenderer(
          SpectraVisualizerWindow.scanColor, false);
      ((ContinuousRenderer) newRenderer)
          .setBaseShapesVisible(dataPointsVisible);
    }
View Full Code Here


    dataPointsVisible = !dataPointsVisible;
    for (int i = 0; i < plot.getDatasetCount(); i++) {
      XYItemRenderer renderer = plot.getRenderer(i);
      if (!(renderer instanceof ContinuousRenderer))
        continue;
      ContinuousRenderer contRend = (ContinuousRenderer) renderer;
      contRend.setBaseShapesVisible(dataPointsVisible);
    }
  }
View Full Code Here

      ScanDataSet scanDataSet = (ScanDataSet) dataSet;
      Scan scan = scanDataSet.getScan();
      if (scan.isCentroided())
        newRenderer = new PeakRenderer(color, transparency);
      else {
        newRenderer = new ContinuousRenderer(color, transparency);
        ((ContinuousRenderer) newRenderer)
            .setBaseShapesVisible(dataPointsVisible);
      }

      // Add label generator for the dataset
View Full Code Here

TOP

Related Classes of net.sf.mzmine.modules.visualization.spectra.renderers.ContinuousRenderer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.