Package org.freeplane.api
Interface Connector
- All Superinterfaces:
ConnectorRO
- All Known Subinterfaces:
Proxy.Connector
Graphical connector between nodes:
node.connectorsIn
/ node.connectorsOut
- read-write.-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
setColorCode
(String rgbString) void
setDashArray
(int[] dashArray) Since 1.7.10void
setEndArrow
(boolean showArrow) void
setInclination
(List<Integer> startPoint, List<Integer> endPoint) startPoint, endPoint: list of two integers representing a Point.void
setLabelFontFamily
(String name) Since 1.7.10void
setLabelFontSize
(int size) Since 1.7.10void
setMiddleLabel
(String label) void
setOpacity
(int opacity) 0 <= opacity <= 255 Since 1.7.10void
void
setSimulatesEdge
(boolean simulatesEdge) void
setSourceLabel
(String label) void
setStartArrow
(boolean showArrow) void
setTargetLabel
(String label) void
setWidth
(int width) Since 1.7.10Methods inherited from interface org.freeplane.api.ConnectorRO
getColor, getColorCode, getDashArray, getEndInclination, getLabelFontFamily, getLabelFontSize, getMiddleLabel, getOpacity, getShape, getSource, getSourceLabel, getStartInclination, getTarget, getTargetLabel, getWidth, hasEndArrow, hasStartArrow, simulatesEdge
-
Method Details
-
setShape
- Parameters:
shape
- one of LINE, LINEAR_PATH, CUBIC_CURVE, EDGE_LIKE.- Since:
- 1.3
-
setColor
-
setColorCode
- Parameters:
rgbString
- a HTML color spec like #ff0000 (red) or #222222 (darkgray).- Since:
- 1.2
-
setEndArrow
void setEndArrow(boolean showArrow) - Since:
- 1.2
-
setMiddleLabel
-
setSimulatesEdge
void setSimulatesEdge(boolean simulatesEdge) -
setSourceLabel
-
setStartArrow
void setStartArrow(boolean showArrow) - Since:
- 1.2
-
setTargetLabel
-
setInclination
startPoint, endPoint: list of two integers representing a Point.- Since:
- 1.3.3
-
setDashArray
void setDashArray(int[] dashArray) Since 1.7.10 -
setOpacity
void setOpacity(int opacity) 0 <= opacity <= 255 Since 1.7.10 -
setWidth
void setWidth(int width) Since 1.7.10 -
setLabelFontFamily
Since 1.7.10 -
setLabelFontSize
void setLabelFontSize(int size) Since 1.7.10
-