public interface TreeTableModel extends TreeModel
Module: swing-util-api
To use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>swing-util-api</artifactId> </dependency>
Modifier and Type | Method and Description |
---|---|
Class |
getColumnClass(int column)
Returns the type for column number
column . |
int |
getColumnCount()
Returns the number of available columns.
|
String |
getColumnName(int column)
Returns the name for column number
column . |
Object |
getValueAt(Object node,
int column)
Returns the value to be displayed for node
node ,
at column number column . |
boolean |
isCellEditable(Object node,
int column)
Indicates whether the the value for node
node ,
at column number column is editable. |
void |
setValueAt(Object aValue,
Object node,
int column)
Sets the value for node
node ,
at column number column . |
addTreeModelListener, getChild, getChildCount, getIndexOfChild, getRoot, isLeaf, removeTreeModelListener, valueForPathChanged
int getColumnCount()
String getColumnName(int column)
column
.column
- the column number.Class getColumnClass(int column)
column
.column
- the column number.Object getValueAt(Object node, int column)
node
,
at column number column
.node
- The node to check.column
- the column number.node
,
at column number column
.boolean isCellEditable(Object node, int column)
node
,
at column number column
is editable.node
- The node to check.column
- The column number.Copyright 2011-2015 Cytoscape Consortium. All rights reserved.