Top Inners Constructors Methods
com.sun.javafx.embed.swing.newimpl

public Class SwingFXUtilsImplInteropN

extends Object
Class Inheritance
Imports
com.sun.javafx.application.PlatformImpl, com.sun.javafx.tk.Toolkit, java.awt.EventQueue, .SecondaryLoop, java.util.concurrent.atomic.AtomicBoolean, javafx.application.Platform, jdk.swing.interop.DispatcherWrapper

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class
private static class

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

SwingFXUtilsImplInteropNback to summary
public SwingFXUtilsImplInteropN()

Method Detail

setFwDispatcherback to summary
public void setFwDispatcher(EventQueue eventQueue)
com.sun.javafx.embed.swing.newimpl back to summary

private Class SwingFXUtilsImplInteropN.FwSecondaryLoop

extends Object
implements SecondaryLoop
Class Inheritance
  • java.lang.Object
  • com.sun.javafx.embed.swing.newimpl.SwingFXUtilsImplInteropN.FwSecondaryLoop
All Implemented Interfaces
java.awt.SecondaryLoop

Field Summary

Modifier and TypeField and Description
private final AtomicBoolean

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public boolean
enter()

Implements java.awt.SecondaryLoop.enter.

Blocks the execution of the current thread and enters a new secondary event loop on the event dispatch thread.

public boolean
exit()

Implements java.awt.SecondaryLoop.exit.

Unblocks the execution of the thread blocked by the enter method and exits the secondary loop.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

isRunningback to summary
private final AtomicBoolean isRunning

Constructor Detail

FwSecondaryLoopback to summary
private FwSecondaryLoop()

Method Detail

enterback to summary
public boolean enter()

Implements java.awt.SecondaryLoop.enter.

Doc from java.awt.SecondaryLoop.enter.

Blocks the execution of the current thread and enters a new secondary event loop on the event dispatch thread.

This method can be called by any thread including the event dispatch thread. This thread will be blocked until the exit method is called or the loop is terminated. A new secondary loop will be created on the event dispatch thread for dispatching events in either case.

This method can only start one new event loop at a time per object. If a secondary event loop has already been started by this object and is currently still running, this method returns false to indicate that it was not successful in starting a new event loop. Otherwise, this method blocks the calling thread and later returns true when the new event loop is terminated. At such time, this object can again be used to start another new event loop.

Returns:boolean

true after termination of the secondary loop, if the secondary loop was started by this call, false otherwise

Annotations
@Override
exitback to summary
public boolean exit()

Implements java.awt.SecondaryLoop.exit.

Doc from java.awt.SecondaryLoop.exit.

Unblocks the execution of the thread blocked by the enter method and exits the secondary loop.

This method resumes the thread that called the enter method and exits the secondary loop that was created when the enter method was invoked.

Note that if any other secondary loop is started while this loop is running, the blocked thread will not resume execution until the nested loop is terminated.

If this secondary loop has not been started with the enter method, or this secondary loop has already finished with the exit method, this method returns false, otherwise true is returned.

Returns:boolean

true if this loop was previously started and has not yet been finished with the exit method, false otherwise

Annotations
@Override
com.sun.javafx.embed.swing.newimpl back to summary

private Class SwingFXUtilsImplInteropN.FXDispatcher

extends DispatcherWrapper
Class Inheritance

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public SecondaryLoop
public boolean
public void
Inherited from jdk.swing.interop.DispatcherWrapper:
setFwDispatcher

Constructor Detail

FXDispatcherback to summary
private FXDispatcher()

Method Detail

createSecondaryLoopback to summary
public SecondaryLoop createSecondaryLoop()

Implements abstract jdk.swing.interop.DispatcherWrapper.createSecondaryLoop.

Annotations
@Override
isDispatchThreadback to summary
public boolean isDispatchThread()

Implements abstract jdk.swing.interop.DispatcherWrapper.isDispatchThread.

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

Implements abstract jdk.swing.interop.DispatcherWrapper.scheduleDispatch.

Annotations
@Override