Class ASTModel
- java.lang.Object
-
- net.sourceforge.pmd.util.viewer.model.ASTModel
-
- All Implemented Interfaces:
TreeModel
@Deprecated public class ASTModel extends Object implements TreeModel
Deprecated.Model for the AST Panel Tree component- Version:
- $Id$
- Author:
- Boris Gruschko ( boris at gruschko.org )
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addTreeModelListener(TreeModelListener l)
Deprecated.protected void
fireTreeModelEvent(TreeModelEvent e)
Deprecated.Object
getChild(Object parent, int index)
Deprecated.int
getChildCount(Object parent)
Deprecated.int
getIndexOfChild(Object parent, Object child)
Deprecated.Object
getRoot()
Deprecated.boolean
isLeaf(Object node)
Deprecated.void
removeTreeModelListener(TreeModelListener l)
Deprecated.void
valueForPathChanged(TreePath path, Object newValue)
Deprecated.
-
-
-
Constructor Detail
-
ASTModel
public ASTModel(Node root)
Deprecated.creates the tree model- Parameters:
root
- tree's root
-
-
Method Detail
-
getChildCount
public int getChildCount(Object parent)
Deprecated.- Specified by:
getChildCount
in interfaceTreeModel
- See Also:
TreeModel.getChildCount(java.lang.Object)
-
getIndexOfChild
public int getIndexOfChild(Object parent, Object child)
Deprecated.- Specified by:
getIndexOfChild
in interfaceTreeModel
- See Also:
TreeModel.getIndexOfChild(java.lang.Object,java.lang.Object)
-
isLeaf
public boolean isLeaf(Object node)
Deprecated.- Specified by:
isLeaf
in interfaceTreeModel
- See Also:
TreeModel.isLeaf(java.lang.Object)
-
getRoot
public Object getRoot()
Deprecated.- Specified by:
getRoot
in interfaceTreeModel
- See Also:
TreeModel.getRoot()
-
valueForPathChanged
public void valueForPathChanged(TreePath path, Object newValue)
Deprecated.- Specified by:
valueForPathChanged
in interfaceTreeModel
- See Also:
TreeModel.valueForPathChanged(javax.swing.tree.TreePath,java.lang.Object)
-
addTreeModelListener
public void addTreeModelListener(TreeModelListener l)
Deprecated.- Specified by:
addTreeModelListener
in interfaceTreeModel
- See Also:
TreeModel.addTreeModelListener(javax.swing.event.TreeModelListener)
-
removeTreeModelListener
public void removeTreeModelListener(TreeModelListener l)
Deprecated.- Specified by:
removeTreeModelListener
in interfaceTreeModel
- See Also:
TreeModel.removeTreeModelListener(javax.swing.event.TreeModelListener)
-
fireTreeModelEvent
protected void fireTreeModelEvent(TreeModelEvent e)
Deprecated.
-
-