public interface DisplayPanelContainer
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
DisplayPanel
,
DisplayPanelProvider
,
DisplayProviderList
,
SpectrogramDisplay
Modifier and Type | Field and Description |
---|---|
static int |
DRAW_BORDER |
Modifier and Type | Method and Description |
---|---|
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.
|
boolean |
wrapDisplay() |
static final int DRAW_BORDER
double getXDuration()
long getCurrentXTime()
double getCurrentXPixel()
boolean wrapDisplay()
void panelNotify(int noteType)
noteType
-