|
www.RoboHobby.com - Java ME/SE robotics project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jdesktop.swingworker.SwingWorker<T,V>
org.jdesktop.application.Task<java.lang.Void,java.lang.Void>
com.robohobby.jsr296.LongTask
public class LongTask
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.jdesktop.application.Task |
|---|
org.jdesktop.application.Task.BlockingScope, org.jdesktop.application.Task.InputBlocker |
| Nested classes/interfaces inherited from class org.jdesktop.swingworker.SwingWorker |
|---|
org.jdesktop.swingworker.SwingWorker.StateValue |
| Method Summary | |
|---|---|
protected java.lang.Void |
doInBackground()
Main method, where you should place your long task It is just simple example. |
int |
getMaxStep()
|
long |
getMsecDelay()
|
java.lang.String |
getTaskName()
|
void |
setMaxStep(int maxStep)
|
void |
setMsecDelay(long msecDelay)
|
void |
setTaskName(java.lang.String taskName)
|
| Methods inherited from class org.jdesktop.application.Task |
|---|
addTaskListener, cancelled, done, failed, finished, getApplication, getContext, getDescription, getExecutionDuration, getInputBlocker, getMessage, getMessageDuration, getResourceMap, getTaskListeners, getTaskService, getTitle, getUserCanCancel, interrupted, isPending, isProgressPropertyValid, isStarted, message, process, removeTaskListener, resourceName, setDescription, setInputBlocker, setMessage, setProgress, setProgress, setProgress, setTitle, setUserCanCancel, succeeded |
| Methods inherited from class org.jdesktop.swingworker.SwingWorker |
|---|
addPropertyChangeListener, cancel, execute, firePropertyChange, get, get, getProgress, getPropertyChangeSupport, getState, isCancelled, isDone, publish, removePropertyChangeListener, run, setProgress |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public java.lang.String getTaskName()
public void setTaskName(java.lang.String taskName)
public int getMaxStep()
public void setMaxStep(int maxStep)
public long getMsecDelay()
public void setMsecDelay(long msecDelay)
protected java.lang.Void doInBackground()
throws java.lang.Exception
doInBackground in class org.jdesktop.swingworker.SwingWorker<java.lang.Void,java.lang.Void>java.lang.Exception
|
Copyright © 2009 OLeg Lyubchenko. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||