org.acm.seguin.ide.common
Class CodingStandardsViewer.Violation

java.lang.Object
  extended by javax.swing.tree.DefaultMutableTreeNode
      extended by org.acm.seguin.ide.common.CodingStandardsViewer.Violation
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode
Direct Known Subclasses:
CodingStandardsViewer.Refactor
Enclosing class:
CodingStandardsViewer

public class CodingStandardsViewer.Violation
extends javax.swing.tree.DefaultMutableTreeNode

This holds the information about a coding standards violation in the tree view.

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
CodingStandardsViewer.Violation(java.lang.String filename, int line, java.lang.String description)
          Constructor for the Duplicate object
 
Method Summary
 java.lang.String getDescription()
          Gets the endLine attribute of the Duplicate object
 java.lang.String getFilename()
          Gets the filename attribute of the Duplicate object
 int getLine()
          Gets the beginLine 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

CodingStandardsViewer.Violation

public CodingStandardsViewer.Violation(java.lang.String filename,
                                       int line,
                                       java.lang.String description)
Constructor for the Duplicate object

Parameters:
filename - Description of Parameter
line - Description of Parameter
description - Description of Parameter
Method Detail

getFilename

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

Returns:
The filename value

getLine

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

Returns:
The beginLine value

getDescription

public java.lang.String getDescription()
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