|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object | +--edu.virginia.cs.mng.hypercast.demo.FileSystemModel2.FileNodeLoader
FileNodeLoader can be used to reload all the children of a particular node. It first resets the children of the FileNode it is created with, and in its run method will reload all of that nodes children. FileNodeLoader may not be running in the event dispatching thread. As swing is not thread safe it is important that we don't generate events in this thread. SwingUtilities.invokeLater is used so that events are generated in the event dispatching thread.
| Field Summary | |
(package private) FileSystemModel2.FileNode |
node
Node creating children for. |
(package private) MergeSort |
sizeMS
Sorter. |
| Constructor Summary | |
(package private) |
FileSystemModel2.FileNodeLoader(FileSystemModel2.FileNode node)
|
| Method Summary | |
protected void |
loadChildren(FileSystemModel2.FileNode node)
|
void |
run()
|
| Methods inherited from class java.lang.Object |
|
| Field Detail |
FileSystemModel2.FileNode node
MergeSort sizeMS
| Constructor Detail |
FileSystemModel2.FileNodeLoader(FileSystemModel2.FileNode node)
| Method Detail |
public void run()
protected void loadChildren(FileSystemModel2.FileNode node)
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||