|
Runtime | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IAnchorableFigure
Interface class for figures that are anchorable to other figures.
| Method Summary | |
|---|---|
ConnectionAnchor |
getConnectionAnchor(java.lang.String terminal)
Given a string identifier, return the associated anchor for that identifier |
java.lang.String |
getConnectionAnchorTerminal(ConnectionAnchor c)
Dynamically allocates a new anchor if needed. |
ConnectionAnchor |
getSourceConnectionAnchorAt(Point p)
Gets the source connection anchor at a given point on the figure. |
ConnectionAnchor |
getTargetConnectionAnchorAt(Point p)
Gets the target connection anchor at a given point on the figure. |
| Method Detail |
|---|
ConnectionAnchor getConnectionAnchor(java.lang.String terminal)
terminal - String identifier associated with the anchor
ConnectionAnchor that is associated with the given string.java.lang.String getConnectionAnchorTerminal(ConnectionAnchor c)
c - the ConnectionAnchor reference to an anchor associated with the
given point on the figure
String that represents the anchor identifier.ConnectionAnchor getSourceConnectionAnchorAt(Point p)
p - Point on the figure that gives a hint which anchor to return.
ConnectionAnchor reference to an anchor associated with the given
point on the figure.ConnectionAnchor getTargetConnectionAnchorAt(Point p)
p - Point on the figure that gives a hint which anchor to return.
ConnectionAnchor reference to an anchor associated with the
given point on the figure.
|
Runtime | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.