org.gnu.gdk
public class DragContext extends GObject
Deprecated: This class is part of the java-gnome 2.x family of libraries,
which, due to their inefficiency and complexity, are no longer
being maintained and have been abandoned by the java-gnome
project. This class may exist in java-gnome 4.0; look out for
org.gnome.gdk.DragContext
.
Constructor Summary | |
---|---|
DragContext()
Construct a DragContext. | |
DragContext(Handle handle)
Construct a DragContext using native resources. |
Method Summary | |
---|---|
void | finish(boolean success, boolean delete, int time) |
DragAction | getAction()
Return the action chosen by the destination. |
Window | getDestination()
Return the destination window. |
DragProtocol | getProtocol()
Return the Drag Protocol |
Window | getSource()
Return the source window. |
DragAction | getSuggestedAction()
Return the action suggested by the source. |
Atom[] | getTargets() |
boolean | isSource()
Returns true if the context is used on the source side. |
Deprecated: Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.
Construct a DragContext.Deprecated: Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.
Construct a DragContext using native resources. Used internally by java-gnomeDeprecated: Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.
Return the action chosen by the destination.Deprecated: Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.
Return the destination window.Deprecated: Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.
Return the Drag ProtocolDeprecated: Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.
Return the source window.Deprecated: Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.
Return the action suggested by the source.Deprecated: Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.
Returns true if the context is used on the source side.