|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The listener interface for receiving drag events such as drag drops.
You should explicitly use com.webrenderer.event.DragListener
e.g:
browser.addDragListener(new com.webrenderer.event.DragListener(){...});
The class that is interested in processing a drag event either implements
this interface (and all the methods it contains) or extends the abstract
DragAdapter
class (overriding only the methods of interest).
The listener object created from that class is then registered with an
IBrowserCanvas
using the addDragListener
method.
Currently only available on Windows.
Method Summary | |
void |
onDragDrop(DragEvent e)
Invoked when a drag operation is dropped on a target. |
void |
onDragEnter(DragEvent e)
Invoked when an in-progress drag enters a component. |
void |
onDragExit(DragEvent e)
Invoked when an in-progress drag exits from a component. |
void |
onDragGesture(DragEvent e)
Invoked when a drag gesture is recognised. |
void |
onDragOver(DragEvent e)
Invoked when an in-progress drag is over a component. |
Method Detail |
public void onDragEnter(DragEvent e)
public void onDragOver(DragEvent e)
public void onDragExit(DragEvent e)
public void onDragDrop(DragEvent e)
public void onDragGesture(DragEvent e)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |