|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcz.psika.numerist.DragAndDropHandler
public final class DragAndDropHandler
Support for drag and drop actions. Dragging and dropping diagrams inside application tested. Nothing else is supported for now. But dragging and dropping textual data from outside should be implemented.
Nested Class Summary | |
---|---|
class |
DragAndDropHandler.DiagramTransferable
Transferable object. |
Method Summary | |
---|---|
void |
dragDiagram(java.awt.dnd.DragGestureEvent dge)
Handle dragging diagram. |
void |
dropDiagram(java.awt.dnd.DropTargetDropEvent dtde)
Handle drop of diagram. |
static DragAndDropHandler |
getInstance()
Get single instance of drag and drop handler. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static DragAndDropHandler getInstance()
DragAndDropHandler
public void dragDiagram(java.awt.dnd.DragGestureEvent dge)
dge
- drag eventpublic void dropDiagram(java.awt.dnd.DropTargetDropEvent dtde)
dtde
- drop event
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |