public class LayoutQueue extends Object
AsyncBoxView
Constructor and Description |
---|
LayoutQueue()
构建布局队列。
|
Modifier and Type | Method and Description |
---|---|
void |
addTask(Runnable task)
添加一个不需要立即的任务,因为结果不被认为是可见的。
|
static LayoutQueue |
getDefaultQueue()
获取默认的布局队列。
|
static void |
setDefaultQueue(LayoutQueue q)
设置默认布局队列。
|
protected Runnable |
waitForWork()
由工人线程使用,以获得一个新的任务来执行
|
public static LayoutQueue getDefaultQueue()
public static void setDefaultQueue(LayoutQueue q)
q
-新的队列。
public void addTask(Runnable task)
protected Runnable waitForWork()
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.