Private data and data structures
DTWSelectionPlotter SelectionPlotter
Selection plotter.
javax.swing.JTextField SelStart
Selection start
javax.swing.JTextField SelEnd
Selection end.
javax.swing.JTextField RecordNumber
Record number.
EventListeners
Event listeners listen to changes in selection in DTWSelectionPlotter
and SelStart
and SelEnd
fields. If the selection in DTWSelectionPlotter
is changed, SelStart
and SelEnd
are adjusted accordingly. If SelStart
or SelEnd
is changed, DTWSelectionPlotter
's selection is changed.
Implementation of methods
DTWDataSelector DataSelector
setSelection
Triggered by change in SelStart or SelEnd
SelectionPlotter.setSelection( SelStart, SelEnd )
.
selectRecord
Triggered by change in RecordNumber
FileIO.loadRecord( RecordNumber )
.
DTWDataVector
, set name to ``DataVector''.
SelectionPlotter.setValues( newDTWDataVector )
saveAsTemplate
Triggered by Save as template button click.
newDTWDataVector
object.
newDTWDataVector.setName( Name )
and newDTWDataVector.setValues( SelectionPlotter.getSelectionValues() )
.
Data.addTemplates( newDTWDataVector )
.
saveAsObservation
Triggered by Save as observation button click.
newDTWDataVector
object.
newDTWDataVector.setName( Name )
and newDTWDataVector.setValues( SelectionPlotter.getSelectionValues() )
.
Data.setObservation( newDTWDataVector )
.