public class LayoutQueue extends Object
Runnable
objects. It is
intended for deferring layout operations.Constructor and Description |
---|
LayoutQueue()
Create a new layout queue.
|
Modifier and Type | Method and Description |
---|---|
void |
addTask(Runnable task)
Add a layout task to the queue.
|
static LayoutQueue |
getDefaultQueue()
Return the default layout queue.
|
static void |
setDefaultQueue(LayoutQueue q)
Set the default layout queue.
|
protected Runnable |
waitForWork()
Called by a worker thread to retrieve the next layout task.
|
public LayoutQueue()
protected Runnable waitForWork()
public static LayoutQueue getDefaultQueue()
public static void setDefaultQueue(LayoutQueue q)