|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javatools.swing.SwingWorker | +--medi.swing.util.PictureSwingWorker
It should be a class to show pictures in a JLabel in a separate thread.
Constructor Summary | |
PictureSwingWorker()
Creates new PictureSwingWorker |
Method Summary | |
java.lang.Object |
construct()
Compute the value to be returned by the get method. |
void |
finished()
Called on the event dispatching thread (not on the worker thread) after the construct method has returned. |
void |
setIconPath(java.lang.String pIconPath)
Sets the icon path (i.e. the picture file to show). |
void |
setLabel(javax.swing.JLabel label)
Sets the JLabel to be used. |
Methods inherited from class javatools.swing.SwingWorker |
get, getValue, interrupt, start |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PictureSwingWorker()
Method Detail |
public void setLabel(javax.swing.JLabel label)
label
- The JLabel to be used.public void setIconPath(java.lang.String pIconPath)
pIconPath
- The icon path.public java.lang.Object construct()
get
method.
construct
in class SwingWorker
public void finished()
construct
method has returned.
finished
in class SwingWorker
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |