Protege-2000 1.7

edu.stanford.smi.protege.util
Class TreeTarget

java.lang.Object
  |
  +--edu.stanford.smi.protege.util.TreeTarget
All Implemented Interfaces:
DropTargetListener, EventListener

public abstract class TreeTarget
extends Object
implements DropTargetListener

Description of the class

Author:
Ray Fergerson

Constructor Summary
TreeTarget(boolean allowsBetweenDrops)
           
 
Method Summary
protected  boolean doDrop(JTree tree, Collection sources, int row, Object area)
           
abstract  boolean doDrop(JTree tree, Object source, int row, Object area)
           
 void dragEnter(DropTargetDragEvent e)
           
 void dragExit(DropTargetEvent e)
           
 void dragOver(DropTargetDragEvent e)
           
 void drop(DropTargetDropEvent e)
           
 void dropActionChanged(DropTargetDragEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeTarget

public TreeTarget(boolean allowsBetweenDrops)
Method Detail

doDrop

public abstract boolean doDrop(JTree tree,
                               Object source,
                               int row,
                               Object area)

doDrop

protected boolean doDrop(JTree tree,
                         Collection sources,
                         int row,
                         Object area)

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

drop

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

dropActionChanged

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

Protege-2000 1.7

Submit a bug report or feature request
Protege-2000 is a trademark of Stanford University.
Copyright (c) 1998-2002 Stanford University.