edu.stanford.smi.protege.util
Class ListTarget
java.lang.Object
edu.stanford.smi.protege.util.ListTarget
- All Implemented Interfaces:
- DropTargetListener, EventListener
- public class ListTarget
- extends Object
- implements DropTargetListener
A standard implementation of the drag target interface for dragging items around in a list box.
- Author:
- Ray Fergerson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListTarget
public ListTarget()
doDrop
public void doDrop(JList list,
Collection sources,
int targetIndex,
Object dropArea)
dragEnter
public void dragEnter(DropTargetDragEvent e)
- Specified by:
dragEnter
in interface DropTargetListener
dragExit
public void dragExit(DropTargetEvent e)
- Specified by:
dragExit
in interface DropTargetListener
dragOver
public void dragOver(DropTargetDragEvent e)
- Specified by:
dragOver
in interface DropTargetListener
dragScroll
public void dragScroll(DropTargetDragEvent e)
drop
public void drop(DropTargetDropEvent e)
- Specified by:
drop
in interface DropTargetListener
dropActionChanged
public void dropActionChanged(DropTargetDragEvent e)
- Specified by:
dropActionChanged
in interface DropTargetListener
Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2004 Stanford University.