©
本文档使用
php中文网手册 发布
|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectjavax.swing.tree.AbstractLayoutCache.NodeDimensions
public abstract static class AbstractLayoutCache.NodeDimensions
由 AbstractLayoutCache 使用,用于确定特定节点的大小和 x 原点。
| 构造方法摘要 | |
|---|---|
AbstractLayoutCache.NodeDimensions()
|
|
| 方法摘要 | |
|---|---|
abstract Rectangle |
getNodeDimensions(Object value,
int row,
int depth,
boolean expanded,
Rectangle bounds)
通过对 bounds 的引用,返回用于保存值的节点的大小和其在 x 轴上的起点。 |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public AbstractLayoutCache.NodeDimensions()
| 方法详细信息 |
|---|
public abstract Rectangle getNodeDimensions(Object value,
int row,
int depth,
boolean expanded,
Rectangle bounds)
null,则返回新创建的 Rectangle,否则,将该值保存在 bounds 中,并返回该值。
value - 要表示的 valuerow - 查询的行depth - 行的深度expanded - 如果行已扩展,则为 true,否则为 falsebounds - 包含表示 value 所需大小的 Rectangle
Rectangle,如果节点没有尺寸,则返回 null
|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
版权所有 2004 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。