public class BasicTreeUI.NodeDimensionsHandler extends AbstractLayoutCache.NodeDimensions
Constructor and Description |
---|
NodeDimensionsHandler() |
public Rectangle getNodeDimensions(Object value, int row, int depth, boolean expanded, Rectangle size)
getNodeDimensions
方法重写,继承类
AbstractLayoutCache.NodeDimensions
value
-
value
来表示
row
排正在查询
depth
-行的深度
expanded
-如果行扩大,否则为假
size
-
Rectangle
含有需要
value
大小
Rectangle
包含节点的尺寸,或
null
如果节点没有尺寸
protected int getRowX(int row, int depth)
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.