public abstract class OntopQuerySwingWorker<T,V> extends SwingWorkerWithTimeIntervalMonitor<Map.Entry<T,String>,V>
SwingWorkerWithMonitor.CancelActionExceptionSwingWorker.StateValueprogressMonitor, startTime| Modifier | Constructor and Description |
|---|---|
protected |
OntopQuerySwingWorker(OntopProtegeReasoner ontop,
String query,
Component parent,
String title) |
protected |
OntopQuerySwingWorker(OntopProtegeReasoner ontop,
String query,
Component parent,
String title,
AbstractProgressMonitor progressMonitor) |
protected |
OntopQuerySwingWorker(OntopProtegeReasoner ontop,
String query,
Component parent,
String title,
JButton startButton,
JButton stopButton,
JLabel statusLabel) |
| Modifier and Type | Method and Description |
|---|---|
protected Map.Entry<T,String> |
doInBackground() |
protected void |
done() |
protected abstract void |
onCompletion(T result,
String sqlQuery) |
protected abstract T |
runQuery(OntopOWLStatement statement,
String query) |
getCount, tickcomplete, elapsedTimeMillis, end, endLoop, notifyProgressMonitor, start, startLoopaddPropertyChangeListener, cancel, execute, firePropertyChange, get, get, getProgress, getPropertyChangeSupport, getState, isCancelled, isDone, process, publish, removePropertyChangeListener, run, setProgressprotected OntopQuerySwingWorker(OntopProtegeReasoner ontop, String query, Component parent, String title)
protected OntopQuerySwingWorker(OntopProtegeReasoner ontop, String query, Component parent, String title, JButton startButton, JButton stopButton, JLabel statusLabel)
protected OntopQuerySwingWorker(OntopProtegeReasoner ontop, String query, Component parent, String title, AbstractProgressMonitor progressMonitor)
protected abstract T runQuery(OntopOWLStatement statement, String query) throws Exception
Exceptionprotected Map.Entry<T,String> doInBackground() throws Exception
doInBackground in class SwingWorker<Map.Entry<T,String>,V>ExceptionCopyright © 2009–2021 KRDB Research Centre for Knowledge and Data, Free University of Bozen-Bolzano. All rights reserved.