TBC
| Modifier and Type | Class and Description |
|---|---|
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private Component | |
| private Cursor | |
| private static volatile boolean | |
| protected static final int | |
| protected static final int | |
| protected static final int | |
| protected static final int | |
| protected static final int | |
| protected static final int | |
| private static volatile boolean | |
| private Image | |
| private Point | |
| private DragSourceContext | |
| private long | |
| private int | |
| private DragGestureEvent |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static void | |
| public static boolean | checkEvent(AWTEvent event)
Filters out all mouse events that were on the java event queue when startDrag was called. |
| private void | |
| public static int | |
| protected final void | dragDropFinished(final boolean success, final int operations, final int x, final int y)
upcall from native code via implemented class (do) |
| protected void | dragEnter(final int targetActions, final int modifiers, final int x, final int y)
upcall from native code |
| protected final void | |
| private void | dragMotion(final int targetActions, final int modifiers, final int x, final int y)
upcall from native code |
| private void | dragMouseMoved(final int targetActions, final int modifiers, final int x, final int y)
upcall from native code |
| protected Component | |
| public Cursor | |
| public Image | |
| public Point | Returns: aPoint object that corresponds
to coordinates of an anchor offset of the image
relative to the upper left corner of the image.
The point (0,0) returns by default.Returns an anchor offset for the image to drag. |
| protected DragSourceContext | |
| private static String | |
| protected synchronized long | |
| protected DragGestureEvent | |
| public static boolean | |
| private void | operationChanged(final int targetActions, final int modifiers, final int x, final int y)
upcall from native code |
| protected final void | postDragSourceDragEvent(final int targetAction, final int modifiers, final int x, final int y, final int dispatchType)
|
| public void | |
| public void | |
| public static void | |
| protected synchronized void | |
| protected abstract void | |
| protected synchronized void | |
| public void | startDrag(DragSourceContext dsc, Cursor c, Image di, Point p)
Implements java. initiate a DnD operation ... |
| protected abstract void | |
| public void | |
| public void | transferablesFlavorsChanged()
Implements java. Notify the peer that the transferables' DataFlavors have changed. |
| component | back to summary |
|---|---|
| private Component component | |
| cursor | back to summary |
|---|---|
| private Cursor cursor | |
| discardingMouseEvents | back to summary |
|---|---|
| private static volatile boolean discardingMouseEvents | |
| DISPATCH_CHANGED | back to summary |
|---|---|
| protected static final int DISPATCH_CHANGED | |
| DISPATCH_ENTER | back to summary |
|---|---|
| protected static final int DISPATCH_ENTER | |
| DISPATCH_EXIT | back to summary |
|---|---|
| protected static final int DISPATCH_EXIT | |
| DISPATCH_FINISH | back to summary |
|---|---|
| protected static final int DISPATCH_FINISH | |
| DISPATCH_MOTION | back to summary |
|---|---|
| protected static final int DISPATCH_MOTION | |
| DISPATCH_MOUSE_MOVED | back to summary |
|---|---|
| protected static final int DISPATCH_MOUSE_MOVED | |
| dragDropInProgress | back to summary |
|---|---|
| private static volatile boolean dragDropInProgress | |
| dragImage | back to summary |
|---|---|
| private Image dragImage | |
| dragImageOffset | back to summary |
|---|---|
| private Point dragImageOffset | |
| dragSourceContext | back to summary |
|---|---|
| private DragSourceContext dragSourceContext | |
| nativeCtxt | back to summary |
|---|---|
| private long nativeCtxt | |
| sourceActions | back to summary |
|---|---|
| private int sourceActions | |
| trigger | back to summary |
|---|---|
| private DragGestureEvent trigger | |
| SunDragSourceContextPeer | back to summary |
|---|---|
| public SunDragSourceContextPeer(DragGestureEvent dge) construct a new SunDragSourceContextPeer | |
| checkDragDropInProgress | back to summary |
|---|---|
| public static void checkDragDropInProgress() throws InvalidDnDOperationException | |
| checkEvent | back to summary |
|---|---|
| public static boolean checkEvent(AWTEvent event) Filters out all mouse events that were on the java event queue when startDrag was called. | |
| cleanup | back to summary |
|---|---|
| private void cleanup() | |
| convertModifiersToDropAction | back to summary |
|---|---|
| public static int convertModifiersToDropAction(final int modifiers, final int supportedActions) | |
| dragDropFinished | back to summary |
|---|---|
| protected final void dragDropFinished(final boolean success, final int operations, final int x, final int y) upcall from native code via implemented class (do) | |
| dragEnter | back to summary |
|---|---|
| protected void dragEnter(final int targetActions, final int modifiers, final int x, final int y) upcall from native code | |
| dragExit | back to summary |
|---|---|
| protected final void dragExit(final int x, final int y) upcall from native code | |
| dragMotion | back to summary |
|---|---|
| private void dragMotion(final int targetActions, final int modifiers, final int x, final int y) upcall from native code | |
| dragMouseMoved | back to summary |
|---|---|
| private void dragMouseMoved(final int targetActions, final int modifiers, final int x, final int y) upcall from native code | |
| getComponent | back to summary |
|---|---|
| protected Component getComponent() | |
| getCursor | back to summary |
|---|---|
| public Cursor getCursor() Implements java. return cursor | |
| getDragImage | back to summary |
|---|---|
| public Image getDragImage() Returns the drag image. If there is no image to drag,
the returned value is
| |
| getDragImageOffset | back to summary |
|---|---|
| public Point getDragImageOffset() Returns an anchor offset for the image to drag.
| |
| getDragSourceContext | back to summary |
|---|---|
| protected DragSourceContext getDragSourceContext() | |
| getExceptionMessage | back to summary |
|---|---|
| private static String getExceptionMessage(boolean b) | |
| getNativeContext | back to summary |
|---|---|
| protected synchronized long getNativeContext() | |
| getTrigger | back to summary |
|---|---|
| protected DragGestureEvent getTrigger() | |
| isDragDropInProgress | back to summary |
|---|---|
| public static boolean isDragDropInProgress() | |
| operationChanged | back to summary |
|---|---|
| private void operationChanged(final int targetActions, final int modifiers, final int x, final int y) upcall from native code | |
| postDragSourceDragEvent | back to summary |
|---|---|
| protected final void postDragSourceDragEvent(final int targetAction, final int modifiers, final int x, final int y, final int dispatchType) | |
| quitSecondaryEventLoop | back to summary |
|---|---|
| public void quitSecondaryEventLoop() | |
| setCursor | back to summary |
|---|---|
| public void setCursor(Cursor c) throws InvalidDnDOperationException Implements java. set cursor | |
| setDragDropInProgress | back to summary |
|---|---|
| public static void setDragDropInProgress(boolean b) throws InvalidDnDOperationException | |
| setNativeContext | back to summary |
|---|---|
| protected synchronized void setNativeContext(long ctxt) | |
| setNativeCursor | back to summary |
|---|---|
| protected abstract void setNativeCursor(long nativeCtxt, Cursor c, int cType) downcall into native code | |
| setTrigger | back to summary |
|---|---|
| protected synchronized void setTrigger(DragGestureEvent dge) | |
| startDrag | back to summary |
|---|---|
| public void startDrag(DragSourceContext dsc, Cursor c, Image di, Point p) throws InvalidDnDOperationException Implements java. initiate a DnD operation ... | |
| startDrag | back to summary |
|---|---|
| protected abstract void startDrag(Transferable trans, long[] formats, Map<Long, DataFlavor> formatMap) | |
| startSecondaryEventLoop | back to summary |
|---|---|
| public void startSecondaryEventLoop() Synchro messages in AWT | |
| transferablesFlavorsChanged | back to summary |
|---|---|
| public void transferablesFlavorsChanged() Implements java. Notify the peer that the transferables' DataFlavors have changed. No longer useful as the transferables are determined at the time of the drag. | |
| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final DragSourceEvent |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| dispatchType | back to summary |
|---|---|
| private final int dispatchType | |
| event | back to summary |
|---|---|
| private final DragSourceEvent event | |
| EventDispatcher | back to summary |
|---|---|
| pack-priv EventDispatcher(int dispatchType, DragSourceEvent event) | |
| run | back to summary |
|---|---|
| public void run() Implements java. Doc from java. Runs this operation. | |