APIdia Launch Partner
Top Inners Fields Constructors Methods
com.sun.glass.ui.headless

public Class NestedRunnableProcessor

extends Object
implements Runnable
Class Inheritance
All Implemented Interfaces
java.lang.Runnable
Imports
com.sun.glass.ui.Application, java.util.LinkedList, java.util.concurrent.BlockingQueue, .CountDownLatch, .LinkedBlockingQueue

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Field Summary

Modifier and TypeField and Description
private final LinkedList<NestedRunnableProcessor.RunLoopEntry>
private final BlockingQueue<Runnable>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
pack-priv void
pack-priv void
public void
leaveCurrentLoop(Object returnValue)

public Object
public void
run()

Implements java.lang.Runnable.run.

Runs this operation.

pack-priv void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

activeRunLoopsback to summary
private final LinkedList<NestedRunnableProcessor.RunLoopEntry> activeRunLoops
runnableQueueback to summary
private final BlockingQueue<Runnable> runnableQueue

Constructor Detail

NestedRunnableProcessorback to summary
public NestedRunnableProcessor()

Method Detail

invokeAndWaitback to summary
pack-priv void invokeAndWait(final Runnable r)
invokeLaterback to summary
pack-priv void invokeLater(final Runnable r)
leaveCurrentLoopback to summary
public void leaveCurrentLoop(Object returnValue)
newRunLoopback to summary
public Object newRunLoop()
runback to summary
public void run()

Implements java.lang.Runnable.run.

Doc from java.lang.Runnable.run.

Runs this operation.

Annotations
@Override
stopProcessingback to summary
pack-priv void stopProcessing()
com.sun.glass.ui.headless back to summary

private Class NestedRunnableProcessor.RunLoopEntry

extends Object
Class Inheritance
  • java.lang.Object
  • com.sun.glass.ui.headless.NestedRunnableProcessor.RunLoopEntry

Field Summary

Modifier and TypeField and Description
pack-priv boolean
pack-priv Object

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

activeback to summary
pack-priv boolean active
returnValueback to summary
pack-priv Object returnValue

Constructor Detail

RunLoopEntryback to summary
private RunLoopEntry()