Package Layout
Class PamFramePlots
java.lang.Object
Layout.PamFramePlots
- Direct Known Subclasses:
ClickDisplay
,UserFramePlots
- 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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getFrame()
abstract String
getName()
Get a unique name for the displayvoid
repaint
(int tm) Repaint all windows in the frame plot with delay tmvoid
setAxisPanel
(Component axisPanel) void
setEastPanel
(Component eastPanel) void
setFrame
(PamInternalFrame pamFrame) void
setLeftPlotPanel
(Component leftPlotPanel) void
setNorthPanel
(Component northPanel) void
setPlotPanel
(Component plotPanel) void
setRightPlotPanel
(Component rightPlotPanel) void
setSouthPanel
(Component southPanel) void
setWestPanel
(Component westPanel)
-
Constructor Details
-
PamFramePlots
public PamFramePlots()
-
-
Method Details
-
getName
Get a unique name for the display- Returns:
- a unique name for the display.
-
getFrame
-
getCopyMenuItem
-
setFrame
-
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
-
setAxisPanel
-
getEastPanel
-
setEastPanel
-
getNorthPanel
-
setNorthPanel
-
getPlotPanel
-
setPlotPanel
-
getSouthPanel
-
setSouthPanel
-
getWestPanel
-
setWestPanel
-
getLeftPlotPanel
-
setLeftPlotPanel
-
getRightPlotPanel
-
setRightPlotPanel
-