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, removeTreeModelListenerpublic 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 TreeTableModelgetColumnClass in class AbstractTreeTableModelcolumn - 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)
public void valueForPathChanged(TreePath path, Object newValue)
Copyright © 2001-2015. All Rights Reserved.