Class EdalMutableTreeModel
- java.lang.Object
-
- javax.swing.tree.DefaultMutableTreeNode
-
- de.ipk_gatersleben.bit.bi.edal.rmi.client.gui.EdalMutableTreeModel
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,javax.swing.tree.MutableTreeNode
,javax.swing.tree.TreeNode
public class EdalMutableTreeModel extends javax.swing.tree.DefaultMutableTreeNode
Defines the requirements for an object that can be used as a tree node in a JTree. Implementations ofDefaultMutableTreeNode
that overrideisLeaf
Because when we build the directory tree, we use lazy load, we want all the files looks like a directroy, so the isLeaf() method return false Refer toTreeModel
for more information.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EdalMutableTreeModel(java.lang.Object obj)
-
Method Summary
Modifier and Type Method Description boolean
isLeaf()
-
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject, toString
-
-