[jsword-svn]
bibledesktop/java/limbo/org/crosswire/bibledesktop/reference s
jswordcvs at crosswire.org
jswordcvs at crosswire.org
Sun Nov 28 14:34:00 MST 2004
Update of /cvs/jsword/bibledesktop/java/limbo/org/crosswire/bibledesktop/reference
In directory www.crosswire.org:/tmp/cvs-serv10798/java/limbo/org/crosswire/bibledesktop/reference
Modified Files:
ReferencedPane.java ReferenceTreeModel.java
Log Message:
intellij refactor - not critical
Index: ReferencedPane.java
===================================================================
RCS file: /cvs/jsword/bibledesktop/java/limbo/org/crosswire/bibledesktop/reference/ReferencedPane.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** ReferencedPane.java 2 Sep 2004 17:44:46 -0000 1.5
--- ReferencedPane.java 28 Nov 2004 21:33:58 -0000 1.6
***************
*** 61,65 ****
public class ReferencedPane extends JPanel implements BookDataDisplay
{
! /**
* Simple ctor
*/
--- 61,65 ----
public class ReferencedPane extends JPanel implements BookDataDisplay
{
! /**
* Simple ctor
*/
***************
*** 300,302 ****
private JScrollPane scrDisplay =new JScrollPane();
private JTree treEntries = new JTree();
! }
\ No newline at end of file
--- 300,307 ----
private JScrollPane scrDisplay =new JScrollPane();
private JTree treEntries = new JTree();
!
! /**
! * Serialization ID
! */
! private static final long serialVersionUID = 3546078077383031089L;
! }
Index: ReferenceTreeModel.java
===================================================================
RCS file: /cvs/jsword/bibledesktop/java/limbo/org/crosswire/bibledesktop/reference/ReferenceTreeModel.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** ReferenceTreeModel.java 25 Jun 2004 14:21:34 -0000 1.1
--- ReferenceTreeModel.java 28 Nov 2004 21:33:58 -0000 1.2
***************
*** 11,15 ****
/**
* A TreeModel for the ReferencePane.
! *
* <p><table border='1' cellPadding='3' cellSpacing='0'>
* <tr><td bgColor='white' class='TableRowColor'><font size='-7'>
--- 11,15 ----
/**
* A TreeModel for the ReferencePane.
! *
* <p><table border='1' cellPadding='3' cellSpacing='0'>
* <tr><td bgColor='white' class='TableRowColor'><font size='-7'>
***************
*** 60,64 ****
return -1;
}
!
TreeNode parentNode = (TreeNode) parent;
TreeNode childNode = (TreeNode) child;
--- 60,64 ----
return -1;
}
!
TreeNode parentNode = (TreeNode) parent;
TreeNode childNode = (TreeNode) child;
***************
*** 287,291 ****
* The length of the returned array gives the node's depth in the
* tree.
! *
* @param aNode the TreeNode to get the path for
*/
--- 287,291 ----
* The length of the returned array gives the node's depth in the
* tree.
! *
* @param aNode the TreeNode to get the path for
*/
***************
*** 300,309 ****
* The length of the returned array gives the node's depth in the
* tree.
! *
* @param aNode the TreeNode to get the path for
* @param depth an int giving the number of steps already taken towards
* the root (on recursive calls), used to size the returned array
* @return an array of TreeNodes giving the path from the root to the
! * specified node
*/
protected TreeNode[] getPathToRoot(TreeNode aNode, int depth)
--- 300,309 ----
* The length of the returned array gives the node's depth in the
* tree.
! *
* @param aNode the TreeNode to get the path for
* @param depth an int giving the number of steps already taken towards
* the root (on recursive calls), used to size the returned array
* @return an array of TreeNodes giving the path from the root to the
! * specified node
*/
protected TreeNode[] getPathToRoot(TreeNode aNode, int depth)
***************
*** 346,354 ****
* Adds a listener for the TreeModelEvent posted after the tree changes.
* @see ReferenceTreeModel#removeTreeModelListener(TreeModelListener)
! * @param l the listener to add
*/
! public void addTreeModelListener(TreeModelListener l)
{
! listenerList.add(TreeModelListener.class, l);
}
--- 346,354 ----
* Adds a listener for the TreeModelEvent posted after the tree changes.
* @see ReferenceTreeModel#removeTreeModelListener(TreeModelListener)
! * @param li the listener to add
*/
! public void addTreeModelListener(TreeModelListener li)
{
! listenerList.add(TreeModelListener.class, li);
}
***************
*** 356,370 ****
* Removes a listener previously added with <B>addTreeModelListener()</B>.
* @see ReferenceTreeModel#addTreeModelListener(TreeModelListener)
! * @param l the listener to remove
*/
! public void removeTreeModelListener(TreeModelListener l)
{
! listenerList.remove(TreeModelListener.class, l);
}
/**
* Notifies all listeners that have registered interest for
! * notification on this event type. The event instance
! * is lazily created using the parameters passed into
* the fire method.
*
--- 356,370 ----
* Removes a listener previously added with <B>addTreeModelListener()</B>.
* @see ReferenceTreeModel#addTreeModelListener(TreeModelListener)
! * @param li the listener to remove
*/
! public void removeTreeModelListener(TreeModelListener li)
{
! listenerList.remove(TreeModelListener.class, li);
}
/**
* Notifies all listeners that have registered interest for
! * notification on this event type. The event instance
! * is lazily created using the parameters passed into
* the fire method.
*
***************
*** 399,404 ****
/**
* Notifies all listeners that have registered interest for
! * notification on this event type. The event instance
! * is lazily created using the parameters passed into
* the fire method.
*
--- 399,404 ----
/**
* Notifies all listeners that have registered interest for
! * notification on this event type. The event instance
! * is lazily created using the parameters passed into
* the fire method.
*
***************
*** 433,438 ****
/**
* Notifies all listeners that have registered interest for
! * notification on this event type. The event instance
! * is lazily created using the parameters passed into
* the fire method.
*
--- 433,438 ----
/**
* Notifies all listeners that have registered interest for
! * notification on this event type. The event instance
! * is lazily created using the parameters passed into
* the fire method.
*
***************
*** 467,472 ****
/**
* Notifies all listeners that have registered interest for
! * notification on this event type. The event instance
! * is lazily created using the parameters passed into
* the fire method.
*
--- 467,472 ----
/**
* Notifies all listeners that have registered interest for
! * notification on this event type. The event instance
! * is lazily created using the parameters passed into
* the fire method.
*
***************
*** 501,506 ****
/*
* Notifies all listeners that have registered interest for
! * notification on this event type. The event instance
! * is lazily created using the parameters passed into
* the fire method.
*
--- 501,506 ----
/*
* Notifies all listeners that have registered interest for
! * notification on this event type. The event instance
! * is lazily created using the parameters passed into
* the fire method.
*
***************
*** 540,551 ****
/**
* Determines how the <code>isLeaf</code> method figures
! * out if a node is a leaf node. If true, a node is a leaf
! * node if it does not allow children. (If it allows
* children, it is not a leaf node, even if no children
* are present.) That lets you distinguish between <i>folder</i>
* nodes and <i>file</i> nodes in a file system, for example.
* <p>
! * If this value is false, then any node which has no
! * children is a leaf node, and any node may acquire
* children.
*/
--- 540,551 ----
/**
* Determines how the <code>isLeaf</code> method figures
! * out if a node is a leaf node. If true, a node is a leaf
! * node if it does not allow children. (If it allows
* children, it is not a leaf node, even if no children
* are present.) That lets you distinguish between <i>folder</i>
* nodes and <i>file</i> nodes in a file system, for example.
* <p>
! * If this value is false, then any node which has no
! * children is a leaf node, and any node may acquire
* children.
*/
More information about the jsword-svn
mailing list