Package gpl.swing

Class GPLDisplayPanel

java.lang.Object
Layout.DisplayPanel
gpl.swing.GPLDisplayPanel

public class GPLDisplayPanel extends DisplayPanel
  • Constructor Details

  • Method Details

    • destroyPanel

      public void destroyPanel()
      Description copied from class: DisplayPanel
      The displayPanelContainer should call destroyPanel when the panel is no longer required so that the displayPanel can unsubscribe to any data it was observing.
      Specified by:
      destroyPanel in class DisplayPanel
    • containerNotification

      public void containerNotification(DisplayPanelContainer displayContainer, int noteType)
      Description copied from class: DisplayPanel
      Called by the DisplayPanelContainer whenever the scales change - e.g. every time new data is drawn on the spectrogram.

      The display panel can use this information in two ways:

      Firstly, it should clear the region of the display just ahead of the current spectrogram x coordinate. Secondly, it may draw additional data on the display.

      Specified by:
      containerNotification in class DisplayPanel
    • prepareImage

      public void prepareImage()
      Description copied from class: DisplayPanel
      Called just before the image is drawn so that it can be drawn on.
      Overrides:
      prepareImage in class DisplayPanel
    • getWestAxis

      public PamAxis getWestAxis()
      Overrides:
      getWestAxis in class DisplayPanel