public class ParseTreeModel extends AbstractTreeTableModel
Constructor and Description |
---|
ParseTreeModel(DetailAST parseTree) |
Modifier and Type | Method and Description |
---|---|
Object |
getChild(Object parent,
int index) |
int |
getChildCount(Object parent) |
Class<?> |
getColumnClass(int column) |
int |
getColumnCount() |
String |
getColumnName(int column) |
Object |
getValueAt(Object node,
int column) |
void |
valueForPathChanged(TreePath path,
Object newValue) |
addTreeModelListener, fireTreeNodesChanged, fireTreeNodesInserted, fireTreeNodesRemoved, getIndexOfChild, getRoot, isCellEditable, isLeaf, removeTreeModelListener
public ParseTreeModel(DetailAST parseTree)
parseTree
- DetailAST parse tree.public int getColumnCount()
public String getColumnName(int column)
column
- the column numbercolumn
.public Class<?> getColumnClass(int column)
getColumnClass
in interface TreeTableModel
getColumnClass
in class AbstractTreeTableModel
column
- the column numbercolumn
.public Object getValueAt(Object node, int column)
node
- the nodecolumn
- the column numbernode
,
at column number column
.public int getChildCount(Object parent)
Copyright © 2001–2015. All rights reserved.