Package Localiser.controls
Class RawOrFFTParams
java.lang.Object
Localiser.controls.RawOrFFTParams
- All Implemented Interfaces:
Serializable
,Cloneable
,RawOrFFTParamsInterface
,ManagedParameters
public class RawOrFFTParams
extends Object
implements Serializable, Cloneable, RawOrFFTParamsInterface, ManagedParameters
Parameters to use when a data source can be either raw or fft data.
invalid input: '<'br for use with RawOrFFTPane dialog component. Should be embedded in
more complex dialog components.
- Author:
- dg50
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
Get a set of data that describes all of the parameters in a classint
void
setFftHop
(int fftHop) void
setFftLength
(int fftLength) void
setSourceName
(String sourceName) void
setWindowFunction
(int windowFunction)
-
Field Details
-
serialVersionUID
public static final long serialVersionUID- See Also:
-
-
Constructor Details
-
RawOrFFTParams
public RawOrFFTParams()
-
-
Method Details
-
getSourceName
- Specified by:
getSourceName
in interfaceRawOrFFTParamsInterface
- Returns:
- the sourceName
-
setSourceName
- Specified by:
setSourceName
in interfaceRawOrFFTParamsInterface
- Parameters:
sourceName
- the sourceName to set
-
getFftLength
public int getFftLength()- Specified by:
getFftLength
in interfaceRawOrFFTParamsInterface
- Returns:
- the fftLength
-
setFftLength
public void setFftLength(int fftLength) - Specified by:
setFftLength
in interfaceRawOrFFTParamsInterface
- Parameters:
fftLength
- the fftLength to set
-
getFftHop
public int getFftHop()- Specified by:
getFftHop
in interfaceRawOrFFTParamsInterface
- Returns:
- the fftHop
-
setFftHop
public void setFftHop(int fftHop) - Specified by:
setFftHop
in interfaceRawOrFFTParamsInterface
- Parameters:
fftHop
- the fftHop to set
-
getWindowFunction
public int getWindowFunction()- Specified by:
getWindowFunction
in interfaceRawOrFFTParamsInterface
- Returns:
- the windowFunction
-
setWindowFunction
public void setWindowFunction(int windowFunction) - Specified by:
setWindowFunction
in interfaceRawOrFFTParamsInterface
- Parameters:
windowFunction
- the windowFunction to set
-
getParameterSet
Description copied from interface:ManagedParameters
Get a set of data that describes all of the parameters in a class- Specified by:
getParameterSet
in interfaceManagedParameters
- Returns:
- description of the parameters in a class.
-