|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.gadgets.ActivityProgressWorker
public abstract class ActivityProgressWorker
Handles synchronization on tracking the running, paused, and canceled status of a Runnable. It is used by the ActivityProgressControl.
Copyright 2008 Partner Software, Inc.
| Constructor Summary | |
|---|---|
ActivityProgressWorker()
|
|
| Method Summary | |
|---|---|
void |
cancelWork()
Cancels any remaining work. |
void |
finishedWorking()
Marks that all work has been completed by this thread. |
boolean |
isCanceled()
Returns if this thread's work has been canceled. |
boolean |
isPaused()
Returns if this thread's work should be paused. |
boolean |
keepRunning()
Returns if this thread should continue working. |
void |
setPause(boolean isPaused)
Sets Pause status for this thread's work. |
void |
startRunning()
Marks flag that work is to being. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.lang.Runnable |
|---|
run |
| Constructor Detail |
|---|
public ActivityProgressWorker()
| Method Detail |
|---|
public final void cancelWork()
public final void finishedWorking()
public final void setPause(boolean isPaused)
isPaused - - True if work should be paused, false otherwise.public final boolean isPaused()
public final boolean isCanceled()
public final void startRunning()
public final boolean keepRunning()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||