public class NoiseBandControl extends PamControlledUnit implements PamSettings
Constructor and Description |
---|
NoiseBandControl(java.lang.String unitName)
Third octave band centres using exact base 2 option
from ANSI S1.11-2004
|
Modifier and Type | Method and Description |
---|---|
javax.swing.JMenuItem |
createDetectionMenu(java.awt.Frame parentFrame)
Create a JMenu object containing MenuItems associated with PamProcesses
|
int[] |
getDecimatorIndexes() |
NoiseBandProcess |
getNoiseBandProcess() |
NoiseBandSettings |
getNoiseBandSettings() |
java.io.Serializable |
getSettingsReference() |
long |
getSettingsVersion() |
PamTabPanel |
getTabPanel()
Gets a reference to a panel to be added to a view
|
java.util.ArrayList<FilterMethod> |
makeBandFilters(NoiseBandSettings noiseSettings,
java.util.ArrayList<FilterMethod> decimationFilters,
double topSampleRate) |
java.util.ArrayList<FilterMethod> |
makeDecimatorFilters(NoiseBandSettings noiseSettings,
double sampleRate) |
void |
notifyModelChanged(int changeType)
General notification when the PAMGAURD model changes.
|
boolean |
restoreSettings(PamControlledUnitSettings pamControlledUnitSettings) |
void |
settingsMenu(java.awt.Frame parentFrame) |
addOfflineTaskGroup, addOtherRelatedMenuItems, addPamProcess, addRelatedMenuItems, addXMLParameter, addXMLParameter, addXMLParameter, addXMLParameter, canClose, canPlayViewerSound, createDisplayMenu, createFileMenu, createHelpMenu, fillXMLElement, flushDataBlockBuffers, getFrameNumber, getGuiFrame, getModuleSummary, getNumOfflineTaskGroups, getNumPamProcesses, getOfflineTaskGroup, getPamController, getPamModuleInfo, getPamProcess, getPamView, getShortUnitType, getSidePanel, getTabClipCopier, getTabSpecificMenuBar, getToolbarComponent, getUnitName, getUnitType, getVerboseLevel, gotoTab, isViewer, pamClose, pamHasStopped, pamToStart, playViewerSound, removePamProcess, removeUnit, rename, saveViewerData, setFrameNumber, setPamController, setPamModuleInfo, setPamView, setSidePanel, setTabPanel, setupControlledUnit, stopViewerSound, terminalPrint, terminalPrintln, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getUnitName, getUnitType
public NoiseBandControl(java.lang.String unitName)
public NoiseBandSettings getNoiseBandSettings()
public NoiseBandProcess getNoiseBandProcess()
public PamTabPanel getTabPanel()
PamControlledUnit
getTabPanel
in class PamControlledUnit
PamTabPanel
,
PamSidePanel
public javax.swing.JMenuItem createDetectionMenu(java.awt.Frame parentFrame)
PamControlledUnit
createDetectionMenu
in class PamControlledUnit
parentFrame
- The owner frame of the menuNote that if multiple views are to use the same menu, then they should each create a new menu (by setting Create to true) the first time they call this method.
public void settingsMenu(java.awt.Frame parentFrame)
public java.util.ArrayList<FilterMethod> makeDecimatorFilters(NoiseBandSettings noiseSettings, double sampleRate)
public java.util.ArrayList<FilterMethod> makeBandFilters(NoiseBandSettings noiseSettings, java.util.ArrayList<FilterMethod> decimationFilters, double topSampleRate)
public int[] getDecimatorIndexes()
public java.io.Serializable getSettingsReference()
getSettingsReference
in interface PamSettings
public long getSettingsVersion()
getSettingsVersion
in interface PamSettings
public boolean restoreSettings(PamControlledUnitSettings pamControlledUnitSettings)
restoreSettings
in interface PamSettings
public void notifyModelChanged(int changeType)
PamControlledUnit
notifyModelChanged
in class PamControlledUnit
changeType
- type of change