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 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.
-
-
-
Method Detail
-
connectorDragged
public void connectorDragged(ConnectorEvent e)
Do nothing when a connector end is dragged.- Specified by:
connectorDragged
in interfaceConnectorListener
-
connectorDropped
public void connectorDropped(ConnectorEvent e)
Do nothing when a connector end is dropped.- Specified by:
connectorDropped
in interfaceConnectorListener
-
connectorSnapped
public void connectorSnapped(ConnectorEvent e)
Do nothing when a connector end is snapped to a possible target.- Specified by:
connectorSnapped
in 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:
connectorUnsnapped
in interfaceConnectorListener
-
-