Package gpl.swing
Class GPLDisplayPanel
java.lang.Object
Layout.DisplayPanel
gpl.swing.GPLDisplayPanel
- 
Field Summary
Fields inherited from class Layout.DisplayPanel
displayPanelContainer, displayPanelProvider, plotBackground - 
Constructor Summary
ConstructorsConstructorDescriptionGPLDisplayPanel(GPLControlledUnit gplControl, DisplayPanelProvider displayPanelProvider, DisplayPanelContainer displayPanelContainer)  - 
Method Summary
Modifier and TypeMethodDescriptionvoidcontainerNotification(DisplayPanelContainer displayContainer, int noteType) Called by the DisplayPanelContainer whenever the scales change - e.g.voidThe displayPanelContainer should call destroyPanel when the panel is no longer required so that the displayPanel can unsubscribe to any data it was observing.voidCalled just before the image is drawn so that it can be drawn on.Methods inherited from class Layout.DisplayPanel
clearImage, clearImage, clearImage, createPopupMenu, getDisplayImage, getDisplayPanelContainer, getDisplayPanelProvider, getEastAxis, getInnerHeight, getInnerPanel, getInnerWidth, getNorthAxis, getPanel, getPanelBorder, getSouthAxis, repaint, repaint, setPanelBorder, spectrogramMousePosition 
- 
Constructor Details
- 
GPLDisplayPanel
public GPLDisplayPanel(GPLControlledUnit gplControl, DisplayPanelProvider displayPanelProvider, DisplayPanelContainer displayPanelContainer)  
 - 
 - 
Method Details
- 
destroyPanel
public void destroyPanel()Description copied from class:DisplayPanelThe displayPanelContainer should call destroyPanel when the panel is no longer required so that the displayPanel can unsubscribe to any data it was observing.- Specified by:
 destroyPanelin classDisplayPanel
 - 
containerNotification
Description copied from class:DisplayPanelCalled by the DisplayPanelContainer whenever the scales change - e.g. every time new data is drawn on the spectrogram.The display panel can use this information in two ways:
Firstly, it should clear the region of the display just ahead of the current spectrogram x coordinate. Secondly, it may draw additional data on the display.
- Specified by:
 containerNotificationin classDisplayPanel- Parameters:
 displayContainer-noteType-
 - 
prepareImage
public void prepareImage()Description copied from class:DisplayPanelCalled just before the image is drawn so that it can be drawn on.- Overrides:
 prepareImagein classDisplayPanel
 - 
getWestAxis
- Overrides:
 getWestAxisin classDisplayPanel
 
 -