Package Spectrogram
Class SpectrogramDisplayComponent
java.lang.Object
userDisplay.UserDisplayComponentAdapter
Spectrogram.SpectrogramDisplayComponent
- All Implemented Interfaces:
UserDisplayComponent
Wrap up the spectrogram display so that it can be displayed
using the more modern UserDisplayComponent system.
- Author:
- dg50
-
Constructor Summary
ConstructorDescriptionSpectrogramDisplayComponent
(UserDisplayControl userDisplayControl, SpectrogramParameters spectrogramParameters, String uniqueDisplayName) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Called when the component is removed from the display.Get a title for the frame the component will be added to.void
notifyModelChanged
(int changeType) Pick up model changed notifications from a parent user display.void
Called when the component is first displayed.Methods inherited from class userDisplay.UserDisplayComponentAdapter
getUniqueName, setUniqueName
-
Constructor Details
-
SpectrogramDisplayComponent
public SpectrogramDisplayComponent(UserDisplayControl userDisplayControl, SpectrogramParameters spectrogramParameters, String uniqueDisplayName) - Parameters:
userDisplayControl
-uniqueDisplayName
-
-
-
Method Details
-
getComponent
- Returns:
- The Swing component to add to the frame
-
openComponent
public void openComponent()Description copied from interface:UserDisplayComponent
Called when the component is first displayed.- Specified by:
openComponent
in interfaceUserDisplayComponent
- Overrides:
openComponent
in classUserDisplayComponentAdapter
-
closeComponent
public void closeComponent()Description copied from interface:UserDisplayComponent
Called when the component is removed from the display.- Specified by:
closeComponent
in interfaceUserDisplayComponent
- Overrides:
closeComponent
in classUserDisplayComponentAdapter
-
notifyModelChanged
public void notifyModelChanged(int changeType) Description copied from interface:UserDisplayComponent
Pick up model changed notifications from a parent user display.- Specified by:
notifyModelChanged
in interfaceUserDisplayComponent
- Overrides:
notifyModelChanged
in classUserDisplayComponentAdapter
-
getFrameTitle
Description copied from interface:UserDisplayComponent
Get a title for the frame the component will be added to.- Specified by:
getFrameTitle
in interfaceUserDisplayComponent
- Overrides:
getFrameTitle
in classUserDisplayComponentAdapter
- Returns:
- a title for the components frame.
-