|
Cytoscape 2.8.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cytoscape.util.swing.AbstractTreeTableModel
public abstract class AbstractTreeTableModel
Field Summary | |
---|---|
protected EventListenerList |
listenerList
|
protected Object |
root
|
Constructor Summary | |
---|---|
AbstractTreeTableModel(Object root)
Creates a new AbstractTreeTableModel object. |
Method Summary | |
---|---|
void |
addTreeModelListener(TreeModelListener l)
DOCUMENT ME! |
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)
DOCUMENT ME! |
int |
getIndexOfChild(Object parent,
Object child)
DOCUMENT ME! |
Object |
getRoot()
DOCUMENT ME! |
boolean |
isCellEditable(Object node,
int column)
By default, make the column with the Tree in it the only editable one. |
boolean |
isLeaf(Object node)
DOCUMENT ME! |
void |
removeTreeModelListener(TreeModelListener l)
DOCUMENT ME! |
void |
setValueAt(Object aValue,
Object node,
int column)
DOCUMENT ME! |
void |
valueForPathChanged(TreePath path,
Object newValue)
DOCUMENT ME! |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface cytoscape.util.swing.TreeTableModel |
---|
getColumnCount, getColumnName, getValueAt |
Methods inherited from interface javax.swing.tree.TreeModel |
---|
getChild, getChildCount |
Field Detail |
---|
protected Object root
protected EventListenerList listenerList
Constructor Detail |
---|
public AbstractTreeTableModel(Object root)
root
- DOCUMENT ME!Method Detail |
---|
public Object getRoot()
getRoot
in interface TreeModel
public boolean isLeaf(Object node)
isLeaf
in interface TreeModel
node
- DOCUMENT ME!
public void valueForPathChanged(TreePath path, Object newValue)
valueForPathChanged
in interface TreeModel
path
- DOCUMENT ME!newValue
- DOCUMENT ME!public int getIndexOfChild(Object parent, Object child)
getIndexOfChild
in interface TreeModel
parent
- DOCUMENT ME!child
- DOCUMENT ME!
public void addTreeModelListener(TreeModelListener l)
addTreeModelListener
in interface TreeModel
l
- DOCUMENT ME!public void removeTreeModelListener(TreeModelListener l)
removeTreeModelListener
in interface TreeModel
l
- DOCUMENT ME!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
in interface TreeTableModel
column
- DOCUMENT ME!
public boolean isCellEditable(Object node, int column)
isCellEditable
in interface TreeTableModel
public void setValueAt(Object aValue, Object node, int column)
setValueAt
in interface TreeTableModel
aValue
- DOCUMENT ME!node
- DOCUMENT ME!column
- DOCUMENT ME!
|
Cytoscape 2.8.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |