spectrogramNoiseReduction
Class SpectrogramNoiseDialogPanel

java.lang.Object
  extended by spectrogramNoiseReduction.SpectrogramNoiseDialogPanel

public class SpectrogramNoiseDialogPanel
extends java.lang.Object


Nested Class Summary
(package private)  class SpectrogramNoiseDialogPanel.CheckEnable
           
private  class SpectrogramNoiseDialogPanel.SourceListener
           
 
Field Summary
private  PamDataBlock dataSource
           
private  javax.swing.JCheckBox[] enableMethod
           
private  java.util.ArrayList<SpecNoiseMethod> methods
           
private  javax.swing.JPanel p
           
private  SourcePanel sourcePanel
           
private  SpectrogramNoiseProcess spectrogramNoiseProcess
           
 
Constructor Summary
SpectrogramNoiseDialogPanel(SpectrogramNoiseProcess spectrogramNoiseProcess)
           
 
Method Summary
private  boolean alreadyDone(SpecNoiseMethod noiseMethod)
           
 void enableControls()
           
 java.awt.Component getPanel()
           
 boolean getParams(SpectrogramNoiseSettings spectrogramNoiseSettings)
           
 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.
 void setParams(SpectrogramNoiseSettings spectrogramNoiseSettings)
           
 void setSource(PamDataBlock sourceDataBlock)
           
 void setSourcePanel(SourcePanel sourcePanel)
          Set a source panel so that the dialog panel can respond to source changes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

SpectrogramNoiseDialogPanel

public SpectrogramNoiseDialogPanel(SpectrogramNoiseProcess spectrogramNoiseProcess)
Method Detail

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.