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 - 如果行被展开,则为true,否则为false
size - a
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.