marf.gui
Class WaveGrapher

java.lang.Object
  extended by marf.Storage.StorageManager
      extended by marf.gui.WaveGrapher
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, IStorageManager

public class WaveGrapher
extends StorageManager

Class WaveGrapher.

$Id: WaveGrapher.java,v 1.16 2007/12/18 03:45:42 mokhov Exp $

Since:
0.0.1
Version:
$Revision: 1.16 $
Author:
Stephen Sinclair
See Also:
Serialized Form

Field Summary
private  double[] adDataArray
          Data to graph.
private  double dXmax
          Range of data for the X axis -- Maximum.
private  double dXmin
          Range of data for the X axis -- Minimum.
private static long serialVersionUID
          For serialization versioning.
 
Fields inherited from class marf.Storage.StorageManager
bDumpOnNotFound, iCurrentDumpMode, oObjectToSerialize, strFilename
 
Fields inherited from interface marf.Storage.IStorageManager
DUMP_BINARY, DUMP_CSV_TEXT, DUMP_GZIP_BINARY, DUMP_HTML, DUMP_SQL, DUMP_XML, MARF_INTERFACE_CODE_REVISION, STORAGE_FILE_EXTENSIONS
 
Constructor Summary
WaveGrapher(double[] padData, double pdMin, double pdMax, java.lang.String pstrName, java.lang.String pstrDescriptor)
          Constructor.
 
Method Summary
 void dump()
          Dumps graph of wave in the CSV format.
static java.lang.String getMARFSourceCodeRevision()
          Returns source code revision information.
 void restore()
          Not implemented.
 
Methods inherited from class marf.Storage.StorageManager
backSynchronizeObject, clone, dumpBinary, dumpCSV, dumpGzipBinary, dumpHTML, dumpSQL, dumpXML, enableDumpOnNotFound, equals, getDefaultExtension, getDefaultExtension, getDumpMode, getFilename, getObjectToSerialize, hashCode, restoreBinary, restoreCSV, restoreGzipBinary, restoreHTML, restoreSQL, restoreXML, setDumpMode, setFilename, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
For serialization versioning. When adding new members or make other structural changes regenerate this number with the serialver tool that comes with JDK.

Since:
0.3.0.4
See Also:
Constant Field Values

adDataArray

private double[] adDataArray
Data to graph.


dXmin

private double dXmin
Range of data for the X axis -- Minimum.


dXmax

private double dXmax
Range of data for the X axis -- Maximum.

Constructor Detail

WaveGrapher

public WaveGrapher(double[] padData,
                   double pdMin,
                   double pdMax,
                   java.lang.String pstrName,
                   java.lang.String pstrDescriptor)
Constructor.

Parameters:
padData -
pdMin -
pdMax -
pstrName -
pstrDescriptor -
Method Detail

dump

public final void dump()
                throws StorageException
Dumps graph of wave in the CSV format.

Specified by:
dump in interface IStorageManager
Overrides:
dump in class StorageManager
Throws:
StorageException
See Also:
IStorageManager.DUMP_GZIP_BINARY, IStorageManager.DUMP_BINARY, StorageManager.dumpGzipBinary(), StorageManager.dumpCSV(), StorageManager.dumpBinary(), StorageManager.dumpXML(), StorageManager.dumpHTML(), StorageManager.dumpSQL(), StorageManager.backSynchronizeObject(), StorageManager.iCurrentDumpMode

restore

public final void restore()
                   throws StorageException
Not implemented.

Specified by:
restore in interface IStorageManager
Overrides:
restore in class StorageManager
Throws:
NotImplementedException
StorageException - never thrown
See Also:
IStorageManager.DUMP_GZIP_BINARY, IStorageManager.DUMP_BINARY, StorageManager.dumpGzipBinary(), StorageManager.dumpCSV(), StorageManager.dumpBinary(), StorageManager.dumpXML(), StorageManager.dumpHTML(), StorageManager.dumpSQL(), StorageManager.backSynchronizeObject(), StorageManager.iCurrentDumpMode

getMARFSourceCodeRevision

public static java.lang.String getMARFSourceCodeRevision()
Returns source code revision information.

Returns:
revision string
Since:
0.3.0.2


SourceForge Logo