|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.swing.SwingWorker
com.partnersoft.gui.ProgressBar
com.partnersoft.modules.inspection.app.CreationProgressBar
public class CreationProgressBar
ProgressBar for mass creations of Inspections. Generates an Inspection
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.SwingWorker |
|---|
javax.swing.SwingWorker.StateValue |
| Constructor Summary | |
|---|---|
CreationProgressBar(com.partnersoft.maps.app.MapApp app,
InspectionKit kit,
java.util.List<java.lang.Integer> dataIds,
java.util.List<java.lang.String> dataTypes,
com.partnersoft.data.Naming initialData)
Creates a new CreationProgressBar. |
|
CreationProgressBar(com.partnersoft.maps.app.MapApp app,
InspectionKit kit,
java.util.List<java.lang.Integer> dataIds,
java.util.List<java.lang.String> dataTypes,
com.partnersoft.data.Naming initialData,
long delay)
Creates a new CreationProgressBar. |
|
| Method Summary | |
|---|---|
void |
addCompletionListener(CompletionListener ear)
|
void |
cancelCreation()
Used to alert thread to stop task. |
protected java.lang.Object |
doInBackground()
|
void |
removeCompletionListener(CompletionListener ear)
|
boolean |
stopRunning()
Checks if cancelCreation() has been called. |
| Methods inherited from class com.partnersoft.gui.ProgressBar |
|---|
getBarDialog, getGui, hideBar, propertyChange, runTask, showBar, showBar, showBar, showBar, showBar |
| Methods inherited from class javax.swing.SwingWorker |
|---|
addPropertyChangeListener, cancel, done, 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 |
| Constructor Detail |
|---|
public CreationProgressBar(com.partnersoft.maps.app.MapApp app,
InspectionKit kit,
java.util.List<java.lang.Integer> dataIds,
java.util.List<java.lang.String> dataTypes,
com.partnersoft.data.Naming initialData,
long delay)
Has optional arguments for closing the parent window on task completion and pausing between each creation.
app - - Valid MapApp. Used to center map.kit - - InspectionKit to generate Inspections for.dataIds - - List of object IDs to generate Inspections on.dataTypes - - Acceptable data types to inspect.initialData - - Initial data to set each Inspection to.delay - - Delay in milliseconds between each inspection.
public CreationProgressBar(com.partnersoft.maps.app.MapApp app,
InspectionKit kit,
java.util.List<java.lang.Integer> dataIds,
java.util.List<java.lang.String> dataTypes,
com.partnersoft.data.Naming initialData)
app - - Valid MapApp. Used to center map.kit - - InspectionKit to generate Inspections for.dataIds - - List of object IDs to generate Inspections on.dataTypes - - Acceptable data types to inspect.initialData - - Initial data to set each Inspection to.| Method Detail |
|---|
public void addCompletionListener(CompletionListener ear)
public void removeCompletionListener(CompletionListener ear)
protected java.lang.Object doInBackground()
throws java.lang.Exception
doInBackground in class com.partnersoft.gui.ProgressBarjava.lang.Exceptionpublic void cancelCreation()
public boolean stopRunning()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||