diva.canvas.connector
Class CenterTarget
java.lang.Object
diva.canvas.connector.AbstractConnectorTarget
diva.canvas.connector.CenterTarget
- All Implemented Interfaces:
- ConnectorTarget
public class CenterTarget
- extends AbstractConnectorTarget
An implementation of connector targets that finds center sites.
- Version:
- $Revision: 1.4 $
- Author:
- John Reekie (johnr@eecs.berkeley.edu), Michael Shilman (michaels@eecs.berkeley.edu)
Method Summary |
Site |
getHeadSite(Figure f,
double x,
double y)
Return a center site located on the figure, if the figure is not a
connector. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CenterTarget
public CenterTarget()
getHeadSite
public Site getHeadSite(Figure f,
double x,
double y)
- Return a center site located on the figure, if the figure is not a
connector.
- Specified by:
getHeadSite
in interface ConnectorTarget
- Specified by:
getHeadSite
in class AbstractConnectorTarget
Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.