Package be.gaudry.swing.crud
Class AbstractCrudPanel.LoadItemWorker
- All Implemented Interfaces:
Runnable
,Future<T>
,RunnableFuture<T>
- Enclosing class:
- AbstractCrudPanel<T extends ILightObject>
Loads a specific item in a separated thread Calls the
AbstractCrudPanel.loadItemAsync(int, boolean)
method-
Nested Class Summary
Nested classes/interfaces inherited from class javax.swing.SwingWorker
SwingWorker.StateValue
-
Constructor Summary
-
Method Summary
Methods inherited from class javax.swing.SwingWorker
addPropertyChangeListener, cancel, execute, firePropertyChange, get, get, getProgress, getPropertyChangeSupport, getState, isCancelled, isDone, publish, removePropertyChangeListener, run, setProgress
-
Constructor Details
-
LoadItemWorker
public LoadItemWorker(int itemId, boolean edit)
-
-
Method Details
-
doInBackground
- Specified by:
doInBackground
in classSwingWorker<T extends ILightObject,String>
- Throws:
Exception
-
process
- Overrides:
process
in classSwingWorker<T extends ILightObject,String>
-
done
protected void done()- Overrides:
done
in classSwingWorker<T extends ILightObject,String>
-