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:
DisplayPanel, DisplayPanelProvider, DisplayProviderList, SpectrogramDisplay

Field Summary
static int DRAW_BORDER
           
 
Method Summary
 double getCurrentXPixel()
          current pixel (need not be integer !
 long getCurrentXTime()
          get the time at the cursor in milliseconds
 double getXDuration()
          get the display duration in milliseconds
 void panelNotify(int noteType)
          notification from a display panel that it's necessary to perform some action - such as redrawing axis.
 

Field Detail

DRAW_BORDER

static final int DRAW_BORDER
See Also:
Constant Field Values
Method Detail

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 !


panelNotify

void panelNotify(int noteType)
notification from a display panel that it's necessary to perform some action - such as redrawing axis.

Parameters:
noteType -