public class CreditLimitModel extends AbstractTreeTableModel implements TreeTableModel
Modifier and Type | Field and Description |
---|---|
protected String[] |
cNames |
protected Class[] |
cTypes |
listenerList, root
Constructor and Description |
---|
CreditLimitModel(TreeNode node) |
Modifier and Type | Method and Description |
---|---|
Object |
getChild(Object node,
int i) |
int |
getChildCount(Object node) |
Class |
getColumnClass(int column)
Default implmentation for method in the TreeModel interface.
|
int |
getColumnCount()
Returns the number ofs availible column.
|
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)
By default, make the column with the Tree in it the only editable one.
|
boolean |
isLeaf(Object node)
Default implmentation for method in the TreeModel interface.
|
void |
setValueAt(Object aValue,
Object node,
int row,
int column)
Default implmentation for method in the TreeModel interface.
|
addTreeModelListener, fireTreeNodesChanged, fireTreeNodesInserted, fireTreeNodesRemoved, fireTreeStructureChanged, getIndexOfChild, getRoot, removeTreeModelListener, valueForPathChanged
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addTreeModelListener, getIndexOfChild, getRoot, removeTreeModelListener, valueForPathChanged
public CreditLimitModel(TreeNode node)
public int getChildCount(Object node)
getChildCount
in interface TreeModel
public boolean isLeaf(Object node)
AbstractTreeTableModel
isLeaf
in interface TreeModel
isLeaf
in class AbstractTreeTableModel
public int getColumnCount()
TreeTableModel
getColumnCount
in interface TreeTableModel
public String getColumnName(int column)
TreeTableModel
column
.getColumnName
in interface TreeTableModel
public Class getColumnClass(int column)
AbstractTreeTableModel
getColumnClass
in interface TreeTableModel
getColumnClass
in class AbstractTreeTableModel
public boolean isCellEditable(Object node, int column)
AbstractTreeTableModel
isCellEditable
in interface TreeTableModel
isCellEditable
in class AbstractTreeTableModel
public Object getValueAt(Object node, int column)
TreeTableModel
node
,
at column number column
.getValueAt
in interface TreeTableModel
public void setValueAt(Object aValue, Object node, int row, int column)
AbstractTreeTableModel
setValueAt
in interface TreeTableModel
setValueAt
in class AbstractTreeTableModel
Copyright © 2003, 2023, Oracle and/or its affiliates.