|
|||||||||
| Home >> All >> medi >> swing >> [ util overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
medi.swing.util
Class PictureSwingWorker

java.lang.Objectjavatools.swing.SwingWorker
medi.swing.util.PictureSwingWorker
- public class PictureSwingWorker
- extends javatools.swing.SwingWorker
It should be a class to show pictures in a JLabel in a separate thread.
- Version:
- 0.0.1
| Nested Class Summary |
| Nested classes inherited from class javatools.swing.SwingWorker |
|
| Field Summary | |
private javax.swing.JLabel |
curLabel
|
private javax.swing.ImageIcon |
icon
|
private java.lang.String |
iconPath
|
| Fields inherited from class javatools.swing.SwingWorker |
|
| 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. |
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 |
| Field Detail |
iconPath
private java.lang.String iconPath
icon
private javax.swing.ImageIcon icon
curLabel
private javax.swing.JLabel curLabel
| Constructor Detail |
PictureSwingWorker
public PictureSwingWorker()
- Creates new PictureSwingWorker
| Method Detail |
setLabel
public void setLabel(javax.swing.JLabel label)
- Sets the JLabel to be used.
setIconPath
public void setIconPath(java.lang.String pIconPath)
- Sets the icon path (i.e. the picture file to show).
construct
public java.lang.Object construct()
- Compute the value to be returned by the
getmethod.
finished
public void finished()
- Called on the event dispatching thread (not on the worker thread)
after the
constructmethod has returned.
|
|||||||||
| Home >> All >> medi >> swing >> [ util overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC