|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
public interface MutableTreeNode
자식(child) 노드의 추가 또는 삭제, 또는 노드에 포함되고 있는 사용자 객체의 내용 변경에 의해 변경할 수 있는, 트리 노드의 객체에 관한 필요 조건을 정의합니다.
DefaultMutableTreeNode
,
JTree
메소드의 개요 | |
---|---|
void |
insert (MutableTreeNode child,
int index)
index 위치의 리시버에 child 를 추가합니다. |
void |
remove (int index)
리시버로부터 index 의 아이를 삭제합니다. |
void |
remove (MutableTreeNode node)
리시버로부터 node 를 삭제합니다. |
void |
removeFromParent ()
리시버를 그 부모로부터 삭제합니다. |
void |
setParent (MutableTreeNode newParent)
리시버의 부모를 newParent 로 설정합니다. |
void |
setUserObject (Object object)
리시버의 사용자 객체를 object 에 리셋 합니다. |
인터페이스 javax.swing.tree. TreeNode 로부터 상속된 메소드 |
---|
children , getAllowsChildren , getChildAt , getChildCount , getIndex , getParent , isLeaf |
메소드의 상세 |
---|
void insert(MutableTreeNode child, int index)
index
위치의 리시버에 child
를 추가합니다. 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
로 설정합니다.
|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.