|
UML | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.draw2d.ConnectionAnchorBase
org.eclipse.draw2d.AbstractConnectionAnchor
org.topcased.modeler.uml.sequencediagram.anchors.LifelineAnchor
public class LifelineAnchor
The anchor of the Lifeline
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.eclipse.draw2d.AncestorListener |
|---|
org.eclipse.draw2d.AncestorListener.Stub |
| Field Summary |
|---|
| Fields inherited from class org.eclipse.draw2d.ConnectionAnchorBase |
|---|
listeners |
| Constructor Summary | |
|---|---|
LifelineAnchor(org.eclipse.draw2d.IFigure owner,
org.eclipse.draw2d.geometry.Point pos)
Contructor |
|
LifelineAnchor(org.eclipse.draw2d.IFigure owner,
org.eclipse.draw2d.geometry.Point cursor,
org.eclipse.draw2d.geometry.Point oppositePos)
Constructs a LifeLineAnchor with the given owner figure. |
|
| Method Summary | |
|---|---|
protected void |
computeRefPointFromCursor(org.eclipse.draw2d.geometry.Point pCursor,
org.eclipse.draw2d.geometry.Point oppositePos)
Compute the reference point |
boolean |
equals(java.lang.Object obj)
|
protected org.eclipse.draw2d.geometry.Rectangle |
getBox()
Returns the bounds of this LifelineAnchor's owner. |
org.eclipse.draw2d.geometry.Point |
getLocation(org.eclipse.draw2d.geometry.Point reference)
The location is the reference point |
org.eclipse.draw2d.geometry.Point |
getReferencePoint()
The reference point is the abolute position of the anchor |
int |
hashCode()
|
| Methods inherited from class org.eclipse.draw2d.AbstractConnectionAnchor |
|---|
addAnchorListener, ancestorAdded, ancestorMoved, 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 |
| Constructor Detail |
|---|
public LifelineAnchor(org.eclipse.draw2d.IFigure owner,
org.eclipse.draw2d.geometry.Point cursor,
org.eclipse.draw2d.geometry.Point oppositePos)
owner - The owner figurecursor - the position of the cursoroppositePos - the position of the opposite anchor
public LifelineAnchor(org.eclipse.draw2d.IFigure owner,
org.eclipse.draw2d.geometry.Point pos)
owner - the owner figurepos - the position of the anchor| Method Detail |
|---|
protected void computeRefPointFromCursor(org.eclipse.draw2d.geometry.Point pCursor,
org.eclipse.draw2d.geometry.Point oppositePos)
pCursor - the position of the cursoroppositePos - the position of the opposite anchorpublic org.eclipse.draw2d.geometry.Point getLocation(org.eclipse.draw2d.geometry.Point reference)
ConnectionAnchor.getLocation(org.eclipse.draw2d.geometry.Point)protected org.eclipse.draw2d.geometry.Rectangle getBox()
public org.eclipse.draw2d.geometry.Point getReferencePoint()
getReferencePoint in interface org.eclipse.draw2d.ConnectionAnchorgetReferencePoint in class org.eclipse.draw2d.AbstractConnectionAnchorConnectionAnchor.getReferencePoint()public boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectObject.equals(java.lang.Object)public int hashCode()
hashCode in class java.lang.ObjectObject.hashCode()
|
UML | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.