|
JavaTM Platform Standard Ed. 6 |
|||||||||
전 다음 | 프레임 있어 프레임 없음 |
JTree 를 사용하고 있는 패키지 | |
---|---|
javax.swing | 모든 플랫폼에서 가능한 한 똑같이 기능하는 「경량」(Java 공통 언어) 컴퍼넌트세트를 제공합니다. |
javax.swing.plaf | 1 개의 인터페이스 및 많은 abstract 클래스를 제공하고 있어, Swing 는, 플러그 인 가능한 Look & Feel 기능을 실현하기 위해서(때문에) 이러한 클래스를 이용합니다. |
javax.swing.plaf.basic | 기본 Look & Feel 에 따라 구축된 사용자 인터페이스 객체를 제공합니다. |
javax.swing.plaf.multi | 복수의 Look & Feel 를 결합하는 사용자 인터페이스 객체를 제공합니다. |
javax.swing.tree | javax.swing.JTree 를 처리하기 위한 클래스와 인터페이스를 제공합니다. |
javax.swing 에서의 JTree 의 사용 |
---|
JTree 형의 파라미터를 가지는 javax.swing 의 메소드 | |
---|---|
Component |
DefaultCellEditor. getTreeCellEditorComponent (JTree tree,
Object value,
boolean isSelected,
boolean expanded,
boolean leaf,
int row)
TreeCellEditor 인터페이스를 구현합니다. |
JTree 형의 파라미터를 가지는 javax.swing 의 생성자 | |
---|---|
JTree.AccessibleJTree.AccessibleJTreeNode (JTree t,
TreePath p,
Accessible ap)
AccessibleJTreeNode 를 구축합니다. |
javax.swing.plaf 에서의 JTree 의 사용 |
---|
JTree 형의 파라미터를 가지는 javax.swing.plaf 의 메소드 | |
---|---|
abstract void |
TreeUI. cancelEditing (JTree tree)
현재의 편집 세션을 취소합니다. |
abstract TreePath |
TreeUI. getClosestPathForLocation (JTree tree,
int x,
int y)
x, y 에 가장 가까운 노드에의 패스를 돌려줍니다. |
abstract TreePath |
TreeUI. getEditingPath (JTree tree)
편집중의 요소에 대한 패스를 돌려줍니다. |
abstract Rectangle |
TreeUI. getPathBounds (JTree tree,
TreePath path)
패스의 마지막 항목이 draw 되는 라벨 부분을 둘러싸는 Rectangle 를 돌려줍니다. |
abstract TreePath |
TreeUI. getPathForRow (JTree tree,
int row)
건네받은 row 의 패스를 돌려줍니다. |
abstract int |
TreeUI. getRowCount (JTree tree)
표시되고 있는 행수를 돌려줍니다. |
abstract int |
TreeUI. getRowForPath (JTree tree,
TreePath path)
path 로 식별되는 마지막 항목이 가시인 행을 돌려줍니다. |
abstract boolean |
TreeUI. isEditing (JTree tree)
트리가 편집되고 있는 경우에 true 를 돌려줍니다. |
abstract void |
TreeUI. startEditingAtPath (JTree tree,
TreePath path)
path 의 마지막 항목을 선택해, 그 항목의 편집을 시도합니다. |
abstract boolean |
TreeUI. stopEditing (JTree tree)
현재의 편집 세션을 중지합니다. |
javax.swing.plaf.basic 에서의 JTree 의 사용 |
---|
JTree 로서 선언되고 있는 javax.swing.plaf.basic 의 필드 | |
---|---|
protected JTree |
BasicTreeUI. tree
draw처의 컴퍼넌트입니다. |
JTree 형의 파라미터를 가지는 javax.swing.plaf.basic 의 메소드 | |
---|---|
void |
BasicTreeUI. cancelEditing (JTree tree)
현재의 편집 세션을 취소합니다. |
TreePath |
BasicTreeUI. getClosestPathForLocation (JTree tree,
int x,
int y)
x, y 에 가장 가까운 노드에의 패스를 돌려줍니다. |
TreePath |
BasicTreeUI. getEditingPath (JTree tree)
편집중의 요소에 대한 패스를 돌려줍니다. |
Rectangle |
BasicTreeUI. getPathBounds (JTree tree,
TreePath path)
패스의 마지막 항목이 draw 되는 라벨 부분을 둘러싸는 Rectangle 를 돌려줍니다. |
TreePath |
BasicTreeUI. getPathForRow (JTree tree,
int row)
건네받은 row 의 패스를 돌려줍니다. |
int |
BasicTreeUI. getRowCount (JTree tree)
표시되고 있는 행수를 돌려줍니다. |
int |
BasicTreeUI. getRowForPath (JTree tree,
TreePath path)
path 로 식별되는 마지막 항목이 가시인 행을 돌려줍니다. |
boolean |
BasicTreeUI. isEditing (JTree tree)
트리가 편집되고 있는 경우에 true 를 돌려줍니다. |
void |
BasicTreeUI. startEditingAtPath (JTree tree,
TreePath path)
path 의 마지막 항목을 선택해, 그 항목의 편집을 시도합니다. |
boolean |
BasicTreeUI. stopEditing (JTree tree)
현재의 편집 세션을 중지합니다. |
javax.swing.plaf.multi 에서의 JTree 의 사용 |
---|
JTree 형의 파라미터를 가지는 javax.swing.plaf.multi 의 메소드 | |
---|---|
void |
MultiTreeUI. cancelEditing (JTree a)
이 객체가 취급하는 각 UI 로 cancelEditing 메소드를 호출합니다. |
TreePath |
MultiTreeUI. getClosestPathForLocation (JTree a,
int b,
int c)
이 객체가 취급하는 각 UI 로 getClosestPathForLocation 메소드를 호출합니다. |
TreePath |
MultiTreeUI. getEditingPath (JTree a)
이 객체가 취급하는 각 UI 로 getEditingPath 메소드를 호출합니다. |
Rectangle |
MultiTreeUI. getPathBounds (JTree a,
TreePath b)
이 객체가 취급하는 각 UI 로 getPathBounds 메소드를 호출합니다. |
TreePath |
MultiTreeUI. getPathForRow (JTree a,
int b)
이 객체가 취급하는 각 UI 로 getPathForRow 메소드를 호출합니다. |
int |
MultiTreeUI. getRowCount (JTree a)
이 객체가 취급하는 각 UI 로 getRowCount 메소드를 호출합니다. |
int |
MultiTreeUI. getRowForPath (JTree a,
TreePath b)
이 객체가 취급하는 각 UI 로 getRowForPath 메소드를 호출합니다. |
boolean |
MultiTreeUI. isEditing (JTree a)
이 객체가 취급하는 각 UI 로 isEditing 메소드를 호출합니다. |
void |
MultiTreeUI. startEditingAtPath (JTree a,
TreePath b)
이 객체가 취급하는 각 UI 로 startEditingAtPath 메소드를 호출합니다. |
boolean |
MultiTreeUI. stopEditing (JTree a)
이 객체가 취급하는 각 UI 로 stopEditing 메소드를 호출합니다. |
javax.swing.tree 에서의 JTree 의 사용 |
---|
JTree 로서 선언되고 있는 javax.swing.tree 의 필드 | |
---|---|
protected JTree |
DefaultTreeCellEditor. tree
대기도 행하고 있는 JTree 의 인스턴스입니다. |
JTree 형의 파라미터를 가지는 javax.swing.tree 의 메소드 | |
---|---|
protected void |
DefaultTreeCellEditor. determineOffset (JTree tree,
Object value,
boolean isSelected,
boolean expanded,
boolean leaf,
int row)
|
Component |
TreeCellEditor. getTreeCellEditorComponent (JTree tree,
Object value,
boolean isSelected,
boolean expanded,
boolean leaf,
int row)
에디터의 초기치 value 를 설정합니다. |
Component |
DefaultTreeCellEditor. getTreeCellEditorComponent (JTree tree,
Object value,
boolean isSelected,
boolean expanded,
boolean leaf,
int row)
에디터를 설정합니다. |
Component |
DefaultTreeCellRenderer. getTreeCellRendererComponent (JTree tree,
Object value,
boolean sel,
boolean expanded,
boolean leaf,
int row,
boolean hasFocus)
컴퍼넌트에게 건네지는 내용에 근거해 렌더링을 설정합니다. |
Component |
TreeCellRenderer. getTreeCellRendererComponent (JTree tree,
Object value,
boolean selected,
boolean expanded,
boolean leaf,
int row,
boolean hasFocus)
현재의 트리 셀의 값을 value 로 설정합니다. |
protected void |
DefaultTreeCellEditor. setTree (JTree newTree)
현재 편집 대상의 트리를 설정합니다. |
JTree 형의 파라미터를 가지는 javax.swing.tree 의 생성자 | |
---|---|
DefaultTreeCellEditor (JTree tree,
DefaultTreeCellRenderer renderer)
지정된 렌더링과 디폴트의 에디터를 사용해, JTree 용의 DefaultTreeCellEditor 객체를 구축합니다 (일반적으로의 편집에는 이 생성자 을 사용). |
|
DefaultTreeCellEditor (JTree tree,
DefaultTreeCellRenderer renderer,
TreeCellEditor editor)
지정된 렌더링과 지정된 에디터를 사용해, JTree 용의 DefaultTreeCellEditor 객체를 구축합니다 (특수한 편집에는 이 생성자 을 사용). |
|
JavaTM Platform Standard Ed. 6 |
|||||||||
전 다음 | 프레임 있어 프레임 없음 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.