インタフェース IAnchorableFigure

  • 既知のサブインタフェースのリスト:
    IPolygonAnchorableFigure

    public interface IAnchorableFigure
    Interface class for figures that are anchorable to other figures.
    作成者:
    sshaw
    • メソッドの詳細

      • getConnectionAnchor

        org.eclipse.draw2d.ConnectionAnchor getConnectionAnchor​(String terminal)
        Given a string identifier, return the associated anchor for that identifier
        パラメータ:
        terminal - String identifier associated with the anchor
        戻り値:
        ConnectionAnchor that is associated with the given string.
      • getConnectionAnchorTerminal

        String getConnectionAnchorTerminal​(org.eclipse.draw2d.ConnectionAnchor c)
        Dynamically allocates a new anchor if needed. Otherwise, recycles old anchors no longer in use.
        パラメータ:
        c - the ConnectionAnchor reference to an anchor associated with the given point on the figure
        戻り値:
        a String that represents the anchor identifier.
      • getSourceConnectionAnchorAt

        org.eclipse.draw2d.ConnectionAnchor getSourceConnectionAnchorAt​(org.eclipse.draw2d.geometry.Point p)
        Gets the source connection anchor at a given point on the figure.
        パラメータ:
        p - Point on the figure that gives a hint which anchor to return.
        戻り値:
        a ConnectionAnchor reference to an anchor associated with the given point on the figure.
      • getTargetConnectionAnchorAt

        org.eclipse.draw2d.ConnectionAnchor getTargetConnectionAnchorAt​(org.eclipse.draw2d.geometry.Point p)
        Gets the target connection anchor at a given point on the figure.
        パラメータ:
        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.