Spec-Zone .ru
спецификации, руководства, описания, API
|
class Scene.DropTargetListener
extends java.lang.Object
implements com.sun.javafx.tk.TKDropTargetListener
Modifier and Type | Method and Description |
---|---|
TransferMode |
dragEnter(java.lang.Object e)
Called during a drag gesture, when the mouse pointer enters
the operable part of the Scene.
|
void |
dragExit(java.lang.Object e)
Called during a drag gesture, when the mouse pointer exits
the operable part of the Scene.
|
TransferMode |
dragOver(java.lang.Object e)
Called during a drag gesture, while the mouse pointer is still
over (is moving over) the operable part of the Sceme.
|
TransferMode |
drop(java.lang.Object e)
Called when the drag gesture is being terminated with a drop on
the operable part Scene.
|
void |
dropActionChanged(java.lang.Object e)
Called if the user has modified the intended
TransferMode of the drag gesture. |
public TransferMode dragEnter(java.lang.Object e)
com.sun.javafx.tk.TKDropTargetListener
dragEnter
in interface com.sun.javafx.tk.TKDropTargetListener
e
- a drop target drag eventpublic TransferMode dragOver(java.lang.Object e)
com.sun.javafx.tk.TKDropTargetListener
dragOver
in interface com.sun.javafx.tk.TKDropTargetListener
e
- a drop target drag eventpublic void dropActionChanged(java.lang.Object e)
com.sun.javafx.tk.TKDropTargetListener
TransferMode
of the drag gesture.
This usually happens as a result of different keys being pressed/released
during the gesture (alt, shift, ctrl, etc.)dropActionChanged
in interface com.sun.javafx.tk.TKDropTargetListener
e
- a drop target drag eventpublic void dragExit(java.lang.Object e)
com.sun.javafx.tk.TKDropTargetListener
dragExit
in interface com.sun.javafx.tk.TKDropTargetListener
e
- a drop target drag eventpublic TransferMode drop(java.lang.Object e)
com.sun.javafx.tk.TKDropTargetListener
dropTargetDropEvent
provides a means to obtain an
object that represents the data object(s) to
be transfered.
drop
in interface com.sun.javafx.tk.TKDropTargetListener
e
- a drop target drop eventCopyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. Use is subject to