Package userDisplay

Class UserDisplayTabPanelControl

java.lang.Object
userDisplay.UserDisplayTabPanelControl
All Implemented Interfaces:
PamTabPanel

public class UserDisplayTabPanelControl extends Object implements PamTabPanel
  • Method Details

    • addUserDisplay

      public void addUserDisplay(UserDisplayProvider userDisplayProvider, DisplayProviderParameters dpParams)
      Ad a display generated by a different module
      Parameters:
      userDisplayProvider -
      dpParams -
    • getSettingsReference

      public Serializable getSettingsReference()
    • notifyModelChanged

      public void notifyModelChanged(int changeType)
    • createMenu

      public JMenu createMenu(Frame parentFrame)
      Specified by:
      createMenu in interface PamTabPanel
      Returns:
      a JMeny for the panel
    • getPanel

      public JComponent getPanel()
      Specified by:
      getPanel in interface PamTabPanel
      Returns:
      Reference to a graphics component that can be added to the view. This will typically be a JPanel or a JInternalFrame;
    • getToolBar

      public JToolBar getToolBar()
      Specified by:
      getToolBar in interface PamTabPanel
      Returns:
      a JToolbas associated with this tab. This will only be displayed when the current tab is activated
    • canPlayViewerSound

      public boolean canPlayViewerSound()
    • playViewerSound

      public void playViewerSound()
    • findFirstSpectrogram

      public SpectrogramDisplay findFirstSpectrogram()
    • removeAllDisplays

      public void removeAllDisplays()
      Remove all displays without saving any of them. Needed for successful import only - generally does nothing.