diva.canvas.connector
Class ConnectorAdapter

java.lang.Object
  extended by diva.canvas.connector.ConnectorAdapter
All Implemented Interfaces:
ConnectorListener, java.util.EventListener
Direct Known Subclasses:
BasicEdgeController.EdgeDropper, LinkController.LinkDropper, TransitionController.LinkDropper, TransitionController.LinkDropper

public class ConnectorAdapter
extends java.lang.Object
implements ConnectorListener

An adapter for connector listeners. It contains empty methods, to make it easier to implement ConnectorListener.

Version:
$Id: ConnectorAdapter.java 38798 2005-07-08 20:00:01Z cxh $
Author:
John Reekie, Michael Shilman
Accepted Rating:
Red

Constructor Summary
ConnectorAdapter()
           
 
Method Summary
 void connectorDragged(ConnectorEvent e)
          Do nothing when a connector end is dragged.
 void connectorDropped(ConnectorEvent e)
          Do nothing when a connector end is dropped.
 void connectorSnapped(ConnectorEvent e)
          Do nothing when a connector end is snapped to a possible target.
 void connectorUnsnapped(ConnectorEvent e)
          Do nothing when a connector end is unsnapped from the site that it was originally attached to, or a possible target.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectorAdapter

public ConnectorAdapter()
Method Detail

connectorDragged

public void connectorDragged(ConnectorEvent e)
Do nothing when a connector end is dragged.

Specified by:
connectorDragged in interface ConnectorListener

connectorDropped

public void connectorDropped(ConnectorEvent e)
Do nothing when a connector end is dropped.

Specified by:
connectorDropped in interface ConnectorListener

connectorSnapped

public void connectorSnapped(ConnectorEvent e)
Do nothing when a connector end is snapped to a possible target.

Specified by:
connectorSnapped in interface ConnectorListener

connectorUnsnapped

public void connectorUnsnapped(ConnectorEvent e)
Do nothing when a connector end is unsnapped from the site that it was originally attached to, or a possible target.

Specified by:
connectorUnsnapped in interface ConnectorListener