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

public Class SwingNodeInteropN

extends Object
Class Inheritance
Imports
com.sun.glass.ui.Application, com.sun.javafx.PlatformUtil, com.sun.javafx.embed.swing.DisposerRecord, .FXDnD, .SwingCursors, .SwingNodeHelper, com.sun.javafx.scene.NodeHelper, com.sun.javafx.stage.WindowHelper, com.sun.javafx.tk.Toolkit, com.sun.javafx.util.Utils, java.awt.AWTEvent, .Component, .Cursor, java.awt.dnd.DragGestureEvent, .DragGestureListener, .DragGestureRecognizer, .DragSource, .DropTarget, .InvalidDnDOperationException, java.awt.event.KeyEvent, .MouseEvent, .MouseWheelEvent, .WindowFocusListener, java.lang.ref.WeakReference, java.lang.reflect.Method, javafx.embed.swing.SwingNode, javafx.scene.Scene, javax.swing.JComponent, jdk.swing.interop.DragSourceContextWrapper, .LightweightContentWrapper, .LightweightFrameWrapper

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class
private static class
private static class

Field Summary

Modifier and TypeField and Description
private static SwingNodeInteropN.OptionalMethod<LightweightFrameWrapper>
jlfNotifyDisplayChanged

Calls LightweightFrameWrapper.notifyDisplayChanged.

private static final SwingNodeInteropN.OptionalMethod<LightweightFrameWrapper>
jlfSetHostBounds

Calls LightweightFrameWrapper.setHostBounds.

private volatile LightweightFrameWrapper
private static Class<T>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
public KeyEvent
createKeyEvent(Object frame, int swingID, long swingWhen, int swingModifiers, int swingKeyCode, char swingChar)

public LightweightFrameWrapper
public MouseEvent
createMouseEvent(Object frame, int swingID, long swingWhen, int swingModifiers, int relX, int relY, int absX, int absY, int clickCount, boolean swingPopupTrigger, int swingButton)

public MouseWheelEvent
createMouseWheelEvent(Object frame, int swingModifiers, int x, int y, int wheelRotation)

public LightweightContentWrapper
public DisposerRecord
public AWTEvent
public void
public void
emulateActivation(Object frame, boolean activate)

public LightweightFrameWrapper
public void
notifyDisplayChanged(Object frame, double scaleX, double scaleY)

public void
overrideNativeWindowHandle(Object frame, long handle, Runnable closeWindow)

public void
setBounds(Object frame, int frameX, int frameY, int frameW, int frameH)

public void
setContent(Object frame, Object cnt)

public void
setHostBounds(Object frame, int windowX, int windowY, int windowW, int windowH)

public void
setVisible(Object frame, boolean visible)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

jlfNotifyDisplayChangedback to summary
private static SwingNodeInteropN.OptionalMethod<LightweightFrameWrapper> jlfNotifyDisplayChanged

Calls LightweightFrameWrapper.notifyDisplayChanged. Must be called on EDT only.

jlfSetHostBoundsback to summary
private static final SwingNodeInteropN.OptionalMethod<LightweightFrameWrapper> jlfSetHostBounds

Calls LightweightFrameWrapper.setHostBounds. Must be called on EDT only.

lwFrameback to summary
private volatile LightweightFrameWrapper lwFrame
lwFrameWrapperClassback to summary
private static Class<T> lwFrameWrapperClass

Constructor Detail

SwingNodeInteropNback to summary
public SwingNodeInteropN()

Method Detail

addWindowFocusListenerback to summary
public void addWindowFocusListener(Object frame, WindowFocusListener l)
createKeyEventback to summary
public KeyEvent createKeyEvent(Object frame, int swingID, long swingWhen, int swingModifiers, int swingKeyCode, char swingChar)
createLightweightFrameback to summary
public LightweightFrameWrapper createLightweightFrame()
createMouseEventback to summary
public MouseEvent createMouseEvent(Object frame, int swingID, long swingWhen, int swingModifiers, int relX, int relY, int absX, int absY, int clickCount, boolean swingPopupTrigger, int swingButton)
createMouseWheelEventback to summary
public MouseWheelEvent createMouseWheelEvent(Object frame, int swingModifiers, int x, int y, int wheelRotation)
createSwingNodeContentback to summary
public LightweightContentWrapper createSwingNodeContent(JComponent content, SwingNode node)
createSwingNodeDisposerback to summary
public DisposerRecord createSwingNodeDisposer(Object frame, SwingNodeInteropN swNodeIOP)
createUngrabEventback to summary
public AWTEvent createUngrabEvent(Object frame)
disposeFrameback to summary
public void disposeFrame(Object frame)
emulateActivationback to summary
public void emulateActivation(Object frame, boolean activate)
getLightweightFrameback to summary
public LightweightFrameWrapper getLightweightFrame()
notifyDisplayChangedback to summary
public void notifyDisplayChanged(Object frame, double scaleX, double scaleY)
overrideNativeWindowHandleback to summary
public void overrideNativeWindowHandle(Object frame, long handle, Runnable closeWindow)
setBoundsback to summary
public void setBounds(Object frame, int frameX, int frameY, int frameW, int frameH)
setContentback to summary
public void setContent(Object frame, Object cnt)
setHostBoundsback to summary
public void setHostBounds(Object frame, int windowX, int windowY, int windowW, int windowH)
setVisibleback to summary
public void setVisible(Object frame, boolean visible)
com.sun.javafx.embed.swing.newimpl back to summary

private final Class SwingNodeInteropN.OptionalMethod<T>

extends Object
Class Inheritance
  • java.lang.Object
  • com.sun.javafx.embed.swing.newimpl.SwingNodeInteropN.OptionalMethod

Field Summary

Modifier and TypeField and Description
private final boolean
private final Method

Constructor Summary

AccessConstructor and Description
pack-priv
OptionalMethod(Class<T> cls, String name, Class<?>... args)

Method Summary

Modifier and TypeMethod and Description
public Object
invoke(T object, Object... args)

public boolean
public boolean
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

isIntegerAPIback to summary
private final boolean isIntegerAPI
methodback to summary
private final Method method

Constructor Detail

OptionalMethodback to summary
pack-priv OptionalMethod(Class<T> cls, String name, Class<?>... args)

Method Detail

invokeback to summary
public Object invoke(T object, Object... args)
isIntegerApiback to summary
public boolean isIntegerApi()
isSupportedback to summary
public boolean isSupported()
com.sun.javafx.embed.swing.newimpl back to summary

private Class SwingNodeInteropN.SwingNodeContent

extends LightweightContentWrapper
Class Inheritance

Field Summary

Modifier and TypeField and Description
private JComponent
private volatile FXDnD
private WeakReference<SwingNode>

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public void
public synchronized <T extends DragGestureRecognizer> T
public DragSourceContextWrapper
public void
public void
public JComponent
public void
imageBufferReset(int[] data, int x, int y, int width, int height, int linestride)

Implements abstract jdk.swing.interop.LightweightContentWrapper.imageBufferReset.

public void
imageBufferReset(int[] data, int x, int y, int width, int height, int linestride, int scale)

public void
imageBufferReset(int[] data, int x, int y, int width, int height, int linestride, double scaleX, double scaleY)

Implements abstract jdk.swing.interop.LightweightContentWrapper.imageBufferReset.

public void
imageReshaped(int x, int y, int width, int height)

Implements abstract jdk.swing.interop.LightweightContentWrapper.imageReshaped.

public void
imageUpdated(int dirtyX, int dirtyY, int dirtyWidth, int dirtyHeight)

Implements abstract jdk.swing.interop.LightweightContentWrapper.imageUpdated.

private void
public void
maximumSizeChanged(final int width, final int height)

Implements abstract jdk.swing.interop.LightweightContentWrapper.maximumSizeChanged.

public void
minimumSizeChanged(final int width, final int height)

Implements abstract jdk.swing.interop.LightweightContentWrapper.minimumSizeChanged.

public void
public void
public void
preferredSizeChanged(final int width, final int height)

Implements abstract jdk.swing.interop.LightweightContentWrapper.preferredSizeChanged.

public void
public void
setCursor(Cursor cursor)

Field Detail

compback to summary
private JComponent comp
dndback to summary
private volatile FXDnD dnd
swingNodeRefback to summary
private WeakReference<SwingNode> swingNodeRef

Constructor Detail

SwingNodeContentback to summary
pack-priv SwingNodeContent(JComponent comp, SwingNode swingNode)

Method Detail

addDropTargetback to summary
public void addDropTarget(DropTarget dt)

Implements abstract jdk.swing.interop.LightweightContentWrapper.addDropTarget.

Annotations
@Override
createDragGestureRecognizerback to summary
public synchronized <T extends DragGestureRecognizer> T createDragGestureRecognizer(Class<T> abstractRecognizerClass, DragSource ds, Component c, int srcActions, DragGestureListener dgl)

Implements abstract jdk.swing.interop.LightweightContentWrapper.createDragGestureRecognizer.

Annotations
@Override
createDragSourceContextback to summary
public DragSourceContextWrapper createDragSourceContext(DragGestureEvent dge) throws InvalidDnDOperationException

Implements abstract jdk.swing.interop.LightweightContentWrapper.createDragSourceContext.

Annotations
@Override
focusGrabbedback to summary
public void focusGrabbed()

Implements abstract jdk.swing.interop.LightweightContentWrapper.focusGrabbed.

Annotations
@Override
focusUngrabbedback to summary
public void focusUngrabbed()

Implements abstract jdk.swing.interop.LightweightContentWrapper.focusUngrabbed.

Annotations
@Override
getComponentback to summary
public JComponent getComponent()

Implements abstract jdk.swing.interop.LightweightContentWrapper.getComponent.

Annotations
@Override
imageBufferResetback to summary
public void imageBufferReset(int[] data, int x, int y, int width, int height, int linestride)

Implements abstract jdk.swing.interop.LightweightContentWrapper.imageBufferReset.

Annotations
@Override
imageBufferResetback to summary
public void imageBufferReset(int[] data, int x, int y, int width, int height, int linestride, int scale)
imageBufferResetback to summary
public void imageBufferReset(int[] data, int x, int y, int width, int height, int linestride, double scaleX, double scaleY)

Implements abstract jdk.swing.interop.LightweightContentWrapper.imageBufferReset.

Annotations
@Override
imageReshapedback to summary
public void imageReshaped(int x, int y, int width, int height)

Implements abstract jdk.swing.interop.LightweightContentWrapper.imageReshaped.

Annotations
@Override
imageUpdatedback to summary
public void imageUpdated(int dirtyX, int dirtyY, int dirtyWidth, int dirtyHeight)

Implements abstract jdk.swing.interop.LightweightContentWrapper.imageUpdated.

Annotations
@Override
initDnDback to summary
private void initDnD()
maximumSizeChangedback to summary
public void maximumSizeChanged(final int width, final int height)

Implements abstract jdk.swing.interop.LightweightContentWrapper.maximumSizeChanged.

Annotations
@Override
minimumSizeChangedback to summary
public void minimumSizeChanged(final int width, final int height)

Implements abstract jdk.swing.interop.LightweightContentWrapper.minimumSizeChanged.

Annotations
@Override
paintLockback to summary
public void paintLock()

Implements abstract jdk.swing.interop.LightweightContentWrapper.paintLock.

Annotations
@Override
paintUnlockback to summary
public void paintUnlock()

Implements abstract jdk.swing.interop.LightweightContentWrapper.paintUnlock.

Annotations
@Override
preferredSizeChangedback to summary
public void preferredSizeChanged(final int width, final int height)

Implements abstract jdk.swing.interop.LightweightContentWrapper.preferredSizeChanged.

Annotations
@Override
removeDropTargetback to summary
public void removeDropTarget(DropTarget dt)

Implements abstract jdk.swing.interop.LightweightContentWrapper.removeDropTarget.

Annotations
@Override
setCursorback to summary
public void setCursor(Cursor cursor)
com.sun.javafx.embed.swing.newimpl back to summary

private Class SwingNodeInteropN.SwingNodeDisposer

extends Object
implements DisposerRecord
Class Inheritance
  • java.lang.Object
  • com.sun.javafx.embed.swing.newimpl.SwingNodeInteropN.SwingNodeDisposer
All Implemented Interfaces
com.sun.javafx.embed.swing.DisposerRecord

Field Summary

Modifier and TypeField and Description
pack-priv LightweightFrameWrapper
pack-priv Runnable

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

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

Field Detail

lwFrameback to summary
pack-priv LightweightFrameWrapper lwFrame
tkShutdownHookback to summary
pack-priv Runnable tkShutdownHook

Constructor Detail

SwingNodeDisposerback to summary
pack-priv SwingNodeDisposer(LightweightFrameWrapper ref, SwingNodeInteropN swNodeIOP)

Method Detail

disposeback to summary
public void dispose()

Implements com.sun.javafx.embed.swing.DisposerRecord.dispose.

Annotations
@Override