Package Layout

Class PamFramePlots

java.lang.Object
Layout.PamFramePlots
Direct Known Subclasses:
ClickDisplay, UserFramePlots

public abstract class PamFramePlots extends Object
Author:
Doug Gillespie

Abstract class PamFramePlots is used to layout graphics windows which have a border (generally grey) and some kind of inner display panel. Normally the outer panel will contain the axis and the inner panel any other graphics, such as a spectrogram.

For an example see SpectrogramDisplay which is a subclass of PamFramePlots SpectrogramDisplay sets axisPanel to a SpectrogramAxis, which is in turn subclassed from PamAxisPanel. it also sets plotPanel to SpectrogramPlotPanel, which is a subclass of JPanel and it sets eastPanel to AmplitudePanel which is used for drawing a colour bar representing amplitude.

See Also:
  • Constructor Details

    • PamFramePlots

      public PamFramePlots()
  • Method Details

    • getName

      public abstract String getName()
      Get a unique name for the display
      Returns:
      a unique name for the display.
    • getFrame

      public PamInternalFrame getFrame()
    • getCopyMenuItem

      public JMenuItem getCopyMenuItem()
    • setFrame

      public void setFrame(PamInternalFrame pamFrame)
    • repaint

      public void repaint(int tm)
      Repaint all windows in the frame plot with delay tm
      Parameters:
      tm - time delay in millis
    • checkDualDisplay

      public boolean checkDualDisplay()
    • getAxisPanel

      public Component getAxisPanel()
    • setAxisPanel

      public void setAxisPanel(Component axisPanel)
    • getEastPanel

      public Component getEastPanel()
    • setEastPanel

      public void setEastPanel(Component eastPanel)
    • getNorthPanel

      public Component getNorthPanel()
    • setNorthPanel

      public void setNorthPanel(Component northPanel)
    • getPlotPanel

      public Component getPlotPanel()
    • setPlotPanel

      public void setPlotPanel(Component plotPanel)
    • getSouthPanel

      public Component getSouthPanel()
    • setSouthPanel

      public void setSouthPanel(Component southPanel)
    • getWestPanel

      public Component getWestPanel()
    • setWestPanel

      public void setWestPanel(Component westPanel)
    • getLeftPlotPanel

      public Component getLeftPlotPanel()
    • setLeftPlotPanel

      public void setLeftPlotPanel(Component leftPlotPanel)
    • getRightPlotPanel

      public Component getRightPlotPanel()
    • setRightPlotPanel

      public void setRightPlotPanel(Component rightPlotPanel)