APIdia Launch Partner
Top Description Fields Constructors Methods
sun.awt.X11

pack-priv final Class MotifDnDDropTargetProtocol

extends XDropTargetProtocol
Class Inheritance
Imports
java.awt.Point, java.awt.dnd.DnDConstants, java.awt.event.MouseEvent, java.io.IOException, jdk.internal.misc.Unsafe

XDropTargetProtocol implementation for Motif DnD protocol.
Since
1.5

Field Summary

Modifier and TypeField and Description
private int
private long
private long[]
private int
private long
private long
private int
private int
private XWindow
private boolean
private static final Unsafe
private int
Inherited from sun.awt.X11.XDropTargetProtocol:
DROP_MESSAGEEMBEDDER_ALREADY_REGISTEREDENTER_MESSAGELEAVE_MESSAGEMOTION_MESSAGEUNKNOWN_MESSAGE

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public void
cleanup()

Implements abstract sun.awt.X11.XDropTargetProtocol.cleanup.

Reset the state of the object.

pack-priv static XDropTargetProtocol
createInstance(XDropTargetProtocolListener listener)

Creates an instance associated with the specified listener.

public boolean
forwardEventToEmbedded(long embedded, long ctxt, int eventID)

Implements abstract sun.awt.X11.XDropTargetProtocol.forwardEventToEmbedded.

public Object
getData(long ctxt, long format)

Implements abstract sun.awt.X11.XDropTargetProtocol.getData.

public int
public String
getProtocolName()

Implements abstract sun.awt.X11.XDropTargetProtocol.getProtocolName.

Returns the protocol name.

public final long
public boolean
public boolean
public boolean
private void
notifyProtocolListener(XWindow xwindow, int x, int y, int dropAction, int actions, XClientMessageEvent xclient, int eventID)

protected boolean
private boolean
private boolean
private boolean
private boolean
public void
public void
public void
public boolean
sendDropDone(long ctxt, boolean success, int dropAction)

Implements abstract sun.awt.X11.XDropTargetProtocol.sendDropDone.

protected void
protected void
public boolean
sendResponse(long ctxt, int eventID, int action)

Implements abstract sun.awt.X11.XDropTargetProtocol.sendResponse.

public void
public void
Inherited from sun.awt.X11.XDropTargetProtocol:
adjustEventForForwardingforwardClientMessageToToplevelgetEmbedderRegistryEntrygetProtocolListenerprocessClientMessageputEmbedderRegistryEntryremoveEmbedderRegistryEntryunregisterEmbeddedDropSite

Field Detail

sourceActionsback to summary
private int sourceActions
sourceAtomback to summary
private long sourceAtom
sourceFormatsback to summary
private long[] sourceFormats
sourceProtocolVersionback to summary
private int sourceProtocolVersion
sourceWindowback to summary
private long sourceWindow
sourceWindowMaskback to summary
private long sourceWindowMask
sourceXback to summary
private int sourceX
sourceYback to summary
private int sourceY
targetXWindowback to summary
private XWindow targetXWindow
topLevelLeavePostponedback to summary
private boolean topLevelLeavePostponed
unsafeback to summary
private static final Unsafe unsafe
userActionback to summary
private int userAction

Constructor Detail

MotifDnDDropTargetProtocolback to summary
protected MotifDnDDropTargetProtocol(XDropTargetProtocolListener listener)

Method Detail

cleanupback to summary
public void cleanup()

Implements abstract sun.awt.X11.XDropTargetProtocol.cleanup.

Reset the state of the object.

Annotations
@Override
createInstanceback to summary
pack-priv static XDropTargetProtocol createInstance(XDropTargetProtocolListener listener)

Creates an instance associated with the specified listener.

Exceptions
NullPointerException:
if listener is null.
forwardEventToEmbeddedback to summary
public boolean forwardEventToEmbedded(long embedded, long ctxt, int eventID)

Implements abstract sun.awt.X11.XDropTargetProtocol.forwardEventToEmbedded.

Annotations
@Override
getDataback to summary
public Object getData(long ctxt, long format) throws IllegalArgumentException, IOException

Implements abstract sun.awt.X11.XDropTargetProtocol.getData.

Annotations
@Override
getMessageTypeback to summary
public int getMessageType(XClientMessageEvent xclient)

Implements abstract sun.awt.X11.XDropTargetProtocol.getMessageType.

Annotations
@Override
getProtocolNameback to summary
public String getProtocolName()

Implements abstract sun.awt.X11.XDropTargetProtocol.getProtocolName.

Doc from sun.awt.X11.XDropTargetProtocol.getProtocolName.

Returns the protocol name. The protocol name cannot be null.

Annotations
@Override
getSourceWindowback to summary
public final long getSourceWindow()

Implements abstract sun.awt.X11.XDropTargetProtocol.getSourceWindow.

Annotations
@Override
isDragOverComponentback to summary
public boolean isDragOverComponent()

Implements abstract sun.awt.X11.XDropTargetProtocol.isDragOverComponent.

Annotations
@Override
isProtocolSupportedback to summary
public boolean isProtocolSupported(long window)

Implements abstract sun.awt.X11.XDropTargetProtocol.isProtocolSupported.

Annotations
@Override
isXEmbedSupportedback to summary
public boolean isXEmbedSupported()

Implements abstract sun.awt.X11.XDropTargetProtocol.isXEmbedSupported.

Annotations
@Override
notifyProtocolListenerback to summary
private void notifyProtocolListener(XWindow xwindow, int x, int y, int dropAction, int actions, XClientMessageEvent xclient, int eventID)
processClientMessageImplback to summary
protected boolean processClientMessageImpl(XClientMessageEvent xclient)

Implements abstract sun.awt.X11.XDropTargetProtocol.processClientMessageImpl.

Annotations
@Override
processDragMotionback to summary
private boolean processDragMotion(XClientMessageEvent xclient)
processDropStartback to summary
private boolean processDropStart(XClientMessageEvent xclient)
processTopLevelEnterback to summary
private boolean processTopLevelEnter(XClientMessageEvent xclient)
processTopLevelLeaveback to summary
private boolean processTopLevelLeave(XClientMessageEvent xclient)
registerDropTargetback to summary
public void registerDropTarget(long window)

Implements abstract sun.awt.X11.XDropTargetProtocol.registerDropTarget.

Annotations
@Override
registerEmbeddedDropSiteback to summary
public void registerEmbeddedDropSite(long embedded)

Implements abstract sun.awt.X11.XDropTargetProtocol.registerEmbeddedDropSite.

Annotations
@Override
registerEmbedderDropSiteback to summary
public void registerEmbedderDropSite(long embedder)

Implements abstract sun.awt.X11.XDropTargetProtocol.registerEmbedderDropSite.

Annotations
@Override
sendDropDoneback to summary
public boolean sendDropDone(long ctxt, boolean success, int dropAction)

Implements abstract sun.awt.X11.XDropTargetProtocol.sendDropDone.

Annotations
@Override
sendEnterMessageToToplevelback to summary
protected void sendEnterMessageToToplevel(long win, XClientMessageEvent xclient)

Implements abstract sun.awt.X11.XDropTargetProtocol.sendEnterMessageToToplevel.

Annotations
@Override
sendLeaveMessageToToplevelback to summary
protected void sendLeaveMessageToToplevel(long win, XClientMessageEvent xclient)

Implements abstract sun.awt.X11.XDropTargetProtocol.sendLeaveMessageToToplevel.

Annotations
@Override
sendResponseback to summary
public boolean sendResponse(long ctxt, int eventID, int action)

Implements abstract sun.awt.X11.XDropTargetProtocol.sendResponse.

Annotations
@Override
unregisterDropTargetback to summary
public void unregisterDropTarget(long window)

Implements abstract sun.awt.X11.XDropTargetProtocol.unregisterDropTarget.

Annotations
@Override
unregisterEmbedderDropSiteback to summary
public void unregisterEmbedderDropSite(long embedder)

Implements abstract sun.awt.X11.XDropTargetProtocol.unregisterEmbedderDropSite.

Annotations
@Override