Class SpectraPanel

All Implemented Interfaces:
MouseListener, MouseMotionListener, ImageObserver, MenuContainer, Serializable, EventListener

public class SpectraPanel extends PlotGraph implements MouseListener, MouseMotionListener

Implements a component that can display a single or multi-frame spectra in a single panel, over an optional background image, with scrolling through frames of a multi-frame spectra, resizing to the size of the panel, feedback of cursor position status.

See Also:
  • Constructor Details

    • SpectraPanel

      public SpectraPanel(float[][] srcSpectra, int nTilesPerColumn, int nTilesPerRow, float minimum, float maximum, GeometryOfVolume spectroscopyGeometry, SpectroscopyVolumeLocalization spectroscopyVolumeLocalization, EventContext typeOfPanelEventContext, EventContext backgroundImageEventContext)

      Build a panel in which to display the supplied spectra.

      Parameters:
      srcSpectra - the spectra to display
      nTilesPerColumn - the number of tiles per column
      nTilesPerRow - the number of tiles per row
      minimum - the minimum data value to display (bottom of a tile)
      maximum - the maximum data value to display (top of a tile)
      spectroscopyGeometry - the 3D location of the acquired spectroscopy data
      spectroscopyVolumeLocalization - the 3D localization performed prior to acquisition of the spectroscopy data
      typeOfPanelEventContext -
      backgroundImageEventContext -
  • Method Details