public interface MutableTreeNode extends TreeNode
DefaultMutableTreeNode
,
JTree
Modifier and Type | Method and Description |
---|---|
void |
insert(MutableTreeNode child, int index)
增加了
child 在
index 接收机。
|
void |
remove(int index)
将孩子从接收机
index 。
|
void |
remove(MutableTreeNode node)
删除从接收机
node 。
|
void |
removeFromParent()
移除其母公司的接收器。
|
void |
setParent(MutableTreeNode newParent)
集
newParent 接收器的母。
|
void |
setUserObject(Object object)
将接收器的用户对象
object 。
|
children, getAllowsChildren, getChildAt, getChildCount, getIndex, getParent, isLeaf
void insert(MutableTreeNode child, int index)
child
在
index
接收机。
child
将信息与
setParent
。
void remove(int index)
index
。
void remove(MutableTreeNode node)
node
。
setParent
将消息在
node
。
void setUserObject(Object object)
object
。
void removeFromParent()
void setParent(MutableTreeNode newParent)
newParent
接收器的母。
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.