Class ProteinAnnotations

java.lang.Object
eu.isas.peptideshaker.gui.protein_sequence.ProteinAnnotations
All Implemented Interfaces:
org.jfree.chart.labels.CategoryToolTipGenerator

public class ProteinAnnotations extends Object implements org.jfree.chart.labels.CategoryToolTipGenerator
This class generates the tooltips for a ProteinSequencePanel.
Author:
Harald Barsnes
  • Constructor Details

    • ProteinAnnotations

      public ProteinAnnotations(HashMap<Integer,ArrayList<ResidueAnnotation>> proteinAnnotations)
      Create a new ProteinAnnotations object.
      Parameters:
      proteinAnnotations - a list of the protein residue annotations
  • Method Details

    • generateToolTip

      public String generateToolTip(org.jfree.data.category.CategoryDataset cd, int index, int i1)
      Specified by:
      generateToolTip in interface org.jfree.chart.labels.CategoryToolTipGenerator