org.sump.analyzer.tools
Class StateAnalysis

java.lang.Object
  extended by org.sump.analyzer.tools.Base
      extended by org.sump.analyzer.tools.StateAnalysis
All Implemented Interfaces:
Configurable, Tool

public class StateAnalysis
extends Base
implements Tool, Configurable

Tool to convert captured data for state analysis using a user selected channel as clock. Wether sampling should be performed on rising or falling edge can be selected too.

Version:
0.7
Author:
Michael "Mr. Sump" Poppitz

Constructor Summary
StateAnalysis()
           
 
Method Summary
 java.lang.String getName()
          Returns the tools visible name.
 void init(java.awt.Frame frame)
          Does nothing.
 CapturedData process(CapturedData data)
          Convert captured data from timing data to state data using the given channel as clock.
 void readProperties(Properties properties)
          Reads dialog settings from given properties.
 void writeProperties(Properties properties)
          Writes dialog settings to given properties.
 
Methods inherited from class org.sump.analyzer.tools.Base
process, selectByIndex, selectByValue, selectByValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.sump.analyzer.tools.Tool
process
 

Constructor Detail

StateAnalysis

public StateAnalysis()
Method Detail

init

public void init(java.awt.Frame frame)
Description copied from class: Base
Does nothing. If initialization is needed it must be overwritten.

Specified by:
init in interface Tool
Overrides:
init in class Base
Parameters:
frame - ignored

getName

public java.lang.String getName()
Returns the tools visible name.

Specified by:
getName in interface Tool
Specified by:
getName in class Base
Returns:
the tools visible name

process

public CapturedData process(CapturedData data)
Convert captured data from timing data to state data using the given channel as clock.

Specified by:
process in interface Tool
Specified by:
process in class Base
Parameters:
data - - captured data to work on
Returns:
new CapturedData if provided data has been altered or null otherwise

readProperties

public void readProperties(Properties properties)
Reads dialog settings from given properties.

Specified by:
readProperties in interface Configurable
Parameters:
properties - Properties containing dialog settings

writeProperties

public void writeProperties(Properties properties)
Writes dialog settings to given properties.

Specified by:
writeProperties in interface Configurable
Parameters:
properties - Properties where the settings are written to