|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectjavax.swing.text.html.StyleSheet.ListPainter
public static class StyleSheet.ListPainter
要执行某些 CSS 列表格式化任务的类。此类的实现使视图能够在不知道如何缓存 CSS 值的情况下以 CSS 格式显示。
| 方法摘要 | |
|---|---|
void |
paint(Graphics g,
float x,
float y,
float w,
float h,
View v,
int item)
根据给定的属性绘制 CSS 列表装饰。 |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 方法详细信息 |
|---|
public void paint(Graphics g,
float x,
float y,
float w,
float h,
View v,
int item)
g - 呈现面。x - 列表项分配区域的 x 坐标y - 列表项分配区域的 y 坐标w - 列表项分配区域的宽度h - 列表项分配区域的高度v - 要在其中绘画的分配区域。item - 将绘制哪个列表项。这是一个大于或等于 0 的数。
|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。