| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private final XDragSourceProtocolListener | |
| private int | |
| private long | |
| private long | |
| private long |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public final boolean | |
| public void | cleanup()
Terminates the current drag operation (if any) and resets the internal state of this object. |
| public void | |
| protected final void | |
| pack-priv static long | |
| protected final XDragSourceProtocolListener | |
| public abstract String | |
| protected final int | |
| protected final long | |
| protected final long | |
| public abstract XDragSourceProtocol. | |
| public final void | initializeDrag(int
a bitwise mask of actions, Transferable DnDConstants that represent
the supported drop actions.the contents for the drag operation. contents, Map<Long, DataFlavor> formatMap, long[]
Initializes a drag operation with the specified supported drop actions, contents and data formats. |
| protected abstract void | initializeDragImpl(int actions, Transferable contents, Map<Long, DataFlavor> formatMap, long[] formats)
|
| public final void | |
| public abstract boolean | Returns: true if the event was successfully processed.Processes the specified client message event. |
| public abstract boolean | |
| protected abstract void | |
| public abstract void | |
| public abstract void | |
| public abstract void |
| initialized | back to summary |
|---|---|
| private boolean initialized | |
| listener | back to summary |
|---|---|
| private final XDragSourceProtocolListener listener | |
| targetProtocolVersion | back to summary |
|---|---|
| private int targetProtocolVersion | |
| targetProxyWindow | back to summary |
|---|---|
| private long targetProxyWindow | |
| targetWindow | back to summary |
|---|---|
| private long targetWindow | |
| targetWindowMask | back to summary |
|---|---|
| private long targetWindowMask | |
| XDragSourceProtocol | back to summary |
|---|---|
| protected XDragSourceProtocol(XDragSourceProtocolListener listener) | |
| attachTargetWindow | back to summary |
|---|---|
| public final boolean attachTargetWindow(long window, long time) | |
| cleanup | back to summary |
|---|---|
| public void cleanup() Terminates the current drag operation (if any) and resets the internal state of this object.
| |
| cleanupTargetInfo | back to summary |
|---|---|
| public void cleanupTargetInfo() Clears the information on the current drop target.
| |
| finalizeDrop | back to summary |
|---|---|
| protected final void finalizeDrop() | |
| getDragSourceWindow | back to summary |
|---|---|
| pack-priv static long getDragSourceWindow() | |
| getProtocolListener | back to summary |
|---|---|
| protected final XDragSourceProtocolListener getProtocolListener() | |
| getProtocolName | back to summary |
|---|---|
| public abstract String getProtocolName() Returns the protocol name. The protocol name cannot be null. | |
| getTargetProtocolVersion | back to summary |
|---|---|
| protected final int getTargetProtocolVersion() | |
| getTargetProxyWindow | back to summary |
|---|---|
| protected final long getTargetProxyWindow() | |
| getTargetWindow | back to summary |
|---|---|
| protected final long getTargetWindow() | |
| getTargetWindowInfo | back to summary |
|---|---|
| public abstract XDragSourceProtocol. | |
| initializeDrag | back to summary |
|---|---|
| public final void initializeDrag(int actions, Transferable contents, Map<Long, DataFlavor> formatMap, long[] formats) throws InvalidDnDOperationException, IllegalArgumentException, XException Initializes a drag operation with the specified supported drop actions, contents and data formats.
| |
| initializeDragImpl | back to summary |
|---|---|
| protected abstract void initializeDragImpl(int actions, Transferable contents, Map<Long, DataFlavor> formatMap, long[] formats) throws InvalidDnDOperationException, IllegalArgumentException, XException | |
| initiateDrop | back to summary |
|---|---|
| public final void initiateDrop(int xRoot, int yRoot, int sourceAction, int sourceActions, long time) | |
| processClientMessage | back to summary |
|---|---|
| public abstract boolean processClientMessage(XClientMessageEvent xclient) throws XException Processes the specified client message event.
| |
| processProxyModeEvent | back to summary |
|---|---|
| public abstract boolean processProxyModeEvent(XClientMessageEvent xclient, long sourceWindow) | |
| sendDropMessage | back to summary |
|---|---|
| protected abstract void sendDropMessage(int xRoot, int yRoot, int sourceAction, int sourceActions, long time) | |
| sendEnterMessage | back to summary |
|---|---|
| public abstract void sendEnterMessage(long[] formats, int sourceAction, int sourceActions, long time) | |
| sendLeaveMessage | back to summary |
|---|---|
| public abstract void sendLeaveMessage(long time) | |
| sendMoveMessage | back to summary |
|---|---|
| public abstract void sendMoveMessage(int xRoot, int yRoot, int sourceAction, int sourceActions, long time) | |
| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public long |
| protocolVersion | back to summary |
|---|---|
| private final int protocolVersion | |
| proxyWindow | back to summary |
|---|---|
| private final long proxyWindow | |
| TargetWindowInfo | back to summary |
|---|---|
| public TargetWindowInfo(long proxy, int version) | |
| getProtocolVersion | back to summary |
|---|---|
| public int getProtocolVersion() | |
| getProxyWindow | back to summary |
|---|---|
| public long getProxyWindow() | |