Package Layout
Interface DisplayPanelContainer
- All Known Implementing Classes:
SpectrogramDisplay
public interface DisplayPanelContainer
DisplayPanelContainer is an interface implemented by graphics components
which have the ability to incorporate DisplayPanels from other Pamguard
modules.
Each DisplayPanelProvider privides a reference to a JPanel that the DisplayPanelContainer is responsible for incorporating into a display and sizing appropriately.
The DisplayPanelContiner is responsible for all timing (along the x axis of the display) and the plug in panel will use these funtions to get appropriate time / scale information.
DisplayPanelContainer is currently only implemented in the spectrogram display
- Author:
- Doug Gillespie
- See Also:
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
current pixel (need not be integer !long
get the time at the cursor in millisecondsdouble
get the display duration in millisecondsvoid
panelNotify
(int noteType) notification from a display panel that it's necessary to perform some action - such as redrawing axis.boolean
-
Field Details
-
DRAW_BORDER
static final int DRAW_BORDER- See Also:
-
-
Method Details
-
getXDuration
double getXDuration()get the display duration in milliseconds -
getCurrentXTime
long getCurrentXTime()get the time at the cursor in milliseconds -
getCurrentXPixel
double getCurrentXPixel()current pixel (need not be integer ! -
wrapDisplay
boolean wrapDisplay()- Returns:
- true if the display wraps (rather than scrolls).
-
panelNotify
void panelNotify(int noteType) notification from a display panel that it's necessary to perform some action - such as redrawing axis.- Parameters:
noteType
-
-