roneditor.objectnetview.figures
Class ONNodeConnectionAnchor
java.lang.Object
org.eclipse.draw2d.ConnectionAnchorBase
org.eclipse.draw2d.AbstractConnectionAnchor
roneditor.objectnetview.figures.ONNodeConnectionAnchor
- All Implemented Interfaces:
- org.eclipse.draw2d.AncestorListener, org.eclipse.draw2d.ConnectionAnchor
public class ONNodeConnectionAnchor
- extends org.eclipse.draw2d.AbstractConnectionAnchor
Nested classes/interfaces inherited from interface org.eclipse.draw2d.AncestorListener |
org.eclipse.draw2d.AncestorListener.Stub |
Fields inherited from class org.eclipse.draw2d.ConnectionAnchorBase |
listeners |
Methods inherited from class org.eclipse.draw2d.AbstractConnectionAnchor |
addAnchorListener, ancestorAdded, ancestorRemoved, getOwner, removeAnchorListener, setOwner |
Methods inherited from class org.eclipse.draw2d.ConnectionAnchorBase |
fireAnchorMoved |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
offsetH
protected int offsetH
offsetV
protected int offsetV
id
protected int id
ONNodeConnectionAnchor
public ONNodeConnectionAnchor(org.eclipse.draw2d.IFigure owner,
int id)
ancestorMoved
public void ancestorMoved(org.eclipse.draw2d.IFigure figure)
- Specified by:
ancestorMoved
in interface org.eclipse.draw2d.AncestorListener
- Overrides:
ancestorMoved
in class org.eclipse.draw2d.AbstractConnectionAnchor
- See Also:
AbstractConnectionAnchor.ancestorMoved(IFigure)
getLocation
public org.eclipse.draw2d.geometry.Point getLocation(org.eclipse.draw2d.geometry.Point reference)
getReferencePoint
public org.eclipse.draw2d.geometry.Point getReferencePoint()
- Specified by:
getReferencePoint
in interface org.eclipse.draw2d.ConnectionAnchor
- Overrides:
getReferencePoint
in class org.eclipse.draw2d.AbstractConnectionAnchor
setOffsetH
public void setOffsetH(int offsetH)
- Parameters:
offsetH
- The offsetH to set.
setOffsetV
public void setOffsetV(int offsetV)
- Parameters:
offsetV
- The offsetV to set.
getId
public int getId()
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object