|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.mucommander.ui.dnd.DnDContext
public class DnDContext
This class gives information about the context in which a drag-and-drop operation is being performed. The getters are static since only one drag-and-drop operation can be performed at the same time. The information returned by the getters is meaningful only when a drag-and-drop is being carried out.
FileDragSourceListener| Constructor Summary | |
|---|---|
DnDContext()
|
|
| Method Summary | |
|---|---|
static int |
getDragGestureModifiersEx()
Returns the extended modifiers that are currently pressed while dragging. |
static FolderPanel |
getDragInitiator()
Returns the FolderPanel instance that initiated the drag operation. |
static boolean |
isDragInitiatedByMucommander()
Returns true |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DnDContext()
| Method Detail |
|---|
public static boolean isDragInitiatedByMucommander()
true if the current drag has been initiated by muCommander, i.e. *not* by another application.
The returned value has a meaning only if a drag operation is currently being performed.
public static FolderPanel getDragInitiator()
FolderPanel instance that initiated the drag operation.
This method returns null if the current drag has not been initiated by muCommander.
public static int getDragGestureModifiersEx()
0 if the current drag has not been initiated by muCommander.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
This file is part of muCommander - Copyright (C) 2002-2008 Maxence Bernard