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 SummaryFieldsModifier and TypeFieldDescriptionstatic final com.google.gwt.canvas.dom.client.CssColorstatic final com.google.gwt.canvas.dom.client.CssColor
- 
Method SummaryModifier and TypeMethodDescriptioncom.orange.links.client.utils.MovablePointaddMovablePoint(com.orange.links.client.shapes.Point p) booleanvoiddelete()voiddraw()voidcom.orange.links.client.menu.ContextMenucom.orange.links.client.shapes.DecorationShapecom.orange.links.client.shapes.Shapecom.orange.links.client.shapes.PointList<com.orange.links.client.shapes.Point> com.orange.links.client.shapes.Shapecom.orange.links.client.shapes.PointhighlightMovablePoint(com.orange.links.client.shapes.Point p) booleanisMouseNearConnection(com.orange.links.client.shapes.Point p) booleanvoidvoidsetAllowSynchronized(boolean allowSynchronized) voidsetController(DiagramController controller) voidsetDecoration(com.orange.links.client.shapes.DecorationShape decoration) static voidsetDeleteText(String text) voidsetHighlightPoint(com.orange.links.client.shapes.Point highlightPoint) voidstatic voidsetStraightenText(String text) voidsetSynchronized(boolean sync) 
- 
Field Details- 
defaultConnectionColorpublic static final com.google.gwt.canvas.dom.client.CssColor defaultConnectionColor
- 
connectionColorpublic static final com.google.gwt.canvas.dom.client.CssColor connectionColor
 
- 
- 
Method Details- 
isSynchronizedpublic boolean isSynchronized()- Specified by:
- isSynchronizedin interface- com.orange.links.client.shapes.Drawable
 
- 
setSynchronizedpublic void setSynchronized(boolean sync) - Specified by:
- setSynchronizedin interface- com.orange.links.client.shapes.Drawable
 
- 
allowSynchronizedpublic boolean allowSynchronized()- Specified by:
- allowSynchronizedin interface- com.orange.links.client.shapes.Drawable
 
- 
deletepublic void delete()- Specified by:
- deletein interface- com.orange.links.client.connection.Connection
 
- 
drawpublic void draw()- Specified by:
- drawin interface- com.orange.links.client.shapes.Drawable
 
- 
addMovablePointpublic com.orange.links.client.utils.MovablePoint addMovablePoint(com.orange.links.client.shapes.Point p) - Specified by:
- addMovablePointin interface- com.orange.links.client.connection.Connection
 
- 
highlightMovablePointpublic com.orange.links.client.shapes.Point highlightMovablePoint(com.orange.links.client.shapes.Point p) - Specified by:
- highlightMovablePointin interface- com.orange.links.client.connection.Connection
 
- 
getMovablePoints- Specified by:
- getMovablePointsin interface- com.orange.links.client.connection.Connection
 
- 
removeDecorationpublic void removeDecoration()- Specified by:
- removeDecorationin interface- com.orange.links.client.connection.Connection
 
- 
setStraightpublic void setStraight()- Specified by:
- setStraightin interface- com.orange.links.client.connection.Connection
 
- 
getStartShapepublic com.orange.links.client.shapes.Shape getStartShape()- Specified by:
- getStartShapein interface- com.orange.links.client.connection.Connection
 
- 
getEndShapepublic com.orange.links.client.shapes.Shape getEndShape()- Specified by:
- getEndShapein interface- com.orange.links.client.connection.Connection
 
- 
isMouseNearConnectionpublic boolean isMouseNearConnection(com.orange.links.client.shapes.Point p) - Specified by:
- isMouseNearConnectionin interface- com.orange.links.client.connection.Connection
 
- 
getHighlightPointpublic com.orange.links.client.shapes.Point getHighlightPoint()
- 
setHighlightPointpublic void setHighlightPoint(com.orange.links.client.shapes.Point highlightPoint) 
- 
setDecorationpublic void setDecoration(com.orange.links.client.shapes.DecorationShape decoration) - Specified by:
- setDecorationin interface- com.orange.links.client.connection.Connection
 
- 
getDecorationpublic com.orange.links.client.shapes.DecorationShape getDecoration()- Specified by:
- getDecorationin interface- com.orange.links.client.connection.Connection
 
- 
getContextMenupublic com.orange.links.client.menu.ContextMenu getContextMenu()- Specified by:
- getContextMenuin interface- com.orange.links.client.menu.HasContextMenu
 
- 
setStraightenText
- 
setDeleteText
- 
setController- Specified by:
- setControllerin interface- com.orange.links.client.connection.Connection
 
- 
drawHighlightpublic void drawHighlight()- Specified by:
- drawHighlightin interface- com.orange.links.client.shapes.Drawable
 
- 
setAllowSynchronizedpublic void setAllowSynchronized(boolean allowSynchronized) - Specified by:
- setAllowSynchronizedin interface- com.orange.links.client.shapes.Drawable
 
 
-