jaxx.runtime.swing
Class AbstractActionThread.ActionWorker
java.lang.Object
javax.swing.SwingWorker<Void,Object>
jaxx.runtime.swing.AbstractActionThread.ActionWorker
- All Implemented Interfaces:
- Runnable, Future<Void>, RunnableFuture<Void>
- Enclosing class:
- AbstractActionThread
public static class AbstractActionThread.ActionWorker
- extends SwingWorker<Void,Object>
Action worker to execute a incoming action.
| 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 |
actionLabel
protected final String actionLabel
target
protected final Runnable target
status
protected jaxx.runtime.swing.AbstractActionThread.ActionStatus status
error
protected Exception error
startTime
protected long startTime
endTime
protected long endTime
AbstractActionThread.ActionWorker
public AbstractActionThread.ActionWorker(String actionLabel,
Runnable target)
doInBackground
protected Void doInBackground()
throws Exception
- Specified by:
doInBackground in class SwingWorker<Void,Object>
- Throws:
Exception
isFailed
public boolean isFailed()
getError
public Exception getError()
getStatus
public jaxx.runtime.swing.AbstractActionThread.ActionStatus getStatus()
getActionLabel
public String getActionLabel()
done
protected void done()
- Overrides:
done in class SwingWorker<Void,Object>
getTime
public String getTime()
getStartTime
public long getStartTime()
getEndTime
public long getEndTime()
Copyright © 2008-2010 CodeLutin. All Rights Reserved.