|
LPEX 4.4.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectDropTargetEffect
com.ibm.lpex.core.TextWindowDropTargetEffect
public final class TextWindowDropTargetEffect
This class extends SWT's DropTargetEffect (which provides no visual feedback) for TextWindow. It provides a drag-under effect (set drop position and scroll) during a DND drop-hoverin' taking place over a TextWindow. The class has the same API as (extends) DropTargetAdapter, so that it can provide custom visual feedback when a DropTargetEvent occurs.
| Constructor Summary | |
|---|---|
TextWindowDropTargetEffect(com.ibm.lpex.core.TextWindow textWindow)
Constructor. |
|
| Method Summary | |
|---|---|
void |
dragEnter(DropTargetEvent event)
The cursor has entered the TextWindow (drop target) boundaries. |
void |
dragLeave(DropTargetEvent event)
The cursor has left the drop target boundaries, or the drop has been cancelled, or the data is about to be dropped. |
void |
dragOver(DropTargetEvent event)
The cursor is moving over the drop target. |
void |
dropAccept(DropTargetEvent event)
The drop is about to be performed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TextWindowDropTargetEffect(com.ibm.lpex.core.TextWindow textWindow)
textWindow - the text window over which the user is moving to do the drop| Method Detail |
|---|
public void dragEnter(DropTargetEvent event)
event - drag-enter event informationpublic void dragLeave(DropTargetEvent event)
event - drag-leave event informationpublic void dragOver(DropTargetEvent event)
event - drag-over event informationpublic void dropAccept(DropTargetEvent event)
event - drop-accept event information
|
LPEX 4.4.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||