dsto.dfc.swing.dnd
Class DropTargetAdapter

java.lang.Object
  extended by dsto.dfc.swing.dnd.DropTargetAdapter
All Implemented Interfaces:
DropTargetListener, EventListener

public class DropTargetAdapter
extends Object
implements DropTargetListener

A drop target listener manages drop actions for a DropComponent.

Version:
$Revision$

Field Summary
protected  DropComponent component
           
 
Constructor Summary
DropTargetAdapter(DropComponent component)
           
 
Method Summary
 void dragEnter(DropTargetDragEvent e)
           
 void dragExit(DropTargetEvent e)
           
 void dragOver(DropTargetDragEvent e)
           
 void drop(DropTargetDropEvent e)
           
 void dropActionChanged(DropTargetDragEvent e)
           
protected  void updateDragFeedBack(DropTargetDragEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

component

protected DropComponent component
Constructor Detail

DropTargetAdapter

public DropTargetAdapter(DropComponent component)
Method Detail

updateDragFeedBack

protected void updateDragFeedBack(DropTargetDragEvent e)

dragEnter

public void dragEnter(DropTargetDragEvent e)
Specified by:
dragEnter in interface DropTargetListener

dragOver

public void dragOver(DropTargetDragEvent e)
Specified by:
dragOver in interface DropTargetListener

dropActionChanged

public void dropActionChanged(DropTargetDragEvent e)
Specified by:
dropActionChanged in interface DropTargetListener

dragExit

public void dragExit(DropTargetEvent e)
Specified by:
dragExit in interface DropTargetListener

drop

public void drop(DropTargetDropEvent e)
Specified by:
drop in interface DropTargetListener


Copyright © 2008 Commonwealth of Australia