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

pack-priv final Class MotifDnDConstants

extends Object
Class Inheritance
Imports
java.awt.dnd.DnDConstants, java.nio.ByteOrder, java.util.Arrays, jdk.internal.misc.Unsafe

Motif DnD protocol global constants and convenience routines.
Since
1.5

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public static final byte
public static final byte
public static final byte
public static final byte
public static final byte
public static final byte
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final byte
public static final int
public static final int
public static final int
public static final int
public static final byte
public static final byte
public static final byte
public static final byte
public static final byte
public static final byte
public static final int
public static final int
public static final int
public static final int
public static final byte
pack-priv static final XSelection
public static final byte
public static final byte
public static final byte
private static final Unsafe
pack-priv static final XAtom
pack-priv static final XAtom
pack-priv static final XAtom
pack-priv static final XAtom
pack-priv static final XAtom
pack-priv static final XAtom
pack-priv static final XAtom
pack-priv static final XAtom

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
private static long
pack-priv static byte
pack-priv static int
getIndexForTargetList(long[] formats)

public static int
public static int
private static long
pack-priv static long[]
private static long[][]
getTargetListTable(long motifWindow)

DragBSI.h: typedef struct { BYTE byte_order; BYTE protocol_version; CARD16 num_target_lists B16; CARD32 heap_offset B32; } xmMotifTargetsPropertyRec;

private static void
putTargetListTable(long motifWindow, long[][] table)

private static long
pack-priv static void
writeDragInitiatorInfoStruct(long window, int index)

pack-priv static void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

DRAG_DROP_FINISHback to summary
public static final byte DRAG_DROP_FINISH
DRAG_MOTIONback to summary
public static final byte DRAG_MOTION
DROP_FINISHback to summary
public static final byte DROP_FINISH
DROP_SITE_ENTERback to summary
public static final byte DROP_SITE_ENTER
DROP_SITE_LEAVEback to summary
public static final byte DROP_SITE_LEAVE
DROP_STARTback to summary
public static final byte DROP_START
MOTIF_DND_ACTION_MASKback to summary
public static final int MOTIF_DND_ACTION_MASK
MOTIF_DND_ACTION_SHIFTback to summary
public static final int MOTIF_DND_ACTION_SHIFT
MOTIF_DND_ACTIONS_MASKback to summary
public static final int MOTIF_DND_ACTIONS_MASK
MOTIF_DND_ACTIONS_SHIFTback to summary
public static final int MOTIF_DND_ACTIONS_SHIFT
MOTIF_DND_COPYback to summary
public static final int MOTIF_DND_COPY
MOTIF_DND_MOVEback to summary
public static final int MOTIF_DND_MOVE
MOTIF_DND_NOOPback to summary
public static final int MOTIF_DND_NOOP
MOTIF_DND_PROTOCOL_VERSIONback to summary
public static final byte MOTIF_DND_PROTOCOL_VERSION
MOTIF_DND_STATUS_MASKback to summary
public static final int MOTIF_DND_STATUS_MASK
MOTIF_DND_STATUS_SHIFTback to summary
public static final int MOTIF_DND_STATUS_SHIFT
MOTIF_DYNAMIC_STYLEback to summary
public static final int MOTIF_DYNAMIC_STYLE
MOTIF_INITIATOR_INFO_SIZEback to summary
public static final int MOTIF_INITIATOR_INFO_SIZE
MOTIF_INVALID_DROP_SITEback to summary
public static final byte MOTIF_INVALID_DROP_SITE
MOTIF_MESSAGE_FROM_INITIATORback to summary
public static final byte MOTIF_MESSAGE_FROM_INITIATOR
MOTIF_MESSAGE_FROM_RECEIVERback to summary
public static final byte MOTIF_MESSAGE_FROM_RECEIVER
MOTIF_MESSAGE_REASON_MASKback to summary
public static final byte MOTIF_MESSAGE_REASON_MASK
MOTIF_MESSAGE_SENDER_MASKback to summary
public static final byte MOTIF_MESSAGE_SENDER_MASK
MOTIF_NO_DROP_SITEback to summary
public static final byte MOTIF_NO_DROP_SITE
MOTIF_PREFER_DYNAMIC_STYLEback to summary
public static final int MOTIF_PREFER_DYNAMIC_STYLE
MOTIF_PREFER_PREREGISTER_STYLEback to summary
public static final int MOTIF_PREFER_PREREGISTER_STYLE
MOTIF_PREFER_RECEIVER_STYLEback to summary
public static final int MOTIF_PREFER_RECEIVER_STYLE
MOTIF_RECEIVER_INFO_SIZEback to summary
public static final int MOTIF_RECEIVER_INFO_SIZE
MOTIF_VALID_DROP_SITEback to summary
public static final byte MOTIF_VALID_DROP_SITE
MotifDnDSelectionback to summary
pack-priv static final XSelection MotifDnDSelection
OPERATION_CHANGEDback to summary
public static final byte OPERATION_CHANGED
TOP_LEVEL_ENTERback to summary
public static final byte TOP_LEVEL_ENTER
TOP_LEVEL_LEAVEback to summary
public static final byte TOP_LEVEL_LEAVE
unsafeback to summary
private static final Unsafe unsafe
XA_MOTIF_ATOM_0back to summary
pack-priv static final XAtom XA_MOTIF_ATOM_0
XA_MOTIF_DRAG_AND_DROP_MESSAGEback to summary
pack-priv static final XAtom XA_MOTIF_DRAG_AND_DROP_MESSAGE
XA_MOTIF_DRAG_INITIATOR_INFOback to summary
pack-priv static final XAtom XA_MOTIF_DRAG_INITIATOR_INFO
XA_MOTIF_DRAG_RECEIVER_INFOback to summary
pack-priv static final XAtom XA_MOTIF_DRAG_RECEIVER_INFO
XA_MOTIF_DRAG_TARGETSback to summary
pack-priv static final XAtom XA_MOTIF_DRAG_TARGETS
XA_MOTIF_DRAG_WINDOWback to summary
pack-priv static final XAtom XA_MOTIF_DRAG_WINDOW
XA_XmTRANSFER_FAILUREback to summary
pack-priv static final XAtom XA_XmTRANSFER_FAILURE
XA_XmTRANSFER_SUCCESSback to summary
pack-priv static final XAtom XA_XmTRANSFER_SUCCESS

Constructor Detail

MotifDnDConstantsback to summary
private MotifDnDConstants()

Method Detail

createMotifWindowback to summary
private static long createMotifWindow() throws XException
getByteOrderByteback to summary
pack-priv static byte getByteOrderByte()
getIndexForTargetListback to summary
pack-priv static int getIndexForTargetList(long[] formats) throws XException
getJavaActionsForMotifActionsback to summary
public static int getJavaActionsForMotifActions(int motifActions)
getMotifActionsForJavaActionsback to summary
public static int getMotifActionsForJavaActions(int javaActions)
getMotifWindowback to summary
private static long getMotifWindow() throws XException
getTargetListForIndexback to summary
pack-priv static long[] getTargetListForIndex(int index)
getTargetListTableback to summary
private static long[][] getTargetListTable(long motifWindow) throws XException

DragBSI.h: typedef struct { BYTE byte_order; BYTE protocol_version; CARD16 num_target_lists B16; CARD32 heap_offset B32; } xmMotifTargetsPropertyRec;

putTargetListTableback to summary
private static void putTargetListTable(long motifWindow, long[][] table) throws XException
readMotifWindowback to summary
private static long readMotifWindow() throws XException
writeDragInitiatorInfoStructback to summary
pack-priv static void writeDragInitiatorInfoStruct(long window, int index) throws XException
writeDragReceiverInfoStructback to summary
pack-priv static void writeDragReceiverInfoStruct(long window) throws XException
sun.awt.X11 back to summary

public final Class MotifDnDConstants.Swapper

extends Object
Class Inheritance

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static int
getInt(long data, byte order)

public static short
getShort(long data, byte order)

public static short
swap(short s)

public static int
swap(int i)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

Swapperback to summary
private Swapper()

Method Detail

getIntback to summary
public static int getInt(long data, byte order)
getShortback to summary
public static short getShort(long data, byte order)
swapback to summary
public static short swap(short s)
swapback to summary
public static int swap(int i)