Class SimpleNodeTreeNodeAdapter
- java.lang.Object
-
- net.sourceforge.pmd.util.viewer.model.SimpleNodeTreeNodeAdapter
-
- All Implemented Interfaces:
TreeNode
@Deprecated public class SimpleNodeTreeNodeAdapter extends Object implements TreeNode
Deprecated.provides the adapter for the tree model- Version:
- $Id$
- Author:
- Boris Gruschko ( boris at gruschko.org )
-
-
Constructor Summary
Constructors Constructor Description SimpleNodeTreeNodeAdapter(SimpleNodeTreeNodeAdapter parent, Node node)
Deprecated.constructs the node
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Enumeration<TreeNode>
children()
Deprecated.boolean
getAllowsChildren()
Deprecated.TreeNode
getChildAt(int childIndex)
Deprecated.int
getChildCount()
Deprecated.int
getIndex(TreeNode node)
Deprecated.TreeNode
getParent()
Deprecated.Node
getSimpleNode()
Deprecated.retrieves the underlying nodeboolean
isLeaf()
Deprecated.String
toString()
Deprecated.
-
-
-
Constructor Detail
-
SimpleNodeTreeNodeAdapter
public SimpleNodeTreeNodeAdapter(SimpleNodeTreeNodeAdapter parent, Node node)
Deprecated.constructs the node- Parameters:
node
- underlying AST's node
-
-
Method Detail
-
getSimpleNode
public Node getSimpleNode()
Deprecated.retrieves the underlying node- Returns:
- AST node
-
getChildAt
public TreeNode getChildAt(int childIndex)
Deprecated.- Specified by:
getChildAt
in interfaceTreeNode
- See Also:
TreeNode.getChildAt(int)
-
getChildCount
public int getChildCount()
Deprecated.- Specified by:
getChildCount
in interfaceTreeNode
- See Also:
TreeNode.getChildCount()
-
getParent
public TreeNode getParent()
Deprecated.- Specified by:
getParent
in interfaceTreeNode
- See Also:
TreeNode.getParent()
-
getIndex
public int getIndex(TreeNode node)
Deprecated.- Specified by:
getIndex
in interfaceTreeNode
- See Also:
TreeNode.getIndex(javax.swing.tree.TreeNode)
-
getAllowsChildren
public boolean getAllowsChildren()
Deprecated.- Specified by:
getAllowsChildren
in interfaceTreeNode
- See Also:
TreeNode.getAllowsChildren()
-
isLeaf
public boolean isLeaf()
Deprecated.- Specified by:
isLeaf
in interfaceTreeNode
- See Also:
TreeNode.isLeaf()
-
children
public Enumeration<TreeNode> children()
Deprecated.- Specified by:
children
in interfaceTreeNode
- See Also:
TreeNode.children()
-
toString
public String toString()
Deprecated.- Overrides:
toString
in classObject
- See Also:
Object.toString()
-
-