|
Eclipse Draw2d 2.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.eclipse.draw2d.ConnectionAnchorBase
Provides support for a ConnectionAnchor. A ConnectionAnchor is one of the end points
of a Connection
. It holds listeners and notifies them if the anchor is moved.
Field Summary | |
protected List |
listeners
The list of listeners |
Constructor Summary | |
ConnectionAnchorBase()
|
Method Summary | |
void |
addAnchorListener(AnchorListener listener)
Adds a listener interested in the movement of this ConnectionAnchor. |
protected void |
fireAnchorMoved()
Notifies all the listeners in the list of a change in position of this anchor. |
void |
removeAnchorListener(AnchorListener listener)
Removes the listener. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.draw2d.ConnectionAnchor |
getLocation, getOwner, getReferencePoint |
Field Detail |
protected List listeners
Constructor Detail |
public ConnectionAnchorBase()
Method Detail |
public void addAnchorListener(AnchorListener listener)
ConnectionAnchor
addAnchorListener
in interface ConnectionAnchor
listener
- The AnchorListener to be addedConnectionAnchor.addAnchorListener(AnchorListener)
public void removeAnchorListener(AnchorListener listener)
ConnectionAnchor
removeAnchorListener
in interface ConnectionAnchor
listener
- The AnchorListener to be removedConnectionAnchor.removeAnchorListener(AnchorListener)
protected void fireAnchorMoved()
|
Eclipse Draw2d 2.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |