public class ParseTreeModel extends AbstractTreeTableModel
コンストラクタと説明 |
---|
ParseTreeModel(DetailAST parseTree) |
修飾子とタイプ | メソッドと説明 |
---|---|
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 |
setValueAt(Object aValue,
Object node,
int column)
Sets the value for node
node ,
at column number column . |
addTreeModelListener, fireTreeNodesChanged, fireTreeNodesInserted, fireTreeNodesRemoved, fireTreeStructureChanged, getIndexOfChild, getRoot, isCellEditable, isLeaf, removeTreeModelListener, valueForPathChanged
public ParseTreeModel(DetailAST parseTree)
public int getColumnCount()
public String getColumnName(int column)
column
- the column numbercolumn
.public Class<?> getColumnClass(int column)
getColumnClass
インタフェース内 TreeTableModel
getColumnClass
クラス内 AbstractTreeTableModel
column
- the column numbercolumn
.public Object getValueAt(Object node, int column)
node
- the nodecolumn
- the column numbernode
,
at column number column
.public void setValueAt(Object aValue, Object node, int column)
TreeTableModel
node
,
at column number column
.setValueAt
インタフェース内 TreeTableModel
setValueAt
クラス内 AbstractTreeTableModel
aValue
- the value to setnode
- the node to set the value oncolumn
- the column numberpublic int getChildCount(Object parent)
Copyright © 2001-2013. All Rights Reserved.