| 
 | JavaTM Platform Standard Ed. 6 | |||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectjavax.swing.text.LayoutQueue
public class LayoutQueue
文本布局任务的队列。
AsyncBoxView| 构造方法摘要 | |
|---|---|
| LayoutQueue()构造一个布局队列。 | |
| 方法摘要 | |
|---|---|
|  void | addTask(Runnable task)添加一个任务,该任务不必立即执行,原因是其结果可能是不可见的。 | 
| static LayoutQueue | getDefaultQueue()返回默认的布局队列。 | 
| static void | setDefaultQueue(LayoutQueue q)设置默认的布局队列。 | 
| protected  Runnable | waitForWork()由 worker 线程使用以获取一个要执行的新任务 | 
| 从类 java.lang.Object 继承的方法 | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| 构造方法详细信息 | 
|---|
public LayoutQueue()
| 方法详细信息 | 
|---|
public static LayoutQueue getDefaultQueue()
public static void setDefaultQueue(LayoutQueue q)
q - 新队列。public void addTask(Runnable task)
protected Runnable waitForWork()
| 
 | JavaTM Platform Standard Ed. 6 | |||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。