Protege-2000 1.7

edu.stanford.smi.protegex.widget.diagram
Class ListensToDraggedActor

java.lang.Object
  |
  +--edu.stanford.smi.protegex.layout.ActorAdapter
        |
        +--edu.stanford.smi.protegex.widget.diagram.ListensToDraggedActor
All Implemented Interfaces:
ActorListener
Direct Known Subclasses:
ListensToDraggedConnectionActor, ListensToDraggedNodeActor

public abstract class ListensToDraggedActor
extends ActorAdapter

Description of the Class

Author:
William Grosso

Field Summary
protected  Actor _actor
           
protected  edu.stanford.smi.protege.model.Cls _cls
           
protected  AnimationContext _destinationFrame
           
protected  edu.stanford.smi.protege.model.KnowledgeBase _kb
           
protected  OuterPanel _outerPanel
           
protected  AnimationContext _overlayFrame
           
protected  AnimationContext _startingFrame
           
protected  DiagramWidget _widget
           
 
Constructor Summary
ListensToDraggedActor(Actor actor, DiagramWidget widget, edu.stanford.smi.protege.model.KnowledgeBase kb, edu.stanford.smi.protege.model.Cls cls, AnimationContext startingFrame, AnimationContext destinationFrame, AnimationContext overlayFrame, OuterPanel outerPanel)
           
 
Method Summary
 void actorResized(ActorEvent e)
           
 void actorStoppedMoving(ActorEvent e)
           
protected abstract  void addActorToWidget(edu.stanford.smi.protege.model.Instance actorInstance)
           
protected  void dropActor()
           
 
Methods inherited from class edu.stanford.smi.protegex.layout.ActorAdapter
actorDoubleClicked, actorMoved, actorSelected, actorStartedMoving
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_actor

protected Actor _actor

_startingFrame

protected AnimationContext _startingFrame

_overlayFrame

protected AnimationContext _overlayFrame

_destinationFrame

protected AnimationContext _destinationFrame

_kb

protected edu.stanford.smi.protege.model.KnowledgeBase _kb

_cls

protected edu.stanford.smi.protege.model.Cls _cls

_widget

protected DiagramWidget _widget

_outerPanel

protected OuterPanel _outerPanel
Constructor Detail

ListensToDraggedActor

public ListensToDraggedActor(Actor actor,
                             DiagramWidget widget,
                             edu.stanford.smi.protege.model.KnowledgeBase kb,
                             edu.stanford.smi.protege.model.Cls cls,
                             AnimationContext startingFrame,
                             AnimationContext destinationFrame,
                             AnimationContext overlayFrame,
                             OuterPanel outerPanel)
Method Detail

actorResized

public void actorResized(ActorEvent e)
Overrides:
actorResized in class ActorAdapter

actorStoppedMoving

public void actorStoppedMoving(ActorEvent e)
Overrides:
actorStoppedMoving in class ActorAdapter

addActorToWidget

protected abstract void addActorToWidget(edu.stanford.smi.protege.model.Instance actorInstance)

dropActor

protected void dropActor()

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.