APIdia Launch Partner
Top Description Methods
sun.awt

public Interface FwDispatcher

Imports
java.awt.*

An interface for the EventQueue delegate. This class is added to support JavaFX/AWT interop single threaded mode The delegate should be set in EventQueue by EventQueue#setFwDispatcher(FwDispatcher) If the delegate is not null, than it handles supported methods instead of the event queue. If it is null than the behaviour of an event queue does not change.
Author
Petr Pchelko
Since
1.8
See Also
EventQueue

Method Summary

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

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

Method Detail

createSecondaryLoopback to summary
public SecondaryLoop createSecondaryLoop()

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

isDispatchThreadback to summary
public boolean isDispatchThread()

Delegates the EventQueue#isDispatchThread() method

scheduleDispatchback to summary
public void scheduleDispatch(Runnable r)

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

Parameters
r:Runnable

a runnable calling EventQueue#dispatchEventImpl(java.awt.AWTEvent, Object)