JavaTM Platform
Standard Ed. 6

javax.swing.tree
클래스 AbstractLayoutCache.NodeDimensions

java.lang.Object 
  상위를 확장 javax.swing.tree.AbstractLayoutCache.NodeDimensions
직계의 기존의 서브 클래스:
BasicTreeUI.NodeDimensionsHandler
포함되어 있는 클래스:
AbstractLayoutCache


public abstract static class AbstractLayoutCache.NodeDimensions
extends Object

어느 노드의 사이즈와 X 원점을 판정하기 위해서 AbstractLayoutCache 로 사용됩니다.


생성자 의 개요
AbstractLayoutCache.NodeDimensions ()
           
 
메소드의 개요
abstract  Rectangle getNodeDimensions (Object  value, int row, int depth, boolean expanded, Rectangle  bounds)
          사이즈와 값을 두는 X 원점을, 경계내의 참조에 의해 돌려줍니다.
 
클래스 java.lang. Object 로부터 상속된 메소드
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
 

생성자 의 상세

AbstractLayoutCache.NodeDimensions

public AbstractLayoutCache.NodeDimensions()
메소드의 상세

getNodeDimensions

public abstract Rectangle  getNodeDimensions(Object  value,
                                            int row,
                                            int depth,
                                            boolean expanded,
                                            Rectangle  bounds)
사이즈와 값을 두는 X 원점을, 경계내의 참조에 의해 돌려줍니다. 호출 메소드는, Y 의 위치를 판정합니다. 경계가 null 의 경우, 새롭게 작성된 Rectangle 가 돌려주어집니다. 그렇지 않은 경우, 값이 경계내에 놓여져, 돌려주어집니다.

파라미터:
value - 표현되는 value
row - 조회중의 행
depth - 행의 깊이
expanded - 행이 전개되고 있는 경우는 true, 그렇지 않은 경우는 false
bounds - value 를 나타내는데 필요한 사이즈를 포함한 Rectangle
반환값:
노드의 치수가 들어가는 Rectangle. 노드에 치수가 없는 경우는 null

JavaTM Platform
Standard Ed. 6

버그의 보고와 기능의 요청
한층 더 자세한 API 레퍼런스 및 개발자 문서에 대해서는,Java SE 개발자용 문서를 참조해 주세요. 개발자전용의 상세한 해설, 개념의 개요, 용어의 정의, 버그의 회피책, 및 코드 실례가 포함되어 있습니다.

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.