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.