|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.enough.polish.io.file.FileSystemTreeModel
public class FileSystemTreeModel
Provides the file system of a device as a TreeModel. For working efficiently with a TreeItem, use UiFileSystemTreeModel.
TreeModel,
TreeItem,
UiFileSystemTreeModel| Constructor Summary | |
|---|---|
FileSystemTreeModel()
|
|
| Method Summary | |
|---|---|
void |
addChildren(Object parent,
ArrayList list)
Returns the number of children of parent. |
Object |
getRoot()
Returns the root of the tree. |
boolean |
isLeaf(Object node)
Returns true if node is a leaf. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileSystemTreeModel()
| Method Detail |
|---|
public void addChildren(Object parent,
ArrayList list)
TreeModel
addChildren in interface TreeModelparent - a node in the tree, obtained from this TreeModellist - the ArrayList into which the children should be addedpublic Object getRoot()
TreeModel
getRoot in interface TreeModelpublic boolean isLeaf(Object node)
TreeModel
isLeaf in interface TreeModelnode - a node in the tree, obtained from this TreeModel
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||