|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
java.lang.Objectjavax.swing.plaf.ComponentUI
javax.swing.plaf.TreeUI
public abstract class TreeUI
JTree 용의 플러그 인 가능한 Look & Feel 인터페이스입니다.
생성자 의 개요 | |
---|---|
TreeUI ()
|
메소드의 개요 | |
---|---|
abstract void |
cancelEditing (JTree tree)
현재의 편집 세션을 취소합니다. |
abstract TreePath |
getClosestPathForLocation (JTree tree,
int x,
int y)
x, y 에 가장 가까운 노드에의 패스를 돌려줍니다. |
abstract TreePath |
getEditingPath (JTree tree)
편집중의 요소에 대한 패스를 돌려줍니다. |
abstract Rectangle |
getPathBounds (JTree tree,
TreePath path)
패스의 마지막 항목이 draw 되는 라벨 부분을 둘러싸는 Rectangle 를 돌려줍니다. |
abstract TreePath |
getPathForRow (JTree tree,
int row)
건네받은 row 의 패스를 돌려줍니다. |
abstract int |
getRowCount (JTree tree)
표시되고 있는 행수를 돌려줍니다. |
abstract int |
getRowForPath (JTree tree,
TreePath path)
path 로 식별되는 마지막 항목이 가시인 행을 돌려줍니다. |
abstract boolean |
isEditing (JTree tree)
트리가 편집되고 있는 경우에 true 를 돌려줍니다. |
abstract void |
startEditingAtPath (JTree tree,
TreePath path)
path 의 마지막 항목을 선택해, 그 항목의 편집을 시도합니다. |
abstract boolean |
stopEditing (JTree tree)
현재의 편집 세션을 중지합니다. |
클래스 javax.swing.plaf. ComponentUI 로부터 상속된 메소드 |
---|
contains , createUI , getAccessibleChild , getAccessibleChildrenCount , getBaseline , getBaselineResizeBehavior , getMaximumSize , getMinimumSize , getPreferredSize , installUI , paint , uninstallUI , update |
클래스 java.lang. Object 로부터 상속된 메소드 |
---|
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait |
생성자 의 상세 |
---|
public TreeUI()
메소드의 상세 |
---|
public abstract Rectangle getPathBounds(JTree tree, TreePath path)
public abstract TreePath getPathForRow(JTree tree, int row)
public abstract int getRowForPath(JTree tree, TreePath path)
public abstract int getRowCount(JTree tree)
public abstract TreePath getClosestPathForLocation(JTree tree, int x, int y)
public abstract boolean isEditing(JTree tree)
public abstract boolean stopEditing(JTree tree)
public abstract void cancelEditing(JTree tree)
public abstract void startEditingAtPath(JTree tree, TreePath path)
public abstract TreePath getEditingPath(JTree tree)
|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.