|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--UserInterface.FileSaver
this inner class starts a thread and saves a document to the disk
Field Summary | |
(package private) Document |
d
|
(package private) java.lang.Thread |
t
|
Constructor Summary | |
(package private) |
UserInterface.FileSaver(java.lang.String s,
Document d)
|
Method Summary | |
void |
run()
after saving the document disables the Save command from the menu |
void |
Save(Document d)
Saves a document to the disk |
Methods inherited from class java.lang.Object |
|
Field Detail |
java.lang.Thread t
Document d
Constructor Detail |
UserInterface.FileSaver(java.lang.String s, Document d)
s
- can be join for preventing performing other operation until the save is done (e.g. exiting the appplication) or otherwise is the null stringd
- the Document to be savedMethod Detail |
public void run()
Save(Document)
,
MyMenu.setSavable(boolean)
public void Save(Document d)
Document
,
Judgements
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |