Spectrogram
Class SpectrogramParameters

java.lang.Object
  extended by userDisplay.UserFrameParameters
      extended by Spectrogram.SpectrogramParameters
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class SpectrogramParameters
extends UserFrameParameters
implements java.io.Serializable, java.lang.Cloneable

These are the parameter settings for a single spectrogram window, note tha a single spectrogram tab may have multiple windows

Author:
Doug Gillespie

See Also:
Serialized Form

Field Summary
 double[] amplitudeLimits
          Limits of amplitude range
 boolean autoScaleWaveform
           
 int[] channelList
           
private  ColourArray.ColourArrayType colourMap
          Type of colour scheme for spectrogram.
 double displayLength
          Display length in seconds.
 int fftBlockIndex
           
 double[] frequencyLimits
          Frequency limits for display
 int nPanels
           
 int pixelsPerSlics
          Used if timeScaleFixed is false to set the scale
(package private) static long serialVersionUID
           
private  boolean[][] showDetector
           
 boolean[] showPluginDisplay
           
 boolean showScale
           
 boolean showWaveform
          Also show the waveform display under the spectrogram
 java.lang.String sourceName
           
 double splitDividerLocation
           
 boolean timeScaleFixed
          Fixed time scale, if this is false, then it's based on the number of pixels and a set number of slices per pixel
 boolean[] useSpectrogramMarkObserver
           
 java.lang.String windowName
           
 boolean wrapDisplay
          Wraps display if this is true (defalt)
 
Fields inherited from class userDisplay.UserFrameParameters
boundingRectangle
 
Constructor Summary
SpectrogramParameters()
           
 
Method Summary
private  void checkShowDetectorSize(int nPanels, int nItems)
           
 SpectrogramParameters clone()
           
 ColourArray.ColourArrayType getColourMap()
           
 boolean getShowDetector(int panelId, int itemId)
           
 void setColourMap(ColourArray.ColourArrayType colourMap)
           
 void setShowDetector(int panelId, int itemId, boolean showDetector)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values

sourceName

public java.lang.String sourceName

windowName

public java.lang.String windowName

fftBlockIndex

public int fftBlockIndex

nPanels

public int nPanels

splitDividerLocation

public double splitDividerLocation

channelList

public int[] channelList

frequencyLimits

public double[] frequencyLimits
Frequency limits for display


amplitudeLimits

public double[] amplitudeLimits
Limits of amplitude range


colourMap

private ColourArray.ColourArrayType colourMap
Type of colour scheme for spectrogram.


wrapDisplay

public boolean wrapDisplay
Wraps display if this is true (defalt)


timeScaleFixed

public boolean timeScaleFixed
Fixed time scale, if this is false, then it's based on the number of pixels and a set number of slices per pixel


displayLength

public double displayLength
Display length in seconds.


pixelsPerSlics

public int pixelsPerSlics
Used if timeScaleFixed is false to set the scale


showScale

public boolean showScale

showWaveform

public boolean showWaveform
Also show the waveform display under the spectrogram


autoScaleWaveform

public boolean autoScaleWaveform

showDetector

private boolean[][] showDetector

showPluginDisplay

public boolean[] showPluginDisplay

useSpectrogramMarkObserver

public boolean[] useSpectrogramMarkObserver
Constructor Detail

SpectrogramParameters

public SpectrogramParameters()
Method Detail

getColourMap

public ColourArray.ColourArrayType getColourMap()

setColourMap

public void setColourMap(ColourArray.ColourArrayType colourMap)

getShowDetector

public boolean getShowDetector(int panelId,
                               int itemId)

setShowDetector

public void setShowDetector(int panelId,
                            int itemId,
                            boolean showDetector)

checkShowDetectorSize

private void checkShowDetectorSize(int nPanels,
                                   int nItems)

clone

public SpectrogramParameters clone()
Overrides:
clone in class java.lang.Object