jcreek.cke.importexport.jcxml
Class JCXMLexport

java.lang.Object
  extended byjava.lang.Thread
      extended byjcreek.cke.importexport.jcxml.JCXMLexport
All Implemented Interfaces:
ProcessControlInterface, java.lang.Runnable

public class JCXMLexport
extends java.lang.Thread
implements ProcessControlInterface

This class is the one having the overall control of the export process of the Knowledge Model of Creek to JCXML files.

Author:
Stein L. Tomassen, NTNU 2002

Nested Class Summary
protected  class JCXMLexport.ExportThread
          This class contains the different stages of the export process.
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
JCXMLexport(java.awt.Frame parent, KnowledgeModel km)
          Constructor for JCXMLexport, which does set some basic settings before the process of exporting the Knowledge Model may start.
 
Method Summary
 void abortProcess()
          Aborts the export process.
 boolean isAborted()
          Checks if the process was aborted;
 void startExport()
          Starts the process by first showing the FileChooser dialog then starts the export process, by first starting the thread and gives feedback of the process to the JCXML status dialog.
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, run, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JCXMLexport

public JCXMLexport(java.awt.Frame parent,
                   KnowledgeModel km)
Constructor for JCXMLexport, which does set some basic settings before the process of exporting the Knowledge Model may start.

Parameters:
parent - the parent frame window.
km - the JavaCreek knowledge model to export the model to.
Method Detail

isAborted

public boolean isAborted()
Checks if the process was aborted;

Returns:
true if the porcess was aborted, otherwise false.

startExport

public void startExport()
Starts the process by first showing the FileChooser dialog then starts the export process, by first starting the thread and gives feedback of the process to the JCXML status dialog.


abortProcess

public void abortProcess()
Aborts the export process.

Specified by:
abortProcess in interface ProcessControlInterface


Created at IDI, NTNU by the Artificial Intelligence and Learning group