Interface AcousticScrollerGraphics

All Known Implementing Classes:
AcousticDataGramGraphics, FFTScrollBarGraphics, RawScrollBarGraphics

public interface AcousticScrollerGraphics
Handles the graphics for an acopustic scroller.
Author:
Jamie Macaulay
  • Field Details

    • SAMPLE_RATE_CHANGE

      static final int SAMPLE_RATE_CHANGE
      Flag for a sample rate chnage.
      See Also:
  • Method Details

    • getDataBlock

      PamDataBlock getDataBlock()
      The data block represented in the graphics.
      Returns:
      the data block.
    • addNewData

      void addNewData(PamDataUnit rawData)
      Add new data units. These will be used to create graphics
      Parameters:
      rawData - . A dataunit. Can be any type of data unit.
    • repaint

      void repaint()
      Repaint the canvas with the graphics.
    • getName

      String getName()
      Name of the graphics.
      Returns:
      the graphics
    • clearStore

      void clearStore()
      Clear all data in the store.
    • orderOfflineData

      boolean orderOfflineData()
      True if the data block requires offline loading of data.
    • setColors

      void setColors(Plot2DColours specColors)
      Set colours for the datagram.
      Parameters:
      specColors -
    • getColors

      Plot2DColours getColors()
      Set colours for the datagram.
      Parameters:
      specColors -
    • notifyUpdate

      void notifyUpdate(int flag)
      Notifies of updates form the acoustic scroller.
      Parameters:
      flag - - the update flag.