public class PBillinfoDetailsModel extends AbstractTreeTableModel implements TreeTableModel
| Modifier and Type | Field and Description |
|---|---|
protected String[] |
cNames |
protected Class[] |
cTypes |
listenerList| Constructor and Description |
|---|
PBillinfoDetailsModel(TreeNode root)
Constructor for PBillinfoDetailsModel.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getChild(Object node,
int i)
Gets the child of the given node at given index.
|
int |
getChildCount(Object node)
Gets the child count of the given tree node
|
Class |
getColumnClass(int column)
Implementation for TreeTable model interface.
|
int |
getColumnCount()
Implementation of TreeTable model interface
|
String |
getColumnName(int column)
Returns the column name of the given column
|
Object |
getRoot()
Gets the root of this tree table model
|
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)
Implementation for TreeTable model interface.
|
boolean |
isLeaf(Object node)
Default implmentation for method in the TreeModel interface.
|
void |
setValueAt(Object aValue,
Object node,
int row,
int column)
Sets the value for node node, at row number row and column number column
|
addTreeModelListener, fireTreeNodesChanged, fireTreeNodesInserted, fireTreeNodesRemoved, fireTreeStructureChanged, getIndexOfChild, removeTreeModelListener, valueForPathChangedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddTreeModelListener, getIndexOfChild, removeTreeModelListener, valueForPathChangedpublic PBillinfoDetailsModel(TreeNode root)
root - root of the tree nodepublic Object getRoot()
getRoot in interface TreeModelgetRoot in class AbstractTreeTableModelpublic int getChildCount(Object node)
getChildCount in interface TreeModelnode - tree node whose childcount is neededpublic Object getChild(Object node, int i)
public boolean isLeaf(Object node)
AbstractTreeTableModelisLeaf in interface TreeModelisLeaf in class AbstractTreeTableModelpublic int getColumnCount()
getColumnCount in interface TreeTableModelpublic String getColumnName(int column)
getColumnName in interface TreeTableModelcolumn - numberpublic Class getColumnClass(int column)
getColumnClass in interface TreeTableModelgetColumnClass in class AbstractTreeTableModelpublic boolean isCellEditable(Object node, int column)
isCellEditable in interface TreeTableModelisCellEditable in class AbstractTreeTableModelnode - node of the treecolumn - coulmn numberpublic Object getValueAt(Object node, int column)
getValueAt in interface TreeTableModelnode - column - public void setValueAt(Object aValue, Object node, int row, int column)
setValueAt in interface TreeTableModelsetValueAt in class AbstractTreeTableModelaValue - node - row - column - Copyright © 2003, 2023, Oracle and/or its affiliates.