annotool.gui.model
Class ModelSaver

java.lang.Object
  extended by annotool.gui.model.ModelSaver
All Implemented Interfaces:
java.lang.Runnable

public class ModelSaver
extends java.lang.Object
implements java.lang.Runnable

This class saves the trained models into file system using separate thread of execution. The actual code to write to file is encapsulated in ChainModel objects.


Constructor Summary
ModelSaver(javax.swing.JProgressBar bar, AnnOutputPanel pnlOutput, javax.swing.JButton[] buttons, ChainModel[] chainModels, java.io.File file)
           
 
Method Summary
 void run()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModelSaver

public ModelSaver(javax.swing.JProgressBar bar,
                  AnnOutputPanel pnlOutput,
                  javax.swing.JButton[] buttons,
                  ChainModel[] chainModels,
                  java.io.File file)
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable