Package ptolemy.vergil.actor
Class LinkController.LinkDropper
- java.lang.Object
-
- diva.canvas.connector.ConnectorAdapter
-
- ptolemy.vergil.actor.LinkController.LinkDropper
-
- All Implemented Interfaces:
ConnectorListener
,java.util.EventListener
- Enclosing class:
- LinkController
protected class LinkController.LinkDropper extends ConnectorAdapter
An inner class that handles interactive changes to connectivity.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
LinkDropper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
connectorDropped(ConnectorEvent evt)
Called when a connector end is dropped--attach or detach the edge as appropriate.-
Methods inherited from class diva.canvas.connector.ConnectorAdapter
connectorDragged, connectorSnapped, connectorUnsnapped
-
-
-
-
Method Detail
-
connectorDropped
public void connectorDropped(ConnectorEvent evt)
Called when a connector end is dropped--attach or detach the edge as appropriate.- Specified by:
connectorDropped
in interfaceConnectorListener
- Overrides:
connectorDropped
in classConnectorAdapter
- Parameters:
evt
- The connector event.
-
-