public class

LayoutQueue

extends Object
java.lang.Object
   ↳ javax.swing.text.LayoutQueue

Class Overview

A queue of text layout tasks.

See Also

Summary

Public Constructors
LayoutQueue()
Construct a layout queue.
Public Methods
synchronized 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 Methods
synchronized Runnable waitForWork()
Used by the worker thread to get a new task to execute
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public LayoutQueue ()

Construct a layout queue.

Public Methods

public synchronized void addTask (Runnable task)

Add a task that is not needed immediately because the results are not believed to be visible.

public static LayoutQueue getDefaultQueue ()

Fetch the default layout queue.

public static void setDefaultQueue (LayoutQueue q)

Set the default layout queue.

Parameters
q the new queue.

Protected Methods

protected synchronized Runnable waitForWork ()

Used by the worker thread to get a new task to execute