Package diva.canvas.connector
Class ConnectorAdapter
- java.lang.Object
-
- diva.canvas.connector.ConnectorAdapter
-
- All Implemented Interfaces:
ConnectorListener,java.util.EventListener
- Direct Known Subclasses:
BasicEdgeController.EdgeDropper,LinkController.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$
- Author:
- John Reekie, Michael Shilman
- Pt.AcceptedRating:
- Red
-
-
Constructor Summary
Constructors Constructor Description ConnectorAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconnectorDragged(ConnectorEvent e)Do nothing when a connector end is dragged.voidconnectorDropped(ConnectorEvent e)Do nothing when a connector end is dropped.voidconnectorSnapped(ConnectorEvent e)Do nothing when a connector end is snapped to a possible target.voidconnectorUnsnapped(ConnectorEvent e)Do nothing when a connector end is unsnapped from the site that it was originally attached to, or a possible target.
-
-
-
Method Detail
-
connectorDragged
public void connectorDragged(ConnectorEvent e)
Do nothing when a connector end is dragged.- Specified by:
connectorDraggedin interfaceConnectorListener
-
connectorDropped
public void connectorDropped(ConnectorEvent e)
Do nothing when a connector end is dropped.- Specified by:
connectorDroppedin interfaceConnectorListener
-
connectorSnapped
public void connectorSnapped(ConnectorEvent e)
Do nothing when a connector end is snapped to a possible target.- Specified by:
connectorSnappedin interfaceConnectorListener
-
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:
connectorUnsnappedin interfaceConnectorListener
-
-