- All Superinterfaces:
AbstractEdge
,AbstractEdge
,AbstractItem
,AbstractItem
,FluxEdge
public interface FluxEdge extends FluxEdge, AbstractEdge
-
Method Summary
Modifier and Type Method Description MarkerShape
arrowShape()
The shape of the edge's arrow.double
arrowSize()
The size of the edge's arrow given as multiple of the edge width.double
coefficient()
The coefficient of the edge.Brush
coefficientBrush()
The paint brush used to display the edge's coefficient.DecimalFormat
coefficientDecimalFormat()
The decimal format for the edge's coefficient.Font
coefficientFont()
The font used to display the edge's coefficient.boolean
isCofactor()
Returns the relation between the connected metabolite and reaction.Brush
reversibilitySignBrush()
The paint brush used to display the edge's reversibility sign.double
reversibilitySignScale()
The scale of the edge's reversibility sign given as multiple of the edge width (>0).void
setArrowSize(double arrowSize)
Changes the arrow size.void
setBrush(Brush brush)
Sets the fill brush of the item's shape.void
setCoefficient(double coefficient)
Changes the edge coefficient.void
setCoefficientBrush(Brush brush)
Changes the brush of the edge's coefficient.void
setCoefficientFont(Font font)
Changes the font of the edge's coefficient.void
setCofactor(boolean isCofactor)
Changes the cofactor state of the edge.void
setDefaultArrowSize()
Changes the arrow size to default.void
setDefaultBrush()
Sets the fill brush of the item's shape to default.void
setDefaultCoefficientBrush()
Changes the brush of the edge's coefficient to default.void
setDefaultCoefficientFont()
Changes the font of the edge's coefficient to default.void
setDefaultLineStyle()
Changes the line style of the edge to default.void
setDefaultLineWidth()
Changes the line width of the edge to default.void
setDefaultReversibilitySignBrush()
Changes the brush of the reversibility sign (if available) to default.void
setDefaultReversibilitySignScale()
Changes the scale of the reversibility sign (if available) to default.void
setDefaultShadow()
Sets the shadow of the edge to default.void
setDefaultStrokeColor()
Sets the color for the stroke of the item's shape to default.void
setDefaultStrokeStyle()
Changes the paint style for the stroke of the item's shape to default.void
setDefaultStrokeWidth()
Changes the stroke width of the item's shape to default.void
setDefaultTransparency()
Changes the transparency of the item's shape to default.void
setReversibilitySignBrush(Brush brush)
Changes the brush of the reversibility sign (if available).void
setReversibilitySignScale(double size)
Changes the scale of the reversibility sign (if available).Methods inherited from interface omix.plugin.motifstamp.writable.AbstractEdge
blur, lineStyle, lineWidth, setDockingPositions, setLineStyle, setLineWidth, setShadow, setStrokeColor, setStrokeStyle, setStrokeWidth, setTransparency, shadow, strokeColor, strokeStyle, strokeWidth, transparency
-
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()
-
setDefaultBrush
Sets the fill brush of the item's shape to default.- Parameters:
brush
- the new brush- Throws:
IllegalChangeException
- See Also:
FluxEdge.brush()
-
setDefaultStrokeWidth
Changes the stroke width of the item's shape to default.- Throws:
IllegalChangeException
- See Also:
EffectorEdge.strokeWidth()
-
setDefaultLineWidth
Changes the line width of the edge to default.- Throws:
IllegalChangeException
- See Also:
EffectorEdge.lineWidth()
-
setDefaultCoefficientFont
Changes the font of the edge's coefficient to default.- Throws:
IllegalChangeException
- See Also:
FluxEdge.coefficientFont()
-
setDefaultCoefficientBrush
Changes the brush of the edge's coefficient to default.- Throws:
IllegalChangeException
- See Also:
FluxEdge.coefficientBrush()
-
setDefaultStrokeStyle
Changes the paint style for the stroke of the item's shape to default.- Throws:
IllegalChangeException
- See Also:
Edge.strokeStyle()
-
setDefaultLineStyle
Changes the line style of the edge to default.- Throws:
IllegalChangeException
- See Also:
Edge.lineStyle()
-
setDefaultStrokeColor
Sets the color for the stroke of the item's shape to default.- Throws:
IllegalChangeException
- See Also:
Edge.strokeColor()
-
setDefaultShadow
Sets the shadow of the edge to default.- Throws:
IllegalChangeException
- See Also:
Edge.shadow()
-
setDefaultArrowSize
Changes the arrow size to default.- Throws:
IllegalChangeException
- See Also:
FluxEdge.arrowSize()
-
setDefaultReversibilitySignScale
Changes the scale of the reversibility sign (if available) to default.- Throws:
IllegalChangeException
- See Also:
FluxEdge.reversibilitySignScale()
-
setDefaultReversibilitySignBrush
Changes the brush of the reversibility sign (if available) to default.- Throws:
IllegalChangeException
- See Also:
FluxEdge.reversibilitySignBrush()
-
setDefaultTransparency
Changes the transparency of the item's shape to default.- Throws:
IllegalChangeException
- See Also:
EffectorEdge.transparency()
-
arrowSize
double arrowSize()The size of the edge's arrow given as multiple of the edge width. Minimal value is 1.0. -
arrowShape
MarkerShape arrowShape()The shape of the edge's arrow. -
reversibilitySignBrush
Brush reversibilitySignBrush()The paint brush used to display the edge's reversibility sign. -
reversibilitySignScale
double reversibilitySignScale()The scale of the edge's reversibility sign given as multiple of the edge width (>0). -
coefficientDecimalFormat
DecimalFormat coefficientDecimalFormat()The decimal format for the edge's coefficient. -
coefficientBrush
Brush coefficientBrush()The paint brush used to display the edge's coefficient. -
coefficientFont
Font coefficientFont()The font used to display the edge's coefficient. -
coefficient
double coefficient()The coefficient of the edge. -
isCofactor
boolean isCofactor()Returns the relation between the connected metabolite and reaction.- Returns:
- cofactor state
-