Protege-2000 1.7

edu.stanford.smi.protegex.layout
Class WireDraggingHandler

java.lang.Object
  |
  +--edu.stanford.smi.protegex.layout.AbstractDragHandler
        |
        +--edu.stanford.smi.protegex.layout.ActorDraggingHandler
              |
              +--edu.stanford.smi.protegex.layout.WireDraggingHandler

public class WireDraggingHandler
extends ActorDraggingHandler

Description of the Class

Author:
William Grosso

Field Summary
static int DEFAULT_SENSITIVITY
           
 
Fields inherited from class edu.stanford.smi.protegex.layout.AbstractDragHandler
_actor, _canBeActive, _isActive, _location, _oldMouseLocation
 
Constructor Summary
WireDraggingHandler(Actor actor)
           
WireDraggingHandler(Actor actor, int sensitivity)
           
 
Method Summary
 Object copy()
           
 void processDragging(MouseEvent e)
           
 boolean wantDrag(MouseEvent e)
           
 
Methods inherited from class edu.stanford.smi.protegex.layout.AbstractDragHandler
getActor, getCanBeActive, getIsActive, processDrag, processIncrementalDrag, processMouseRelease, setActor, setCanBeActive, startDragging
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_SENSITIVITY

public static final int DEFAULT_SENSITIVITY
Constructor Detail

WireDraggingHandler

public WireDraggingHandler(Actor actor)

WireDraggingHandler

public WireDraggingHandler(Actor actor,
                           int sensitivity)
Method Detail

copy

public Object copy()
Overrides:
copy in class ActorDraggingHandler

processDragging

public void processDragging(MouseEvent e)
Overrides:
processDragging in class ActorDraggingHandler

wantDrag

public boolean wantDrag(MouseEvent e)
Overrides:
wantDrag in class ActorDraggingHandler

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.