|
JavaTM Platform Standard Ed. 6 |
|||||||||
전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
public interface TreeCellEditor
트리로 에디터를 설정하는데 필요한 확장 기능을 CellEditor 에 추가합니다.
JTree
메소드의 개요 | |
---|---|
Component |
getTreeCellEditorComponent (JTree tree,
Object value,
boolean isSelected,
boolean expanded,
boolean leaf,
int row)
에디터의 초기치 value 를 설정합니다. |
인터페이스 javax.swing. CellEditor 로부터 상속된 메소드 |
---|
addCellEditorListener , cancelCellEditing , getCellEditorValue , isCellEditable , removeCellEditorListener , shouldSelectCell , stopCellEditing |
메소드의 상세 |
---|
Component getTreeCellEditorComponent(JTree tree, Object value, boolean isSelected, boolean expanded, boolean leaf, int row)
클라이언트의 Component 계층에 추가할 필요가 있는 컴퍼넌트를 돌려줍니다. 이 컴퍼넌트가 클라이언트의 계층에 짜넣어지면(자), 사용자 입력을 draw 및 수신할 수 있습니다.
tree
- 에디터에 편집을 요구하고 있는 JTree.
이 파라미터는 null 도 가능value
- 편집되는 셀치isSelected
- 셀을 하이라이트로 draw 하는 경우는 trueexpanded
- 노드가 전개되고 있는 경우는 trueleaf
- 노드가 잎노드의 경우는 truerow
- 편집중의 노드의 행 인덱스
|
JavaTM Platform Standard Ed. 6 |
|||||||||
전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.