| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private boolean | |
| private XDragSourceProtocol | |
| private long | |
| private int | |
| private static final int | |
| private static final PlatformLogger | |
| private long | |
| private static final int | |
| private long | |
| private int | |
| private int | |
| private long[] | |
| private int | |
| private long | |
| private static final XDragSourceContextPeer | |
| pack-priv int | |
| private int | |
| private int |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | cleanup(long time)
Implements sun. The caller must own awtLock. |
| private void | |
| pack-priv static XDragSourceContextPeer | |
| private boolean | Returns: true if the event was processed and shouldn't be passed along.The caller must own awtLock. |
| private void | |
| private static long | |
| public long | |
| pack-priv static XDragSourceProtocolListener | |
| public void | handleDragFinished()
Implements sun. Called when the current drop target signals that the drag-and-drop operation is finished. |
| public void | handleDragFinished(boolean success)
Implements sun. Called when the current drop target signals that the drag-and-drop operation is finished. |
| public void | handleDragFinished(boolean success, int action)
Implements sun. Called when the current drop target signals that the drag-and-drop operation is finished. |
| public void | handleDragFinished(boolean success, int action, int x, int y)
Implements sun. Called when the current drop target signals that the drag-and-drop operation is finished. |
| public void | handleDragReply(int action)
Implements sun. Called when a reply from the current drop target is received. |
| public void | handleDragReply(int action, int x, int y)
Implements sun. Called when a reply from the current drop target is received. |
| public void | handleDragReply(int action, int x, int y, int modifiers)
Implements sun. Called when a reply from the current drop target is received. |
| private static boolean | Returns: true if window has XdndAware property when running under Waylandto test window)Our X11 code expects the drop target window to be a top level window and to have the XA_WM_STATE property. |
| protected boolean | |
| private boolean | |
| private void | |
| pack-priv static boolean | |
| private void | |
| private boolean | |
| private void | |
| public int | |
| public int | |
| public void | setCursor(Cursor c)
Overrides sun. Implements java. set cursor |
| protected void | setNativeCursor(long nativeCtxt, Cursor c, int cType)
Implements abstract sun. downcall into native code |
| public static void | |
| private void | |
| protected void | startDrag(Transferable transferable, long[] formats, Map<Long, DataFlavor> formatMap)
Implements abstract sun.
|
| private void | |
| private boolean | Returns: true if the sourceUpdates the source action according to the specified state. |
| private void |
| dndInProgress | back to summary |
|---|---|
| private boolean dndInProgress | |
| dragInProgress | back to summary |
|---|---|
| private boolean dragInProgress | |
| dragProtocol | back to summary |
|---|---|
| private XDragSourceProtocol dragProtocol | |
| dragRootWindow | back to summary |
|---|---|
| private long dragRootWindow | |
| eventState | back to summary |
|---|---|
| private int eventState | |
| GRAB_EVENT_MASK | back to summary |
|---|---|
| private static final int GRAB_EVENT_MASK | |
| logger | back to summary |
|---|---|
| private static final PlatformLogger logger | |
| proxyModeSourceWindow | back to summary |
|---|---|
| private long proxyModeSourceWindow | |
| ROOT_EVENT_MASK | back to summary |
|---|---|
| private static final int ROOT_EVENT_MASK | |
| rootEventMask | back to summary |
|---|---|
| private long rootEventMask | |
| sourceAction | back to summary |
|---|---|
| private int sourceAction | |
| sourceActions | back to summary |
|---|---|
| private int sourceActions | |
| sourceFormats | back to summary |
|---|---|
| private long[] sourceFormats | |
| targetAction | back to summary |
|---|---|
| private int targetAction | |
| targetRootSubwindow | back to summary |
|---|---|
| private long targetRootSubwindow | |
| theInstance | back to summary |
|---|---|
| private static final XDragSourceContextPeer theInstance | |
| windowScale | back to summary |
|---|---|
| pack-priv int windowScale | |
| xRoot | back to summary |
|---|---|
| private int xRoot | |
| yRoot | back to summary |
|---|---|
| private int yRoot | |
| XDragSourceContextPeer | back to summary |
|---|---|
| private XDragSourceContextPeer(DragGestureEvent dge) | |
| cleanup | back to summary |
|---|---|
| public void cleanup(long time) Implements sun. The caller must own awtLock.
| |
| cleanupTargetInfo | back to summary |
|---|---|
| private void cleanupTargetInfo() The caller must own awtLock. | |
| createDragSourceContextPeer | back to summary |
|---|---|
| pack-priv static XDragSourceContextPeer createDragSourceContextPeer(DragGestureEvent dge) throws InvalidDnDOperationException | |
| doProcessEvent | back to summary |
|---|---|
| private boolean doProcessEvent(XEvent ev) The caller must own awtLock.
| |
| doUpdateTargetWindow | back to summary |
|---|---|
| private void doUpdateTargetWindow(long subwindow, long time) | |
| findClientWindow | back to summary |
|---|---|
| private static long findClientWindow(long window) Returns the client window under the specified root subwindow. | |
| getProxyModeSourceWindow | back to summary |
|---|---|
| public long getProxyModeSourceWindow() | |
| getXDragSourceProtocolListener | back to summary |
|---|---|
| pack-priv static XDragSourceProtocolListener getXDragSourceProtocolListener() | |
| handleDragFinished | back to summary |
|---|---|
| public void handleDragFinished() Implements sun. Doc from sun. Called when the current drop target signals that the drag-and-drop operation is finished.
| |
| handleDragFinished | back to summary |
|---|---|
| public void handleDragFinished(boolean success) Implements sun. Doc from sun. Called when the current drop target signals that the drag-and-drop operation is finished.
| |
| handleDragFinished | back to summary |
|---|---|
| public void handleDragFinished(boolean success, int action) Implements sun. Doc from sun. Called when the current drop target signals that the drag-and-drop operation is finished.
| |
| handleDragFinished | back to summary |
|---|---|
| public void handleDragFinished(boolean success, int action, int x, int y) Implements sun. Doc from sun. Called when the current drop target signals that the drag-and-drop operation is finished.
| |
| handleDragReply | back to summary |
|---|---|
| public void handleDragReply(int action) Implements sun. Doc from sun. Called when a reply from the current drop target is received.
| |
| handleDragReply | back to summary |
|---|---|
| public void handleDragReply(int action, int x, int y) Implements sun. Doc from sun. Called when a reply from the current drop target is received.
| |
| handleDragReply | back to summary |
|---|---|
| public void handleDragReply(int action, int x, int y, int modifiers) Implements sun. Doc from sun. Called when a reply from the current drop target is received.
| |
| isXWaylandDndAwareWindow | back to summary |
|---|---|
| private static boolean isXWaylandDndAwareWindow(long window) Our X11 code expects the drop target window to be a top level window and to have the XA_WM_STATE property. This is not true when performing drag and drop from XWayland to a native Wayland application. In this case XWayland creates a dummy window with only one property, XdndAware.
| |
| needsBogusExitBeforeDrop | back to summary |
|---|---|
| protected boolean needsBogusExitBeforeDrop() | |
| processClientMessage | back to summary |
|---|---|
| private boolean processClientMessage(XClientMessageEvent xclient) | |
| processDrop | back to summary |
|---|---|
| private void processDrop(XButtonEvent xbutton) | |
| processEvent | back to summary |
|---|---|
| pack-priv static boolean processEvent(XEvent ev) | |
| processMouseMove | back to summary |
|---|---|
| private void processMouseMove(XMotionEvent xmotion) | |
| processProxyModeEvent | back to summary |
|---|---|
| private boolean processProxyModeEvent(XEvent ev) | |
| removeDnDGrab | back to summary |
|---|---|
| private void removeDnDGrab(long time) | |
| scaleDown | back to summary |
|---|---|
| public int scaleDown(int x) | |
| scaleUp | back to summary |
|---|---|
| public int scaleUp(int x) | |
| setCursor | back to summary |
|---|---|
| public void setCursor(Cursor c) throws InvalidDnDOperationException Overrides sun. Implements java. set cursor
| |
| setNativeCursor | back to summary |
|---|---|
| protected void setNativeCursor(long nativeCtxt, Cursor c, int cType) Implements abstract sun. Doc from sun. downcall into native code
| |
| setProxyModeSourceWindow | back to summary |
|---|---|
| public static void setProxyModeSourceWindow(long window) | |
| setProxyModeSourceWindowImpl | back to summary |
|---|---|
| private void setProxyModeSourceWindowImpl(long window) | |
| startDrag | back to summary |
|---|---|
| protected void startDrag(Transferable transferable, long[] formats, Map<Long, DataFlavor> formatMap) Implements abstract sun.
| |
| throwGrabFailureException | back to summary |
|---|---|
| private void throwGrabFailureException(String msg, int grabStatus) throws InvalidDnDOperationException | |
| updateSourceAction | back to summary |
|---|---|
| private boolean updateSourceAction(int state) Updates the source action according to the specified state.
| |
| updateTargetWindow | back to summary |
|---|---|
| private void updateTargetWindow(XMotionEvent xmotion) | |