- All Superinterfaces:
AbstractEdge
,AbstractModelComponent
,AbstractModelComponent
,AbstractVisibleComponent
,AbstractVisibleComponent
,ReadOnlyInterface
,WritableInterface
- All Known Subinterfaces:
EffectorEdge
,FluxEdge
,GraphicsEdge
,LinkEdge
public interface AbstractEdge extends AbstractVisibleComponent, AbstractEdge
-
Method Summary
Modifier and Type Method Description AbstractNode
dst()
List<? extends AbstractEdgeItem>
getDiagramItems()
List<? extends AbstractEdgeItem>
getDiagramItems(Diagram diagram)
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.AbstractNode
src()
AbstractEdge
toReadOnly()
Methods inherited from interface omix.plugin.model.AbstractEdge
blur, isHidden, lineStyle, lineWidth, shadow, strokeColor, strokeStyle, strokeWidth, transparency
Methods inherited from interface omix.plugin.model.AbstractModelComponent
addChangeListener, addPropertyChangeListener, fieldExists, getIdentifier, removeChangeListener, removePropertyChangeListener
Methods inherited from interface omix.plugin.model.writable.AbstractModelComponent
getField, getField, isChangeable, model
Methods inherited from interface omix.plugin.model.AbstractVisibleComponent
accessoryExists, getAccessory, getAccessory, hasDiagramItems, hasDiagramItems
Methods inherited from interface omix.plugin.model.writable.AbstractVisibleComponent
getAccessories, getAccessories, getAccessory, getAccessory, getAllAccessories, getCustomProperty, getMethod, getMethod, getMethod, setCustomProperty, setTmpCustomProperty
-
Method Details
-
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()
-
getDiagramItems
List<? extends AbstractEdgeItem> getDiagramItems()- Specified by:
getDiagramItems
in interfaceAbstractEdge
- Specified by:
getDiagramItems
in interfaceAbstractVisibleComponent
- Specified by:
getDiagramItems
in interfaceAbstractVisibleComponent
-
getDiagramItems
- Specified by:
getDiagramItems
in interfaceAbstractEdge
- Specified by:
getDiagramItems
in interfaceAbstractVisibleComponent
- Specified by:
getDiagramItems
in interfaceAbstractVisibleComponent
-
toReadOnly
AbstractEdge toReadOnly()- Specified by:
toReadOnly
in interfaceAbstractModelComponent
- Specified by:
toReadOnly
in interfaceAbstractVisibleComponent
- Specified by:
toReadOnly
in interfaceWritableInterface
-
src
AbstractNode src()- Specified by:
src
in interfaceAbstractEdge
-
dst
AbstractNode dst()- Specified by:
dst
in interfaceAbstractEdge
-