javax.swing.tree.TreeNode
, MutableTreeTableNode
, TreeTableNode
public class DefaultMutableTreeTableNode extends AbstractMutableTreeTableNode
allowsChildren, children, parent, userObject
Constructor | Description |
---|---|
DefaultMutableTreeTableNode() |
|
DefaultMutableTreeTableNode(java.lang.Object userObject) |
|
DefaultMutableTreeTableNode(java.lang.Object userObject,
boolean allowsChildren) |
Modifier and Type | Method | Description |
---|---|---|
int |
getColumnCount() |
Returns the number of columns supported by this
TreeTableNode . |
java.lang.Object |
getValueAt(int column) |
Gets the value for this node that corresponds to a particular tabular
column.
|
boolean |
isEditable(int column) |
Determines whether the specified column is editable.
|
void |
setValueAt(java.lang.Object aValue,
int column) |
Sets the value for the given
column . |
add, children, createChildrenList, getAllowsChildren, getChildAt, getChildCount, getIndex, getParent, getUserObject, insert, isLeaf, remove, remove, removeFromParent, setAllowsChildren, setParent, setUserObject, toString
public DefaultMutableTreeTableNode()
public DefaultMutableTreeTableNode(java.lang.Object userObject)
userObject
- public DefaultMutableTreeTableNode(java.lang.Object userObject, boolean allowsChildren)
userObject
- allowsChildren
- public java.lang.Object getValueAt(int column)
column
- the column to querypublic int getColumnCount()
TreeTableNode
.public boolean isEditable(int column)
isEditable
in interface TreeTableNode
isEditable
in class AbstractMutableTreeTableNode
column
- the column to queryfalse
public void setValueAt(java.lang.Object aValue, int column)
column
.setValueAt
in interface TreeTableNode
setValueAt
in class AbstractMutableTreeTableNode
aValue
- the value to setcolumn
- the column to set the value on