Interface AcousticScrollerGraphics

All Known Implementing Classes:
AcousticDataGramGraphics, FFTScrollBarGraphics, RawScrollBarGraphics

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

    • SAMPLE_RATE_CHANGE Link icon

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

    • getDataBlock Link icon

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

      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 Link icon

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

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

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

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

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

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

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