- All Superinterfaces:
AbstractEdge
,AbstractEdge
,AbstractModelComponent
,AbstractModelComponent
,AbstractVisibleComponent
,AbstractVisibleComponent
,FluxEdge
,ReadOnlyInterface
,WritableInterface
public interface FluxEdge extends AbstractEdge, FluxEdge
-
Method Summary
Modifier and Type Method Description AbstractBioNode
dst()
List<? extends FluxEdgeItem>
getDiagramItems()
List<? extends FluxEdgeItem>
getDiagramItems(Diagram diagram)
void
invert()
Inverts the flux edge.void
setArrowSize(double arrowSize)
Changes the arrow size.void
setArrowSizeDefault()
Changes the arrow size to default.void
setBrush(Brush brush)
Sets the fill brush of the item's shape.void
setBrushDefault()
Sets the fill brush of the item's shape to default.void
setCoefficient(double coefficient)
Changes the edge coefficient.void
setCoefficientBrush(Brush brush)
Changes the brush of the edge's coefficient.void
setCoefficientBrushDefault()
Changes the brush of the edge's coefficient to default.void
setCoefficientFont(Font font)
Changes the font of the edge's coefficient.void
setCoefficientFontDefault()
Changes the font of the edge's coefficient to default.void
setCofactor(boolean isCofactor)
Changes the cofactor state of the edge.void
setLineStyleDefault()
Changes the line style of the edge to default.void
setLineWidthDefault()
Changes the line width of the edge to default.void
setReversibilitySignBrush(Brush brush)
Changes the brush of the reversibility sign (if available).void
setReversibilitySignBrushDefault()
Changes the brush of the reversibility sign (if available) to default.void
setReversibilitySignScale(double size)
Changes the scale of the reversibility sign (if available).void
setReversibilitySignScaleDefault()
Changes the scale of the reversibility sign (if available) to default.void
setShadowDefault()
Sets the shadow of the edge to default.void
setStrokeColorDefault()
Sets the color for the stroke of the item's shape to default.void
setStrokeStyleDefault()
Changes the paint style for the stroke of the item's shape to default.void
setStrokeWidthDefault()
Changes the stroke width of the item's shape to default.void
setTransparencyDefault()
Changes the transparency of the item's shape to default.AbstractBioNode
src()
FluxEdge
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.writable.AbstractEdge
setLineStyle, setLineWidth, setShadow, setStrokeColor, setStrokeStyle, setStrokeWidth, setTransparency
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
Methods inherited from interface omix.plugin.model.FluxEdge
arrowShape, arrowSize, brush, coefficient, coefficientBrush, coefficientDecimalFormat, coefficientFont, isCofactor, reversibilitySignBrush, reversibilitySignScale
-
Method Details
-
src
AbstractBioNode src()- Specified by:
src
in interfaceAbstractEdge
- Specified by:
src
in interfaceAbstractEdge
- Specified by:
src
in interfaceFluxEdge
-
dst
AbstractBioNode dst()- Specified by:
dst
in interfaceAbstractEdge
- Specified by:
dst
in interfaceAbstractEdge
- Specified by:
dst
in interfaceFluxEdge
-
setBrush
Sets the fill brush of the item's shape.- Parameters:
brush
- the new brush- Throws:
IllegalChangeException
- See Also:
FluxEdge.brush()
-
setCoefficientFont
Changes the font of the edge's coefficient.- Parameters:
font
-- Throws:
IllegalChangeException
- See Also:
FluxEdge.coefficientFont()
-
setCoefficientBrush
Changes the brush of the edge's coefficient.- Parameters:
brush
-- Throws:
IllegalChangeException
- See Also:
FluxEdge.coefficientBrush()
-
setCofactor
Changes the cofactor state of the edge.- Parameters:
isCofactor
-- Throws:
IllegalChangeException
- See Also:
FluxEdge.isCofactor()
-
setArrowSize
Changes the arrow size.- Parameters:
arrowSize
-- Throws:
IllegalChangeException
- See Also:
FluxEdge.arrowSize()
-
setReversibilitySignScale
Changes the scale of the reversibility sign (if available).- Parameters:
size
-- Throws:
IllegalChangeException
- See Also:
FluxEdge.reversibilitySignScale()
-
setReversibilitySignBrush
Changes the brush of the reversibility sign (if available).- Parameters:
brush
-- Throws:
IllegalChangeException
- See Also:
FluxEdge.reversibilitySignBrush()
-
setCoefficient
Changes the edge coefficient.- Parameters:
coefficient
-- Throws:
IllegalChangeException
- See Also:
FluxEdge.coefficient()
-
setBrushDefault
Sets the fill brush of the item's shape to default.- Parameters:
brush
- the new brush- Throws:
IllegalChangeException
- See Also:
FluxEdge.brush()
-
setStrokeWidthDefault
Changes the stroke width of the item's shape to default.- Throws:
IllegalChangeException
- See Also:
EffectorEdge.strokeWidth()
-
setLineWidthDefault
Changes the line width of the edge to default.- Throws:
IllegalChangeException
- See Also:
EffectorEdge.lineWidth()
-
setCoefficientFontDefault
Changes the font of the edge's coefficient to default.- Throws:
IllegalChangeException
- See Also:
FluxEdge.coefficientFont()
-
setCoefficientBrushDefault
Changes the brush of the edge's coefficient to default.- Throws:
IllegalChangeException
- See Also:
FluxEdge.coefficientBrush()
-
setStrokeStyleDefault
Changes the paint style for the stroke of the item's shape to default.- Throws:
IllegalChangeException
- See Also:
Edge.strokeStyle()
-
setLineStyleDefault
Changes the line style of the edge to default.- Throws:
IllegalChangeException
- See Also:
Edge.lineStyle()
-
setStrokeColorDefault
Sets the color for the stroke of the item's shape to default.- Throws:
IllegalChangeException
- See Also:
Edge.strokeColor()
-
setShadowDefault
Sets the shadow of the edge to default.- Throws:
IllegalChangeException
- See Also:
Edge.shadow()
-
setArrowSizeDefault
Changes the arrow size to default.- Throws:
IllegalChangeException
- See Also:
FluxEdge.arrowSize()
-
setReversibilitySignScaleDefault
Changes the scale of the reversibility sign (if available) to default.- Throws:
IllegalChangeException
- See Also:
FluxEdge.reversibilitySignScale()
-
setReversibilitySignBrushDefault
Changes the brush of the reversibility sign (if available) to default.- Throws:
IllegalChangeException
- See Also:
FluxEdge.reversibilitySignBrush()
-
setTransparencyDefault
Changes the transparency of the item's shape to default.- Throws:
IllegalChangeException
- See Also:
EffectorEdge.transparency()
-
invert
Inverts the flux edge.- Throws:
IllegalChangeException
-
getDiagramItems
List<? extends FluxEdgeItem> getDiagramItems()- Specified by:
getDiagramItems
in interfaceAbstractEdge
- Specified by:
getDiagramItems
in interfaceAbstractEdge
- Specified by:
getDiagramItems
in interfaceAbstractVisibleComponent
- Specified by:
getDiagramItems
in interfaceAbstractVisibleComponent
- Specified by:
getDiagramItems
in interfaceFluxEdge
-
getDiagramItems
- Specified by:
getDiagramItems
in interfaceAbstractEdge
- Specified by:
getDiagramItems
in interfaceAbstractEdge
- Specified by:
getDiagramItems
in interfaceAbstractVisibleComponent
- Specified by:
getDiagramItems
in interfaceAbstractVisibleComponent
- Specified by:
getDiagramItems
in interfaceFluxEdge
-
toReadOnly
FluxEdge toReadOnly()- Specified by:
toReadOnly
in interfaceAbstractEdge
- Specified by:
toReadOnly
in interfaceAbstractModelComponent
- Specified by:
toReadOnly
in interfaceAbstractVisibleComponent
- Specified by:
toReadOnly
in interfaceWritableInterface
-