spectrogramNoiseReduction
Class SpectrogramNoiseDialogPanel
java.lang.Object
spectrogramNoiseReduction.SpectrogramNoiseDialogPanel
public class SpectrogramNoiseDialogPanel
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
p
private javax.swing.JPanel p
spectrogramNoiseProcess
private SpectrogramNoiseProcess spectrogramNoiseProcess
methods
private java.util.ArrayList<SpecNoiseMethod> methods
enableMethod
private javax.swing.JCheckBox[] enableMethod
dataSource
private PamDataBlock dataSource
sourcePanel
private SourcePanel sourcePanel
SpectrogramNoiseDialogPanel
public SpectrogramNoiseDialogPanel(SpectrogramNoiseProcess spectrogramNoiseProcess)
getPanel
public java.awt.Component getPanel()
setSourcePanel
public void setSourcePanel(SourcePanel sourcePanel)
- Set a source panel so that the dialog panel can respond to source changes.
- Parameters:
sourcePanel - sourcepanel.
setSource
public void setSource(PamDataBlock sourceDataBlock)
setParams
public void setParams(SpectrogramNoiseSettings spectrogramNoiseSettings)
getParams
public boolean getParams(SpectrogramNoiseSettings spectrogramNoiseSettings)
enableControls
public void enableControls()
alreadyDone
private boolean alreadyDone(SpecNoiseMethod noiseMethod)
hasProcessed
public boolean hasProcessed(int iMethod)
- Will return true for a method if either this panel has the method selected OR
the source data has already had that method applied.
- Parameters:
iMethod -
- Returns:
- true if the method has been selected.