Class GraphicsPanelTableCellRenderer

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JLabel
com.compomics.util.gui.renderers.GraphicsPanelTableCellRenderer
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, SwingConstants, TableCellRenderer

public class GraphicsPanelTableCellRenderer extends JLabel implements TableCellRenderer
A table cell renderer for GraphicsPanels.
Draws miniature versions of the graphics panels with reduced padding. All graphics panels are also rescaled to use the same x-axis range.
Author:
Harald Barsnes
See Also:
  • Constructor Details

    • GraphicsPanelTableCellRenderer

      public GraphicsPanelTableCellRenderer()
      Empty default constructor
    • GraphicsPanelTableCellRenderer

      public GraphicsPanelTableCellRenderer(double minXAxisValue, double maxXAxisValue)
      Create a new GraphicsPanelTableCellRenderer with a given x-axis range to ensure that all spectra in the column have the same range.
      Parameters:
      minXAxisValue - the minimum x-axis value
      maxXAxisValue - the maximum x-axis value
  • Method Details