public interface TreeTableNode extends TreeNode
JXTreeTable
.Modifier and Type | Method and Description |
---|---|
Enumeration<? extends TreeTableNode> |
children()
Returns an enumeration this node's children.
|
TreeTableNode |
getChildAt(int childIndex)
Overridden to specify the return type.
|
int |
getColumnCount()
Returns the number of columns supported by this
TreeTableNode . |
TreeTableNode |
getParent()
Overridden to specify the return type.
|
Object |
getUserObject()
Returns this node's user object.
|
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 |
setUserObject(Object userObject)
Sets the user object stored in this node.
|
void |
setValueAt(Object aValue,
int column)
Sets the value for the given
column . |
getAllowsChildren, getChildCount, getIndex, isLeaf
Enumeration<? extends TreeTableNode> children()
Object getValueAt(int column)
column
- the column to queryIndexOutOfBoundsException
- if column
is not a valid column indexTreeTableNode getChildAt(int childIndex)
TreeNode
at index childIndex
. Models that utilize this node should verify
the column count before querying this node, since nodes may return
differing sizes even for the same model.getChildAt
in interface TreeNode
childIndex
- the index of the childTreeTableNode
corresponding to the specified indexint getColumnCount()
TreeTableNode
.TreeTableNode getParent()
TreeTableNode
of the receiver.boolean isEditable(int column)
column
- the column to querytrue
if the column is editable, false
otherwisevoid setValueAt(Object aValue, int column)
column
.aValue
- the value to setcolumn
- the column to set the value onObject getUserObject()
void setUserObject(Object userObject)
userObject
- the object to storeWebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses