public abstract static class AbstractLayoutCache.NodeDimensions extends Object
AbstractLayoutCache
用于确定特定节点的大小和x起点。
Constructor and Description |
---|
NodeDimensions() |
public abstract Rectangle getNodeDimensions(Object value, int row, int depth, boolean expanded, Rectangle bounds)
null
,则应返回新创建的Rectangle
,否则该值应放置在边界并返回。
value
-的
value
被表示
row
- 正在查询的行
depth
- 行的深度
expanded
- 如果行被展开,则为true,否则为false
bounds
- a
Rectangle
包含所需的大小,代表
value
Rectangle
包含节点的尺寸,或
null
如果节点没有尺寸
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.