Package dsto.dfc.swing.tree

Extends the Swing tree package to add support for advanced tree models (supporting add, remove, copy, paste etc) and provide several extensions to the JTree component.

See:
          Description

Interface Summary
DfcTreeModel Extends the JFC TreeModel to include capabilities such as adding and removing entries plus copy and paste support.
DfcTreeNode The node type used in node-based DFC tree models.
 

Class Summary
AbstractDfcTreeModel Base class for clients implementing DfcTreeModel.
BasicTreeModelEventSource Supports TreeModelEvent firing and listener registration.
CmdAddEntry Add a new entry as a child of the currently selected entry.
CmdCollapse Collapse currently selected node.
CmdCustomize Base implementation of the properties command that attempts to show the selected tree entry's FormEditor-compliant customizer.
CmdDelete Delete currently selected node and all children.
CmdExpandAll Expand currently selected node and all children.
CmdMoveEntry A command that moves tree entries up/down within their parent.
CmdRename Rename the selected node.
DefaultDfcTreeModel Default implementation of DfcTreeModel using HashMap and ArrayList.
DefaultDfcTreeModel.Node A node in the tree.
DefaultDfcTreeNode Default impelementation of DfcTreeNode.
DfcSwingTreeModel An implementation of a node-based tree DfcTreeModel using Swing's DefaultTreeModel as the base.
DfcTree DFC'ified JTree, adding support for operations based on the extended DfcTreeModel.
TreeModelTransferable  
Trees General utility methods for trees.
Trees.TreeTracer A debugging TreeModelListener that prints events from a tree model to System.out.
 

Package dsto.dfc.swing.tree Description

Extends the Swing tree package to add support for advanced tree models (supporting add, remove, copy, paste etc) and provide several extensions to the JTree component. In particular support is added in dsto.dfc.tree.DfcTree for context menus and advanced commands via dsto.dfc.commands, copy and paste/drag and drop. DfcTree supports the dsto.dfc.tree.DfcTreeModel extension to the Swing TreeModel.



Copyright © 2008 Commonwealth of Australia