|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jj2000.disp.TitleUpdater
This class should run as an independent thread to update tha main display window title with current image scroll position and zoom.
Field Summary | |
(package private) java.lang.String |
btitle
The base of the title |
boolean |
done
The thread exits when this is true |
(package private) ImgScrollPane |
isp
The ImgScrollPane where the image is displayed |
(package private) static int |
UPDATE_T
The update perion, in milliseconds: 100 |
(package private) java.awt.Frame |
win
The frame which title to update |
Constructor Summary | |
TitleUpdater(ImgScrollPane isp,
java.awt.Frame win,
java.lang.String btitle)
Instantiates the title updater. |
Method Summary | |
void |
run()
The method that executes this thread. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
static final int UPDATE_T
ImgScrollPane isp
java.awt.Frame win
java.lang.String btitle
public volatile boolean done
Constructor Detail |
public TitleUpdater(ImgScrollPane isp, java.awt.Frame win, java.lang.String btitle)
isp
- Where the image is displayedwin
- The window which title to updatebtitle
- The base of the title.Method Detail |
public void run()
run
in interface java.lang.Runnable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |