org.crosswire.bibledesktop.passage
Class PassageTreeModel

java.lang.Object
  extended by javax.swing.tree.DefaultTreeModel
      extended by org.crosswire.bibledesktop.passage.PassageTreeModel
All Implemented Interfaces:
Serializable, TreeModel

public class PassageTreeModel
extends DefaultTreeModel

The PassageTreeModel class implements TreeModel using various custom TreeNodes, and simply extending DefaultTreeModel.

Distribution Licence:
JSword is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2 as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
The License is available on the internet here, or by writing to: Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
The copyright to this program is held by it's authors.

Version:
$Id: PassageTreeModel.java,v 1.3 2005/03/06 20:21:36 dmsmith Exp $
Author:
Joe Walker [joe at eireneh dot com]
See Also:
Licence, DefaultTreeModel, PassageTreeNode, Serialized Form

Field Summary
private static long serialVersionUID
          Serialization ID
 
Fields inherited from class javax.swing.tree.DefaultTreeModel
asksAllowsChildren, listenerList, root
 
Constructor Summary
PassageTreeModel(Passage ref, JTree tree)
          Basic constructor.
 
Method Summary
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Serialization ID

See Also:
Constant Field Values
Constructor Detail

PassageTreeModel

public PassageTreeModel(Passage ref,
                        JTree tree)
Basic constructor. At some stage when editing this and PassageTreeNode we should be able to remove the JTree param.


Copyright ? 2003-2004