01: package vicazh.hyperpool.stream.net.http;
02:
03: import java.io.*;
04: import javax.swing.tree.*;
05:
06: /**
07: * The explorer node
08: *
09: * @author Victor Zhigunov
10: * @version 0.3.6
11: */
12: public class IExplorerNode extends DefaultMutableTreeNode {
13: File dir;
14:
15: /**
16: * @param dir
17: * node directory
18: * @param name
19: * node name
20: */
21: public IExplorerNode(File dir, String name) {
22: super (name == null ? dir.getName() : name);
23: this .dir = dir;
24: }
25:
26: public boolean isLeaf() {
27: return false;
28: }
29: }
|