- All Superinterfaces:
LinkEdge.Appearance
,LinkEdge.Appearance
,LinkEdge.FluxEdgeAppearance
- Enclosing interface:
- LinkEdge
public static interface LinkEdge.FluxEdgeAppearance extends LinkEdge.Appearance, LinkEdge.FluxEdgeAppearance
-
Method Summary
Modifier and Type Method Description 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.LinkEdge.FluxEdgeAppearance
toReadOnly()
Methods inherited from interface omix.plugin.model.LinkEdge.FluxEdgeAppearance
arrowShape, arrowSize, brush, coefficient, coefficientBrush, coefficientDecimalFormat, coefficientFont, isCofactor, reversibilitySignBrush, reversibilitySignScale
-
Method Details
-
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()
-
toReadOnly
LinkEdge.FluxEdgeAppearance toReadOnly()- Specified by:
toReadOnly
in interfaceLinkEdge.Appearance
-