Package be.gaudry.swing.crud
Class CrudListPanel.LoadItemWorker
- All Implemented Interfaces:
Runnable,Future<T>,RunnableFuture<T>
- Enclosing class:
- CrudListPanel<T extends ILightObject>
Loads a specific item in a separated thread Calls the
CrudListPanel.loadItemAsync(int, boolean) method-
Nested Class Summary
Nested classes/interfaces inherited from class javax.swing.SwingWorker
SwingWorker.StateValue -
Constructor Summary
Constructors -
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:
doInBackgroundin classSwingWorker<T extends ILightObject,String>- Throws:
Exception
-
process
- Overrides:
processin classSwingWorker<T extends ILightObject,String>
-
done
protected void done()- Overrides:
donein classSwingWorker<T extends ILightObject,String>
-