jview
Interface DataAnalysing

All Superinterfaces:
BeanSupport, DataObserver, Displayable, EventListener
All Known Implementing Classes:
JAbstractAnalyser, JAsynchronAnalyser, JEditableAnalyser, JStatisticAnalyser, JVisualizingAnalyser

public interface DataAnalysing
extends Displayable, DataObserver, BeanSupport

The common interface for classes that grab data from a JDataCanvas, performa some calculation on it using an Analyser and displays them. Fast data analysers may return a component that respons directly to data change events, like JStatisticAnalyser, other data analysers may return a button as their component, triggering data anlysis only after the user pressed the button (and then probably poping up a new window). It is also perfectly legal, to return null from the Displayable.getRepresentation(), unless the Action returns non-null. This behaviour indicates that data anlysis is only performed on user input.


Field Summary
static String ANALYSERINPUT
          The property name for data changes in the analyser input.
static String ANALYSERMETA
          The property name for changes in the analyser meta data.
static String ANALYSERPROCESS
          The property name for data changes in the analyser processed data.
static String ANALYSERVISUAL
          The property name for data changes in the analyser visualization.
static String ATTACHED
          Key for putting client properties as attached property listeners.
 
Fields inherited from interface util.BeanSupport
CASTING
 
Method Summary
 long estimateExecutionTime(VectorG[] in, Analyser fit)
          Estimates the execution time for a given analyser and input data.
 List<String> getAnalysedSets()
          Gets the set names we register to.
 Analyser getAnalyser()
          Returns my analyser.
 Action getAnalyserAction()
          Returns the action associated with this analyser.
 VectorG[] getAnalyserInput()
          This method delivers data that should be analysed in an analyser #process method.
 Object[] getDataTagging()
          This method delivers the original tagging of the data, normally delivered within the data cards of a data canvas.
 
Methods inherited from interface jview.Displayable
getIcon, getRepresentation
 
Methods inherited from interface jview.DataObserver
dataChanged
 
Methods inherited from interface util.BeanSupport
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
 

Field Detail

ANALYSERINPUT

static final String ANALYSERINPUT
The property name for data changes in the analyser input.

See Also:
Constant Field Values

ANALYSERPROCESS

static final String ANALYSERPROCESS
The property name for data changes in the analyser processed data.

See Also:
Constant Field Values

ANALYSERVISUAL

static final String ANALYSERVISUAL
The property name for data changes in the analyser visualization.

See Also:
Constant Field Values

ANALYSERMETA

static final String ANALYSERMETA
The property name for changes in the analyser meta data.

See Also:
Constant Field Values

ATTACHED

static final String ATTACHED
Key for putting client properties as attached property listeners.

See Also:
Constant Field Values
Method Detail

getAnalyserAction

Action getAnalyserAction()
Returns the action associated with this analyser. If Displayable.getRepresentation() returns null, this method must return a non-null action.

Implementation note: This method may be called repeatedly, so ensure that always the same action is returned, if this is the desired behaviour.


getAnalysedSets

List<String> getAnalysedSets()
Gets the set names we register to.


getAnalyser

Analyser getAnalyser()
Returns my analyser.


getAnalyserInput

VectorG[] getAnalyserInput()
This method delivers data that should be analysed in an analyser #process method. The appropriate setter method is not public.


getDataTagging

Object[] getDataTagging()
This method delivers the original tagging of the data, normally delivered within the data cards of a data canvas.


estimateExecutionTime

long estimateExecutionTime(VectorG[] in,
                           Analyser fit)
Estimates the execution time for a given analyser and input data.