Package clickDetector
Class IDI_DisplayParams
java.lang.Object
clickDetector.IDI_DisplayParams
- All Implemented Interfaces:
 Serializable,Cloneable,ManagedParameters
Parameters for the IDI Display
- Author:
 - Michael Oswald
 - See Also:
 
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected IDI_DisplayParamsclone()intReturns the scale of the IDI bins (horizontal axis), in milliseconds/binintReturns the scale of the IDI bins (horizontal axis), in milliseconds/binintGets the highest histogram count in the high-resolution colour barintReturns the highest IDI bin number (horizontal axis) of the high- resolution histogram, in millisecondsintGets the highest histogram count in the low-resolution colour barintReturns the highest IDI bin number (horizontal axis) of the low- resolution histogram, in millisecondsintGets the highest time bin value in the vertical axisGet a set of data that describes all of the parameters in a classstatic longintReturns the size (along the vertical axis) of the time bins, in milliseconds.booleanvoidsetHighResIdiBinScale(int idiBin) Sets the size (along the horizontal axis) of the IDI bins, in milliseconds/binvoidsetLowResIdiBinScale(int idiBin) Sets the size (along the horizontal axis) of the IDI bins, in milliseconds/binvoidsetMaxHighCount(int maxHighCount) Sets the highest histogram count in the high-resolution colour barvoidsetMaxHighResBin(int maxHighRes) Sets the highest IDI bin number (horizontal axis) of the high- resolution histogram, in millisecondsvoidsetMaxLowCount(int maxLowCount) Sets the highest histogram count in the low-resolution colour barvoidsetMaxLowResBin(int maxLowRes) Sets the highest IDI bin number (horizontal axis) of the low- resolution histogram, in millisecondsvoidsetMaxTimeBin(int maxTimeBin) Sets the highest time bin value to display in the vertical axisvoidsetOutputFilename(File outputFilename) voidsetSaveOutput(boolean saveOutput) voidsetTimeBinScale(int timeBin) Sets the size (along the vertical axis) of the time bins, in milliseconds. 
- 
Field Details
- 
serialVersionUID
public static final long serialVersionUIDfor serialization- See Also:
 
 
 - 
 - 
Constructor Details
- 
IDI_DisplayParams
public IDI_DisplayParams()Constructor 
 - 
 - 
Method Details
- 
getHighResIdiBinScale
public int getHighResIdiBinScale()Returns the scale of the IDI bins (horizontal axis), in milliseconds/bin- Returns:
 - width of IDI bins in milliseconds/bin
 
 - 
setHighResIdiBinScale
public void setHighResIdiBinScale(int idiBin) Sets the size (along the horizontal axis) of the IDI bins, in milliseconds/bin- Parameters:
 idiBin- width of IDI bins in milliseconds/bin
 - 
getLowResIdiBinScale
public int getLowResIdiBinScale()Returns the scale of the IDI bins (horizontal axis), in milliseconds/bin- Returns:
 - width of IDI bins in milliseconds/bin
 
 - 
setLowResIdiBinScale
public void setLowResIdiBinScale(int idiBin) Sets the size (along the horizontal axis) of the IDI bins, in milliseconds/bin- Parameters:
 idiBin- width of IDI bins in milliseconds/bin
 - 
getMaxHighResBin
public int getMaxHighResBin()Returns the highest IDI bin number (horizontal axis) of the high- resolution histogram, in milliseconds- Returns:
 - highest IDI bin number of high-res graph, in milliseconds
 
 - 
setMaxHighResBin
public void setMaxHighResBin(int maxHighRes) Sets the highest IDI bin number (horizontal axis) of the high- resolution histogram, in milliseconds- Parameters:
 maxHighResBin- highest IDI bin number of high-res graph, in milliseconds
 - 
getMaxLowResBin
public int getMaxLowResBin()Returns the highest IDI bin number (horizontal axis) of the low- resolution histogram, in milliseconds- Returns:
 - highest IDI bin number of low-res graph, in milliseconds
 
 - 
setMaxLowResBin
public void setMaxLowResBin(int maxLowRes) Sets the highest IDI bin number (horizontal axis) of the low- resolution histogram, in milliseconds- Parameters:
 maxLowRes- highest IDI bin number of low-res graph, in milliseconds
 - 
getTimeBinScale
public int getTimeBinScale()Returns the size (along the vertical axis) of the time bins, in milliseconds. This is the value used to set the timer; whenever the timer reaches this value, the histogram data is compiled and displayed as a new line on the chart.- Returns:
 - size of time bins, in milliseconds
 
 - 
setTimeBinScale
public void setTimeBinScale(int timeBin) Sets the size (along the vertical axis) of the time bins, in milliseconds. This is the value used to set the timer; whenever the timer reaches this value, the histogram data is compiled and displayed as a new line on the chart.- Parameters:
 timeBin- size of the time bins, in milliseconds
 - 
getMaxHighCount
public int getMaxHighCount()Gets the highest histogram count in the high-resolution colour bar- Returns:
 - histogram count corresponding to the red color
 
 - 
setMaxHighCount
public void setMaxHighCount(int maxHighCount) Sets the highest histogram count in the high-resolution colour bar- Parameters:
 histogram- count corresponding to the red color
 - 
getMaxLowCount
public int getMaxLowCount()Gets the highest histogram count in the low-resolution colour bar- Returns:
 - histogram count corresponding to the red color
 
 - 
setMaxLowCount
public void setMaxLowCount(int maxLowCount) Sets the highest histogram count in the low-resolution colour bar- Parameters:
 histogram- count corresponding to the red color
 - 
getMaxTimeBin
public int getMaxTimeBin()Gets the highest time bin value in the vertical axis- Returns:
 - the largest time bin to display, in milliseconds
 
 - 
setMaxTimeBin
public void setMaxTimeBin(int maxTimeBin) Sets the highest time bin value to display in the vertical axis- Parameters:
 maxTimeBin- the largest time bin to display on the vertical axis, in milliseconds
 - 
getOutputFilename
 - 
setOutputFilename
 - 
isOutputSaved
public boolean isOutputSaved() - 
setSaveOutput
public void setSaveOutput(boolean saveOutput)  - 
clone
 - 
getSerialVersionUID
public static long getSerialVersionUID() - 
getParameterSet
Description copied from interface:ManagedParametersGet a set of data that describes all of the parameters in a class- Specified by:
 getParameterSetin interfaceManagedParameters- Returns:
 - description of the parameters in a class.
 
 
 -