public abstract class AbstractTreeTableModel extends Object implements TreeTableModel
コンストラクタと説明 |
---|
AbstractTreeTableModel(Object root) |
修飾子とタイプ | メソッドと説明 |
---|---|
void |
addTreeModelListener(TreeModelListener l) |
protected void |
fireTreeNodesChanged(Object source,
Object[] path,
int[] childIndices,
Object[] children) |
protected void |
fireTreeNodesInserted(Object source,
Object[] path,
int[] childIndices,
Object[] children) |
protected void |
fireTreeNodesRemoved(Object source,
Object[] path,
int[] childIndices,
Object[] children) |
protected void |
fireTreeStructureChanged(Object source,
Object[] path,
int[] childIndices,
Object[] children) |
Class<?> |
getColumnClass(int column) |
int |
getIndexOfChild(Object parent,
Object child) |
Object |
getRoot() |
boolean |
isCellEditable(Object node,
int column)
By default, make the column with the Tree in it the only editable one.
|
boolean |
isLeaf(Object node) |
void |
removeTreeModelListener(TreeModelListener l) |
void |
setValueAt(Object aValue,
Object node,
int column)
Sets the value for node
node ,
at column number column . |
void |
valueForPathChanged(TreePath path,
Object newValue) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getColumnCount, getColumnName, getValueAt
getChild, getChildCount
public AbstractTreeTableModel(Object root)
public void valueForPathChanged(TreePath path, Object newValue)
valueForPathChanged
インタフェース内 TreeModel
public int getIndexOfChild(Object parent, Object child)
getIndexOfChild
インタフェース内 TreeModel
public void addTreeModelListener(TreeModelListener l)
addTreeModelListener
インタフェース内 TreeModel
public void removeTreeModelListener(TreeModelListener l)
removeTreeModelListener
インタフェース内 TreeModel
protected void fireTreeNodesChanged(Object source, Object[] path, int[] childIndices, Object[] children)
protected void fireTreeNodesInserted(Object source, Object[] path, int[] childIndices, Object[] children)
protected void fireTreeNodesRemoved(Object source, Object[] path, int[] childIndices, Object[] children)
protected void fireTreeStructureChanged(Object source, Object[] path, int[] childIndices, Object[] children)
public Class<?> getColumnClass(int column)
getColumnClass
インタフェース内 TreeTableModel
column
- the column numbercolumn
.public boolean isCellEditable(Object node, int column)
isCellEditable
インタフェース内 TreeTableModel
node
- the node.column
- the column numberpublic void setValueAt(Object aValue, Object node, int column)
TreeTableModel
node
,
at column number column
.setValueAt
インタフェース内 TreeTableModel
aValue
- the value to setnode
- the node to set the value oncolumn
- the column numberCopyright © 2001-2013. All Rights Reserved.