com.jurismarches.vradi.ui.task
Class VradiTask<T>
java.lang.Object
javax.swing.SwingWorker<T,Void>
com.jurismarches.vradi.ui.task.VradiTask<T>
- All Implemented Interfaces:
- Runnable, Future<T>, RunnableFuture<T>
public abstract class VradiTask<T>
- extends SwingWorker<T,Void>
- Author:
- sletellier
| Methods inherited from class javax.swing.SwingWorker |
addPropertyChangeListener, cancel, execute, firePropertyChange, get, get, getProgress, getPropertyChangeSupport, getState, isCancelled, isDone, process, publish, removePropertyChangeListener, run, setProgress |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
component
protected Component component
i18nKey
protected String i18nKey
pb
protected AbstractProgressBarUI pb
showErrorDialog
protected boolean showErrorDialog
VradiTask
public VradiTask(jaxx.runtime.JAXXContext context)
VradiTask
public VradiTask(jaxx.runtime.JAXXContext context,
boolean showProgressBar)
VradiTask
public VradiTask(jaxx.runtime.JAXXContext context,
String i18nKey)
VradiTask
public VradiTask(jaxx.runtime.JAXXContext context,
boolean showProgressBar,
String i18nKey)
VradiTask
public VradiTask(jaxx.runtime.JAXXContext context,
AbstractProgressBarUI pb,
String i18nKey)
VradiTask
public VradiTask(jaxx.runtime.JAXXContext context,
AbstractProgressBarUI pb,
String i18nKey,
boolean showErrorDialog)
doInBackground
protected T doInBackground()
- Specified by:
doInBackground in class SwingWorker<T,Void>
done
protected void done()
- Overrides:
done in class SwingWorker<T,Void>
getTitleMsg
protected String getTitleMsg()
getMsg
protected String getMsg()
getErrorMsg
protected String getErrorMsg()
doAction
public abstract T doAction()
throws Exception
- Throws:
Exception
doWhenDone
public void doWhenDone()
throws Exception
- Throws:
Exception
doWhenError
public void doWhenError(Exception eee)
Copyright © 2009-2010 JurisMarches. All Rights Reserved.