- All Superinterfaces:
AbstractBioNode
,AbstractBioNode
,AbstractItem
,AbstractItem
,AbstractNode
,AbstractNode
,Metabolite
public interface Metabolite extends AbstractBioNode, Metabolite
-
Method Summary
Modifier and Type Method Description void
setBlur(double blur)
The blur of the node.void
setCollapsed(boolean collapsed)
void
setDefaultBlur()
The blur of the node.void
setDefaultCollapsed()
void
setDefaultFillLevel()
Changes the fill level of the item's shape to default value.void
setDefaultFillLevelIndication()
Changes the indication for filling of the item's shape to default.void
setDefaultFont()
Changes the font of the text label of the item to default.void
setDefaultPaint()
Sets the fill appearance of the item's shape to default.void
setDefaultScale()
Changes the scale factor the node is displayed with to default.void
setDefaultShadow()
Sets the shadow of the item to default.void
setDefaultShape()
Changes the appearance of the metabolite node in the diagram 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
setDefaultTextBrush()
Changes the fill brush of the item's text label to default.void
setDefaultTextStrokeColor()
Changes the color for the stroke of the item's text label to default.void
setDefaultTextStrokeWidth()
Changes the stroke width of the item's text label to default.void
setDefaultTransparency()
Changes the transparency of the item's shape to default.void
setFillLevel(double fillLevel)
The filling level of the item's shape given as percentage value.void
setFillLevelIndication(FillLevelIndication fillLevelIndication)
The indication for filling of the item's shape.void
setFont(Font font)
The font of the text label of the item.void
setHidden(boolean hidden)
Changes the visibility of the item in the diagram.void
setLabel(String plainText, String richText)
void
setLabelPosition(double labelX, double labelY)
Changes the position of the item's label.void
setLabelRotation(double labelRotation)
Changes the rotation of the position of the item's label.void
setPaint(Paint paint)
Sets the fill appearance of the item's shape.void
setPosition(double x, double y)
Set the position of the item.void
setScale(double scale)
The scale factor the node is displayed with.void
setShadow(Shadow shadow)
The shadow of the item.void
setShape(Shape shape)
The appearance of the metabolite node in the diagram.void
setSize(double width, double height)
Changes the item's size.void
setStrokeColor(Color strokeColor)
The color for the stroke of the item's shape.void
setStrokeStyle(StrokeStyle strokeStyle)
The paint style for the stroke of the item's shape.void
setStrokeWidth(double strokeWidth)
The stroke width of the item's shape.void
setTextBrush(Brush textBrush)
The fill brush of the item's text label.void
setTextStrokeColor(Color textStrokeColor)
The color for the stroke of the item's text label.void
setTextStrokeWidth(double textStrokeWidth)
The stroke width of the item's text label.void
setTransparency(double transparency)
Changes the transparency of the item's shape.Methods inherited from interface omix.plugin.motifstamp.writable.AbstractBioNode
effectorEdges, inEdges, outEdges
Methods inherited from interface omix.plugin.motifstamp.Metabolite
blur, collapsed, fillLevel, fillLevelIndication, font, getIdentifier, height, hidden, label, paint, scale, shadow, shape, strokeColor, strokeStyle, strokeWidth, textBrush, textStrokeColor, textStrokeWidth, transparency, width, x, y
-
Method Details
-
setLabel
- Throws:
IllegalChangeException
-
setPosition
Set the position of the item.- Parameters:
x
-y
-- Throws:
IllegalChangeException
-
setSize
Changes the item's size.- Parameters:
width
-height
-- Throws:
IllegalChangeException
-
setLabelPosition
Changes the position of the item's label.- Parameters:
labelX
-labelY
-- Throws:
IllegalChangeException
-
setLabelRotation
Changes the rotation of the position of the item's label.- Parameters:
labelRotation
- rotation in degrees- Throws:
IllegalChangeException
-
setHidden
Changes the visibility of the item in the diagram.- Parameters:
hidden
-- Throws:
IllegalChangeException
-
setPaint
Sets the fill appearance of the item's shape.- Parameters:
paint
- the new paint- Throws:
IllegalChangeException
- See Also:
Node#paintField
-
setTransparency
Changes the transparency of the item's shape.- Parameters:
transparency
-- Throws:
IllegalChangeException
- See Also:
Node.transparency()
-
setStrokeWidth
The stroke width of the item's shape.- Throws:
IllegalChangeException
-
setTextStrokeWidth
The stroke width of the item's text label.- Throws:
IllegalChangeException
-
setScale
The scale factor the node is displayed with. Values less than 1.0 decreases the node's size. Values greater than 1.0 increases its size.- Throws:
IllegalChangeException
-
setFillLevel
The filling level of the item's shape given as percentage value.- Throws:
IllegalChangeException
-
setBlur
The blur of the node.- Throws:
IllegalChangeException
-
setCollapsed
- Throws:
IllegalChangeException
-
setShadow
The shadow of the item.- Throws:
IllegalChangeException
-
setStrokeColor
The color for the stroke of the item's shape.- Throws:
IllegalChangeException
-
setTextStrokeColor
The color for the stroke of the item's text label.- Throws:
IllegalChangeException
-
setStrokeStyle
The paint style for the stroke of the item's shape.- Throws:
IllegalChangeException
-
setShape
The appearance of the metabolite node in the diagram.- Throws:
IllegalChangeException
-
setFont
The font of the text label of the item.- Throws:
IllegalChangeException
-
setFillLevelIndication
The indication for filling of the item's shape.- Throws:
IllegalChangeException
-
setTextBrush
The fill brush of the item's text label.- Throws:
IllegalChangeException
-
setDefaultPaint
Sets the fill appearance of the item's shape to default.- Throws:
IllegalChangeException
- See Also:
Node#paintField
-
setDefaultTransparency
Changes the transparency of the item's shape to default.- Throws:
IllegalChangeException
- See Also:
Node.transparency()
-
setDefaultBlur
The blur of the node.- Throws:
IllegalChangeException
-
setDefaultCollapsed
- Throws:
IllegalChangeException
-
setDefaultFillLevel
Changes the fill level of the item's shape to default value.- Throws:
IllegalChangeException
- See Also:
Node.fillLevel()
-
setDefaultTextStrokeWidth
Changes the stroke width of the item's text label to default.- Throws:
IllegalChangeException
- See Also:
Node.textStrokeWidth()
-
setDefaultScale
Changes the scale factor the node is displayed with to default.- Throws:
IllegalChangeException
- See Also:
Node.scale()
-
setDefaultStrokeWidth
Changes the stroke width of the item's shape to default.- Throws:
IllegalChangeException
- See Also:
Node.strokeWidth()
-
setDefaultTextBrush
Changes the fill brush of the item's text label to default.- Throws:
IllegalChangeException
- See Also:
Node.textBrush()
-
setDefaultFillLevelIndication
Changes the indication for filling of the item's shape to default.- Throws:
IllegalChangeException
- See Also:
Node.fillLevelIndication()
-
setDefaultFont
Changes the font of the text label of the item to default.- Throws:
IllegalChangeException
- See Also:
Node.font()
-
setDefaultShape
Changes the appearance of the metabolite node in the diagram to default.- Throws:
IllegalChangeException
- See Also:
Node.shape()
-
setDefaultStrokeStyle
Changes the paint style for the stroke of the item's shape to default.- Throws:
IllegalChangeException
- See Also:
Node.strokeStyle()
-
setDefaultTextStrokeColor
Changes the color for the stroke of the item's text label to default.- Throws:
IllegalChangeException
- See Also:
Node.textStrokeColor()
-
setDefaultStrokeColor
Sets the color for the stroke of the item's shape to default.- Throws:
IllegalChangeException
- See Also:
Node.strokeColor()
-
setDefaultShadow
Sets the shadow of the item to default.- Throws:
IllegalChangeException
- See Also:
Node.shadow()
-