- All Superinterfaces:
AbstractEdge
,AbstractItem
,AbstractItem
- All Known Subinterfaces:
EffectorEdge
,FluxEdge
,GraphicsEdge
public interface AbstractEdge extends AbstractEdge, AbstractItem
-
Method Summary
Modifier and Type Method Description double
blur()
The blur of the edge.StrokeStyle
lineStyle()
The style of the edge.double
lineWidth()
The width of the edge.void
setDockingPositions(DockingPosition srcPort, DockingPosition dstPort)
Changes the docking positions of the edge at the source and destination nodes.void
setLineStyle(StrokeStyle lineStyle)
Changes the line style of the edge.void
setLineWidth(double lineWidth)
Changes the line width of the edge.void
setShadow(Shadow shadow)
Sets the shadow of the edge.void
setStrokeColor(Color strokeColor)
Sets the color for the stroke of the item's shape.void
setStrokeStyle(StrokeStyle strokeStyle)
Changes the paint style for the stroke of the item's shape.void
setStrokeWidth(double strokeWidth)
Changes the stroke width of the item's shape.void
setTransparency(double transparency)
Changes the transparency of the item's shape.Shadow
shadow()
The shadow of the edge.Color
strokeColor()
The color for the stroke of the edge.StrokeStyle
strokeStyle()
The paint style for the stroke of the edge.double
strokeWidth()
The stroke width of the edge.double
transparency()
The transparency of the edge.
-
Method Details
-
setDockingPositions
void setDockingPositions(@NonNull DockingPosition srcPort, @NonNull DockingPosition dstPort) throws IllegalChangeExceptionChanges the docking positions of the edge at the source and destination nodes.- Parameters:
srcPort
- - port of the edge at the source node. null causes no change.dstPort
- - port of the edge at the destination node. null causes no change.- Throws:
IllegalChangeException
- See Also:
DockingPosition
-
setStrokeWidth
Changes the stroke width of the item's shape.- Parameters:
strokeWidth
-- Throws:
IllegalChangeException
- See Also:
Edge.strokeWidth()
-
setLineWidth
Changes the line width of the edge.- Parameters:
lineWidth
-- Throws:
IllegalChangeException
- See Also:
Edge.lineWidth()
-
setStrokeStyle
Changes the paint style for the stroke of the item's shape.- Parameters:
strokeStyle
-- Throws:
IllegalChangeException
- See Also:
Edge.strokeStyle()
-
setLineStyle
Changes the line style of the edge.- Parameters:
lineStyle
-- Throws:
IllegalChangeException
- See Also:
Edge.lineStyle()
-
setStrokeColor
Sets the color for the stroke of the item's shape.- Parameters:
strokeColor
-- Throws:
IllegalChangeException
- See Also:
Edge.strokeColor()
-
setShadow
Sets the shadow of the edge.- Parameters:
shadow
-- Throws:
IllegalChangeException
- See Also:
Edge.shadow()
-
setTransparency
Changes the transparency of the item's shape.- Parameters:
transparency
-- Throws:
IllegalChangeException
- See Also:
Edge.transparency()
-
strokeStyle
StrokeStyle strokeStyle()The paint style for the stroke of the edge. -
shadow
Shadow shadow()The shadow of the edge. -
strokeColor
Color strokeColor()The color for the stroke of the edge. -
lineStyle
StrokeStyle lineStyle()The style of the edge. -
lineWidth
double lineWidth()The width of the edge. -
strokeWidth
double strokeWidth()The stroke width of the edge. -
blur
double blur()The blur of the edge. -
transparency
double transparency()The transparency of the edge.
-