private static class SwingNode.SwingNodeContent
extends java.lang.Object
implements sun.swing.LightweightContent
Modifier and Type | Field and Description |
---|---|
private javax.swing.JComponent |
comp |
private FXDnD |
dnd |
private java.lang.ref.WeakReference<SwingNode> |
swingNodeRef |
Constructor and Description |
---|
SwingNodeContent(javax.swing.JComponent comp,
SwingNode swingNode) |
Modifier and Type | Method and Description |
---|---|
void |
addDropTarget(java.awt.dnd.DropTarget dt) |
<T extends java.awt.dnd.DragGestureRecognizer> |
createDragGestureRecognizer(java.lang.Class<T> abstractRecognizerClass,
java.awt.dnd.DragSource ds,
java.awt.Component c,
int srcActions,
java.awt.dnd.DragGestureListener dgl) |
java.awt.dnd.peer.DragSourceContextPeer |
createDragSourceContextPeer(java.awt.dnd.DragGestureEvent dge) |
void |
focusGrabbed() |
void |
focusUngrabbed() |
javax.swing.JComponent |
getComponent() |
void |
imageBufferReset(int[] data,
int x,
int y,
int width,
int height,
int linestride) |
void |
imageBufferReset(int[] data,
int x,
int y,
int width,
int height,
int linestride,
int scale) |
void |
imageReshaped(int x,
int y,
int width,
int height) |
void |
imageUpdated(int dirtyX,
int dirtyY,
int dirtyWidth,
int dirtyHeight) |
private void |
initDnD() |
void |
maximumSizeChanged(int width,
int height) |
void |
minimumSizeChanged(int width,
int height) |
void |
paintLock() |
void |
paintUnlock() |
void |
preferredSizeChanged(int width,
int height) |
void |
removeDropTarget(java.awt.dnd.DropTarget dt) |
void |
setCursor(java.awt.Cursor cursor) |
private javax.swing.JComponent comp
private volatile FXDnD dnd
private java.lang.ref.WeakReference<SwingNode> swingNodeRef
public SwingNodeContent(javax.swing.JComponent comp, SwingNode swingNode)
public javax.swing.JComponent getComponent()
getComponent
in interface sun.swing.LightweightContent
public void paintLock()
paintLock
in interface sun.swing.LightweightContent
public void paintUnlock()
paintUnlock
in interface sun.swing.LightweightContent
public void imageBufferReset(int[] data, int x, int y, int width, int height, int linestride)
imageBufferReset
in interface sun.swing.LightweightContent
public void imageBufferReset(int[] data, int x, int y, int width, int height, int linestride, int scale)
imageBufferReset
in interface sun.swing.LightweightContent
public void imageReshaped(int x, int y, int width, int height)
imageReshaped
in interface sun.swing.LightweightContent
public void imageUpdated(int dirtyX, int dirtyY, int dirtyWidth, int dirtyHeight)
imageUpdated
in interface sun.swing.LightweightContent
public void focusGrabbed()
focusGrabbed
in interface sun.swing.LightweightContent
public void focusUngrabbed()
focusUngrabbed
in interface sun.swing.LightweightContent
public void preferredSizeChanged(int width, int height)
preferredSizeChanged
in interface sun.swing.LightweightContent
public void maximumSizeChanged(int width, int height)
maximumSizeChanged
in interface sun.swing.LightweightContent
public void minimumSizeChanged(int width, int height)
minimumSizeChanged
in interface sun.swing.LightweightContent
public void setCursor(java.awt.Cursor cursor)
setCursor
in interface sun.swing.LightweightContent
private void initDnD()
public <T extends java.awt.dnd.DragGestureRecognizer> T createDragGestureRecognizer(java.lang.Class<T> abstractRecognizerClass, java.awt.dnd.DragSource ds, java.awt.Component c, int srcActions, java.awt.dnd.DragGestureListener dgl)
createDragGestureRecognizer
in interface sun.swing.LightweightContent
public java.awt.dnd.peer.DragSourceContextPeer createDragSourceContextPeer(java.awt.dnd.DragGestureEvent dge) throws java.awt.dnd.InvalidDnDOperationException
createDragSourceContextPeer
in interface sun.swing.LightweightContent
java.awt.dnd.InvalidDnDOperationException
public void addDropTarget(java.awt.dnd.DropTarget dt)
addDropTarget
in interface sun.swing.LightweightContent
public void removeDropTarget(java.awt.dnd.DropTarget dt)
removeDropTarget
in interface sun.swing.LightweightContent