Package net.sf.mzmine.util.components

Examples of net.sf.mzmine.util.components.PeakXICComponent


        default :
          maxHeight = peak.getRawDataPointsIntensityRange().getMax();
          break;
      }

      PeakXICComponent xic = new PeakXICComponent(peak, maxHeight);

      newPanel.add(xic);

      newPanel.setToolTipText(xic.getToolTipText());

    }

    if (value instanceof PeakListRow) {

      PeakListRow plRow = (PeakListRow) value;

      RawDataFile[] dataFiles = peakList.getRawDataFiles();
      ChromatographicPeak[] peaks = new ChromatographicPeak[dataFiles.length];
      for (int i = 0; i < dataFiles.length; i++) {
        peaks[i] = plRow.getPeak(dataFiles[i]);
      }

      CombinedXICComponent xic = new CombinedXICComponent(peaks,
          plRow.getID());

      newPanel.add(xic);

      newPanel.setToolTipText(xic.getToolTipText());

    }

    return newPanel;
View Full Code Here


        + MZmineCore.getConfiguration().getMZFormat()
            .format(row.getAverageMZ()) + " m/z ";
    JLabel textComponent = new JLabel(labelText);
    textComponent.setFont(combo.getFont());

    PeakXICComponent shapeComponent = new PeakXICComponent(peak);
    shapeComponent.setBorder(null);

    JPanel panel = new JPanel(new BorderLayout());

    panel.setOpaque(true);
    if (isSelected) {
View Full Code Here

TOP

Related Classes of net.sf.mzmine.util.components.PeakXICComponent

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.