Package org.freeplane.api
Interface ConnectorRO
- All Known Subinterfaces:
Connector,Proxy.Connector,Proxy.ConnectorRO
public interface ConnectorRO
Graphical connector between nodes:
node.connectorsIn / node.connectorsOut
- read-only.-
Method Summary
Modifier and Type Method Description java.awt.ColorgetColor()java.lang.StringgetColorCode()int[]getDashArray()Since 1.7.10java.util.List<java.lang.Integer>getEndInclination()returns a Point.java.lang.StringgetLabelFontFamily()Since 1.7.10intgetLabelFontSize()Since 1.7.10java.lang.StringgetMiddleLabel()intgetOpacity()0 <= opacity <= 255 Since 1.7.10java.lang.StringgetShape()returns one of LINE, LINEAR_PATH, CUBIC_CURVE, EDGE_LIKE.NodegetSource()The node without the arrow.java.lang.StringgetSourceLabel()java.util.List<java.lang.Integer>getStartInclination()returns a Point.NodegetTarget()The node with the arrow.java.lang.StringgetTargetLabel()intgetWidth()Since 1.7.10booleanhasEndArrow()booleanhasStartArrow()booleansimulatesEdge()
-
Method Details
-
getShape
java.lang.String getShape()returns one of LINE, LINEAR_PATH, CUBIC_CURVE, EDGE_LIKE.- Since:
- 1.3
-
getColor
java.awt.Color getColor() -
getColorCode
java.lang.String getColorCode() -
getDashArray
int[] getDashArray()Since 1.7.10 -
getOpacity
int getOpacity()0 <= opacity <= 255 Since 1.7.10 -
getWidth
int getWidth()Since 1.7.10 -
getLabelFontFamily
java.lang.String getLabelFontFamily()Since 1.7.10 -
getLabelFontSize
int getLabelFontSize()Since 1.7.10 -
hasEndArrow
boolean hasEndArrow()- Since:
- 1.2
-
getMiddleLabel
java.lang.String getMiddleLabel() -
getSource
Node getSource()The node without the arrow. On connectors with arrows at both ends one of the ends. -
getSourceLabel
java.lang.String getSourceLabel() -
hasStartArrow
boolean hasStartArrow()- Since:
- 1.2
-
getTarget
Node getTarget()The node with the arrow. On connectors with arrows at both ends one of the ends. -
getTargetLabel
java.lang.String getTargetLabel() -
simulatesEdge
boolean simulatesEdge() -
getStartInclination
java.util.List<java.lang.Integer> getStartInclination()returns a Point.- Since:
- 1.3.3
-
getEndInclination
java.util.List<java.lang.Integer> getEndInclination()returns a Point.- Since:
- 1.3.3
-