|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.text.LayoutQueue
public class LayoutQueue
This is a queue which holds Runnable
objects. It is
intended for deferring layout operations.
Constructor Summary | |
---|---|
LayoutQueue()
Create a new layout queue. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LayoutQueue()
Method Detail |
---|
public void addTask(Runnable task)
protected Runnable waitForWork()
public static LayoutQueue getDefaultQueue()
public static void setDefaultQueue(LayoutQueue q)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |