public class OpenDocumentWorker extends JGlossWorker<JGlossDocument,Void>
SwingWorker.StateValue
MESSAGE_PROPERTY
Modifier and Type | Method and Description |
---|---|
protected JGlossDocument |
doInBackground() |
protected void |
done() |
static void |
openDocument(JGlossFrame frame,
File file)
Create and execute a worker which opens the given file.
|
getMessage, setMessage
addPropertyChangeListener, cancel, execute, firePropertyChange, get, get, getProgress, getPropertyChangeSupport, getState, isCancelled, isDone, process, publish, removePropertyChangeListener, run, setProgress
public static void openDocument(JGlossFrame frame, File file)
protected JGlossDocument doInBackground() throws IOException, SAXException
doInBackground
in class SwingWorker<JGlossDocument,Void>
IOException
SAXException
protected void done()
done
in class SwingWorker<JGlossDocument,Void>
Copyright © 2001-2013 the JGloss developers. All Rights Reserved.