ptolemy.vergil.actor
Class ActorEditorGraphController.LinkCreator

java.lang.Object
  extended by diva.canvas.interactor.AbstractInteractor
      extended by ptolemy.vergil.actor.ActorEditorGraphController.LinkCreator
All Implemented Interfaces:
LayerListener, LayerMotionListener, Interactor, java.util.EventListener
Enclosing class:
ActorEditorGraphController

protected class ActorEditorGraphController.LinkCreator
extends AbstractInteractor

This class is an interactor that interactively drags edges from one terminal to another, creating a link to connect them.


Constructor Summary
protected ActorEditorGraphController.LinkCreator()
           
 
Method Summary
 void mousePressed(LayerEvent event)
          Create a new edge when the mouse is pressed.
 
Methods inherited from class diva.canvas.interactor.AbstractInteractor
accept, getMouseFilter, isConsuming, isEnabled, isMotionEnabled, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mouseReleased, setConsuming, setEnabled, setMotionEnabled, setMouseFilter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActorEditorGraphController.LinkCreator

protected ActorEditorGraphController.LinkCreator()
Method Detail

mousePressed

public void mousePressed(LayerEvent event)
Create a new edge when the mouse is pressed.

Specified by:
mousePressed in interface LayerListener
Overrides:
mousePressed in class AbstractInteractor