org.acm.seguin.ide.common
Class CPDDuplicateCodeViewer.Duplicate

java.lang.Object
  extended by javax.swing.tree.DefaultMutableTreeNode
      extended by org.acm.seguin.ide.common.CPDDuplicateCodeViewer.Duplicate
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode
Enclosing class:
CPDDuplicateCodeViewer

public class CPDDuplicateCodeViewer.Duplicate
extends javax.swing.tree.DefaultMutableTreeNode

Description of the Class

Author:
Mike Atkinson
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Constructor Summary
CPDDuplicateCodeViewer.Duplicate(java.lang.String filename, int beginLine, int endLine)
          Constructor for the Duplicate object
 
Method Summary
 int getBeginLine()
          Gets the beginLine attribute of the Duplicate object
 int getEndLine()
          Gets the endLine attribute of the Duplicate object
 java.lang.String getFilename()
          Gets the filename attribute of the Duplicate object
 java.lang.String toString()
          Description of the Method
 
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, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CPDDuplicateCodeViewer.Duplicate

public CPDDuplicateCodeViewer.Duplicate(java.lang.String filename,
                                        int beginLine,
                                        int endLine)
Constructor for the Duplicate object

Parameters:
filename - Description of Parameter
beginLine - Description of Parameter
endLine - Description of Parameter
Method Detail

getFilename

public java.lang.String getFilename()
Gets the filename attribute of the Duplicate object

Returns:
The filename value

getBeginLine

public int getBeginLine()
Gets the beginLine attribute of the Duplicate object

Returns:
The beginLine value

getEndLine

public int getEndLine()
Gets the endLine attribute of the Duplicate object

Returns:
The endLine value

toString

public java.lang.String toString()
Description of the Method

Overrides:
toString in class javax.swing.tree.DefaultMutableTreeNode
Returns:
Description of the Return Value