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.Color
getColor()
java.lang.String
getColorCode()
int[]
getDashArray()
Since 1.7.10java.util.List<java.lang.Integer>
getEndInclination()
returns a Point.java.lang.String
getLabelFontFamily()
Since 1.7.10int
getLabelFontSize()
Since 1.7.10java.lang.String
getMiddleLabel()
int
getOpacity()
0 <= opacity <= 255 Since 1.7.10java.lang.String
getShape()
returns one of LINE, LINEAR_PATH, CUBIC_CURVE, EDGE_LIKE.Node
getSource()
The node without the arrow.java.lang.String
getSourceLabel()
java.util.List<java.lang.Integer>
getStartInclination()
returns a Point.Node
getTarget()
The node with the arrow.java.lang.String
getTargetLabel()
int
getWidth()
Since 1.7.10boolean
hasEndArrow()
boolean
hasStartArrow()
boolean
simulatesEdge()
-
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
-