Package org.compiere.grid.tree
Class AdempiereTreeModel
- java.lang.Object
-
- javax.swing.tree.DefaultTreeModel
-
- org.compiere.grid.tree.AdempiereTreeModel
-
- All Implemented Interfaces:
Serializable
,TreeModel
public class AdempiereTreeModel extends DefaultTreeModel
AdempiereTreeModel provides a persistable tree model based on an MTree.- Author:
- phib 2008/07/30 FR [ 2032092 ] Java 6 improvements to tree drag and drop
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class javax.swing.tree.DefaultTreeModel
asksAllowsChildren, listenerList, root
-
-
Constructor Summary
Constructors Constructor Description AdempiereTreeModel(TreeNode root)
AdempiereTreeModel(MTreeNode root, boolean b)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
saveChangedNodes(MTreeNode from, MTreeNode to)
void
setMTree(MTree tree)
-
Methods inherited from class javax.swing.tree.DefaultTreeModel
addTreeModelListener, asksAllowsChildren, fireTreeNodesChanged, fireTreeNodesInserted, fireTreeNodesRemoved, fireTreeStructureChanged, getChild, getChildCount, getIndexOfChild, getListeners, getPathToRoot, getPathToRoot, getRoot, getTreeModelListeners, insertNodeInto, isLeaf, nodeChanged, nodesChanged, nodeStructureChanged, nodesWereInserted, nodesWereRemoved, reload, reload, removeNodeFromParent, removeTreeModelListener, setAsksAllowsChildren, setRoot, valueForPathChanged
-
-