APIdia Launch Partner
Top Description Inners Fields Constructors Methods
jdk.swing.interop

public abstract Class DispatcherWrapper

extends Object
Class Inheritance
Imports
java.awt.SecondaryLoop, .EventQueue, sun.awt.FwDispatcher, .AWTAccessor

This class provides a wrapper over inner class DispatcherProxy which implements jdk internal sun.awt.FwDispatcher interface and provides APIs to be used by FX swing interop to access and use FwDispatcher APIs.
Since
11

Nested and Inner Type Summary

Modifier and TypeClass and Description
private class

Field Summary

Modifier and TypeField and Description
private DispatcherWrapper.DispatcherProxy

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public abstract SecondaryLoop
public abstract boolean
public abstract void
public static void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

fwdback to summary
private DispatcherWrapper.DispatcherProxy fwd

Constructor Detail

DispatcherWrapperback to summary
public DispatcherWrapper()

Method Detail

createSecondaryLoopback to summary
public abstract SecondaryLoop createSecondaryLoop()
isDispatchThreadback to summary
public abstract boolean isDispatchThread()
scheduleDispatchback to summary
public abstract void scheduleDispatch(Runnable r)
setFwDispatcherback to summary
public static void setFwDispatcher(EventQueue eventQueue, DispatcherWrapper dispatcher)
jdk.swing.interop back to summary

private Class DispatcherWrapper.DispatcherProxy

extends Object
implements FwDispatcher
Class Inheritance
All Implemented Interfaces
sun.awt.FwDispatcher

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public SecondaryLoop
public boolean
public void
scheduleDispatch(Runnable r)

Implements sun.awt.FwDispatcher.scheduleDispatch.

Forwards a runnable to the delegate, which executes it on an appropriate thread.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

DispatcherProxyback to summary
private DispatcherProxy()

Method Detail

createSecondaryLoopback to summary
public SecondaryLoop createSecondaryLoop()

Implements sun.awt.FwDispatcher.createSecondaryLoop.

Doc from sun.awt.FwDispatcher.createSecondaryLoop.

Delegates the java.awt.EventQueue#createSecondaryLoop() method

Annotations
@Override
isDispatchThreadback to summary
public boolean isDispatchThread()

Implements sun.awt.FwDispatcher.isDispatchThread.

Doc from sun.awt.FwDispatcher.isDispatchThread.

Delegates the EventQueue#isDispatchThread() method

Annotations
@Override
scheduleDispatchback to summary
public void scheduleDispatch(Runnable r)

Implements sun.awt.FwDispatcher.scheduleDispatch.

Doc from sun.awt.FwDispatcher.scheduleDispatch.

Forwards a runnable to the delegate, which executes it on an appropriate thread.

Annotations
@Override