Class AbstractConnection

java.lang.Object
com.orange.links.client.connection.AbstractConnection
All Implemented Interfaces:
com.orange.links.client.connection.Connection, com.orange.links.client.menu.HasContextMenu, com.orange.links.client.shapes.Drawable

public abstract class AbstractConnection extends Object implements com.orange.links.client.connection.Connection
A connection line between two nodes
Since:
6.8
Author:
Marco Meschieri - LogicalDOC
  • Field Details Link icon

    • defaultConnectionColor Link icon

      public static final com.google.gwt.canvas.dom.client.CssColor defaultConnectionColor
    • connectionColor Link icon

      public static final com.google.gwt.canvas.dom.client.CssColor connectionColor
  • Method Details Link icon

    • isSynchronized Link icon

      public boolean isSynchronized()
      Specified by:
      isSynchronized in interface com.orange.links.client.shapes.Drawable
    • setSynchronized Link icon

      public void setSynchronized(boolean sync)
      Specified by:
      setSynchronized in interface com.orange.links.client.shapes.Drawable
    • allowSynchronized Link icon

      public boolean allowSynchronized()
      Specified by:
      allowSynchronized in interface com.orange.links.client.shapes.Drawable
    • delete Link icon

      public void delete()
      Specified by:
      delete in interface com.orange.links.client.connection.Connection
    • draw Link icon

      public void draw()
      Specified by:
      draw in interface com.orange.links.client.shapes.Drawable
    • addMovablePoint Link icon

      public com.orange.links.client.utils.MovablePoint addMovablePoint(com.orange.links.client.shapes.Point p)
      Specified by:
      addMovablePoint in interface com.orange.links.client.connection.Connection
    • highlightMovablePoint Link icon

      public com.orange.links.client.shapes.Point highlightMovablePoint(com.orange.links.client.shapes.Point p)
      Specified by:
      highlightMovablePoint in interface com.orange.links.client.connection.Connection
    • getMovablePoints Link icon

      public List<com.orange.links.client.shapes.Point> getMovablePoints()
      Specified by:
      getMovablePoints in interface com.orange.links.client.connection.Connection
    • removeDecoration Link icon

      public void removeDecoration()
      Specified by:
      removeDecoration in interface com.orange.links.client.connection.Connection
    • setStraight Link icon

      public void setStraight()
      Specified by:
      setStraight in interface com.orange.links.client.connection.Connection
    • getStartShape Link icon

      public com.orange.links.client.shapes.Shape getStartShape()
      Specified by:
      getStartShape in interface com.orange.links.client.connection.Connection
    • getEndShape Link icon

      public com.orange.links.client.shapes.Shape getEndShape()
      Specified by:
      getEndShape in interface com.orange.links.client.connection.Connection
    • isMouseNearConnection Link icon

      public boolean isMouseNearConnection(com.orange.links.client.shapes.Point p)
      Specified by:
      isMouseNearConnection in interface com.orange.links.client.connection.Connection
    • getHighlightPoint Link icon

      public com.orange.links.client.shapes.Point getHighlightPoint()
    • setHighlightPoint Link icon

      public void setHighlightPoint(com.orange.links.client.shapes.Point highlightPoint)
    • setDecoration Link icon

      public void setDecoration(com.orange.links.client.shapes.DecorationShape decoration)
      Specified by:
      setDecoration in interface com.orange.links.client.connection.Connection
    • getDecoration Link icon

      public com.orange.links.client.shapes.DecorationShape getDecoration()
      Specified by:
      getDecoration in interface com.orange.links.client.connection.Connection
    • getContextMenu Link icon

      public com.orange.links.client.menu.ContextMenu getContextMenu()
      Specified by:
      getContextMenu in interface com.orange.links.client.menu.HasContextMenu
    • setStraightenText Link icon

      public static void setStraightenText(String text)
    • setDeleteText Link icon

      public static void setDeleteText(String text)
    • setController Link icon

      public void setController(DiagramController controller)
      Specified by:
      setController in interface com.orange.links.client.connection.Connection
    • drawHighlight Link icon

      public void drawHighlight()
      Specified by:
      drawHighlight in interface com.orange.links.client.shapes.Drawable
    • setAllowSynchronized Link icon

      public void setAllowSynchronized(boolean allowSynchronized)
      Specified by:
      setAllowSynchronized in interface com.orange.links.client.shapes.Drawable