public class PRemoveBillInProgressModel extends DefaultTreeModel implements TreeTableModel
asksAllowsChildren, listenerList, root
Constructor and Description |
---|
PRemoveBillInProgressModel(PRemoveBillInProgressNode root) |
Modifier and Type | Method and Description |
---|---|
Object |
getChild(Object node,
int i)
Returns the child of
node at index i . |
int |
getChildCount(Object node)
Returns the number of children of
node . |
protected Object[] |
getChildren(Object node)
returns array of children.
|
Class |
getColumnClass(int column)
Returns the class for the particular column
|
int |
getColumnCount()
Returns the number of columns.
|
String |
getColumnName(int column)
Returns the name for a particular column.
|
Object |
getValueAt(Object node,
int column)
Returns the value of the particular column.
|
boolean |
isCellEditable(int row,
int col) |
boolean |
isCellEditable(Object node,
int column)
Returns true if there is a setter method name for column
column . |
boolean |
isLeaf(Object node)
Returns true if the passed in object represents a leaf
|
void |
setValueAt(Object aValue,
Object node,
int column)
Sets the value for 'node' at 'column'.
|
void |
setValueAt(Object value,
Object node,
int row,
int column)
Sets incomming value in to the tree node
|
void |
valueForPathChanged(TreePath path,
Object newValue)
Messaged when user altered the item identified by 'path' to 'newValue'
|
addTreeModelListener, asksAllowsChildren, fireTreeNodesChanged, fireTreeNodesInserted, fireTreeNodesRemoved, fireTreeStructureChanged, getIndexOfChild, getListeners, getPathToRoot, getPathToRoot, getRoot, getTreeModelListeners, insertNodeInto, nodeChanged, nodesChanged, nodeStructureChanged, nodesWereInserted, nodesWereRemoved, reload, reload, removeNodeFromParent, removeTreeModelListener, setAsksAllowsChildren, setRoot
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addTreeModelListener, getIndexOfChild, getRoot, removeTreeModelListener
public PRemoveBillInProgressModel(PRemoveBillInProgressNode root)
PRemoveBillInProgressNode
- rootpublic Object getChild(Object node, int i)
node
at index i
.getChild
in interface TreeModel
getChild
in class DefaultTreeModel
public int getChildCount(Object node)
node
.getChildCount
in interface TreeModel
getChildCount
in class DefaultTreeModel
public boolean isLeaf(Object node)
isLeaf
in interface TreeModel
isLeaf
in class DefaultTreeModel
public int getColumnCount()
getColumnCount
in interface TreeTableModel
public String getColumnName(int column)
getColumnName
in interface TreeTableModel
public Class getColumnClass(int column)
getColumnClass
in interface TreeTableModel
public Object getValueAt(Object node, int column)
getValueAt
in interface TreeTableModel
public boolean isCellEditable(int row, int col)
public void setValueAt(Object aValue, Object node, int column)
public void valueForPathChanged(TreePath path, Object newValue)
valueForPathChanged
in interface TreeModel
valueForPathChanged
in class DefaultTreeModel
public boolean isCellEditable(Object node, int column)
column
. This is set in the constructor.isCellEditable
in interface TreeTableModel
public void setValueAt(Object value, Object node, int row, int column)
setValueAt
in interface TreeTableModel
value
- Objectnode
- Objectrow
- intcolumn
- intCopyright © 2003, 2023, Oracle and/or its affiliates.