Class ProteinFractionsPanel

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
eu.isas.peptideshaker.gui.tabpanels.ProteinFractionsPanel
All Implemented Interfaces:
ProteinSequencePanelParent, ImageObserver, MenuContainer, Serializable, Accessible

public class ProteinFractionsPanel extends JPanel implements ProteinSequencePanelParent
Displays information about which fractions the peptides and proteins were detected in.
Author:
Marc Vaudel, Harald Barsnes
See Also:
  • Constructor Details

    • ProteinFractionsPanel

      public ProteinFractionsPanel(PeptideShakerGUI peptideShakerGUI)
      Creates a new ProteinFractionsPanel.
      Parameters:
      peptideShakerGUI - the PeptideShakerGUI parent
  • Method Details

    • displayResults

      public void displayResults()
      Display the results.
    • updateSelection

      public void updateSelection()
      Update the selected protein and peptide.
    • clearData

      public void clearData()
      Clear all the data.
    • showSparkLines

      public void showSparkLines(boolean showSparkLines)
      Displays or hide sparklines in the tables.
      Parameters:
      showSparkLines - boolean indicating whether sparklines shall be displayed or hidden
    • newItemSelection

      public void newItemSelection()
      Provides to the PeptideShakerGUI instance the currently selected protein, peptide and PSM.
    • getDisplayedProteins

      public long[] getDisplayedProteins()
      Returns a list of keys of the displayed proteins.
      Returns:
      a list of keys of the displayed proteins
    • getDisplayedPeptides

      public long[] getDisplayedPeptides()
      Returns a list of keys of the displayed peptides.
      Returns:
      a list of keys of the displayed peptides
    • annotationClicked

      public void annotationClicked(ArrayList<ResidueAnnotation> allAnnotation, org.jfree.chart.ChartMouseEvent cme)
      Specified by:
      annotationClicked in interface ProteinSequencePanelParent
    • updateScores

      public void updateScores()
      Hides or displays the score column in the protein table.
    • selfUpdating

      public void selfUpdating(boolean selfUpdating)
      Deactivates the self updating tables.
      Parameters:
      selfUpdating - boolean indicating whether the tables should update their content