Please note that this translation of the specification is the result of a java.net community project ( https://jdk5-api-pt-br.dev.java.net/ ). The official version of the specification is the US English language version which can be found at http://java.sun.com/j2se/1.5.0/docs/api/. In case of disputes, the authoritative version of the specification is the original, English document.
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| 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
A queue of text layout tasks.
AsyncBoxView| Constructor Summary | |
|---|---|
LayoutQueue()
Construct a layout queue. |
|
| Method Summary | |
|---|---|
void |
addTask(Runnable task)
Add a task that is not needed immediately because the results are not believed to be visible. |
static LayoutQueue |
getDefaultQueue()
Fetch the default layout queue. |
static void |
setDefaultQueue(LayoutQueue q)
Set the default layout queue. |
protected Runnable |
waitForWork()
Used by the worker thread to get a new task to execute |
| 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 static LayoutQueue getDefaultQueue()
public static void setDefaultQueue(LayoutQueue q)
q - the new queue.public void addTask(Runnable task)
protected Runnable waitForWork()
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
Copyright 2006 Sun Microsystems, Inc. Todos os direitos reservados. O uso está sujeito aos termos da licensa.