|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.gnu.glib.GObject | +--org.gnu.gdk.DragContext
A DragContext holds information about a drag in process. It is used on both source and destination sides.
Constructor Summary | |
DragContext()
Construct a DragContext. |
|
DragContext(int handle)
Construct a DragContext using native resources. |
Method Summary | |
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. |
boolean |
isSource()
Returns true if the context is used on the source side. |
Methods inherited from class org.gnu.glib.GObject |
addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, equals, getData, getHandle, removeEventHandler, setData |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DragContext()
public DragContext(int handle)
Method Detail |
public Window getSource()
public Window getDestination()
public DragProtocol getProtocol()
public boolean isSource()
public DragAction getSuggestedAction()
public DragAction getAction()
|
Please send any bug reports, comments, or suggestions for the API or documentation to java-gnome-developer@lists.sf.net | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |