Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

medi.swing.util
Class PictureSwingWorker  view PictureSwingWorker download PictureSwingWorker.java

java.lang.Object
  extended byjavatools.swing.SwingWorker
      extended bymedi.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 get method.


finished

public void finished()
Called on the event dispatching thread (not on the worker thread) after the construct method has returned.