Class LayoutQueue
java.lang.Object
javax.swing.text.LayoutQueue
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidAdd a task that is not needed immediately because the results are not believed to be visible.static LayoutQueueFetch the default layout queue.static voidSet the default layout queue.protected RunnableUsed by the worker thread to get a new task to execute.
- 
Constructor Details- 
LayoutQueuepublic LayoutQueue()Construct a layout queue.
 
- 
- 
Method Details- 
getDefaultQueueFetch the default layout queue.- Returns:
- the default layout queue
 
- 
setDefaultQueueSet the default layout queue.- Parameters:
- q- the new queue.
 
- 
addTaskAdd a task that is not needed immediately because the results are not believed to be visible.- Parameters:
- task- the task to add to the queue
 
- 
waitForWorkUsed by the worker thread to get a new task to execute.- Returns:
- a task from the queue
 
 
-