- All Superinterfaces:
AbstractModelComponent
,AbstractNode
,AbstractVisibleComponent
,ReadOnlyInterface
- All Known Subinterfaces:
GraphicsNode
public interface GraphicsNode extends AbstractNode
-
Method Summary
Modifier and Type Method Description FillLevelIndication
fillLevelIndication()
The indication for filling of the item's shape.Font
font()
The font of the text label of the item.List<? extends GraphicsNodeItem>
getDiagramItems()
List<? extends GraphicsNodeItem>
getDiagramItems(Diagram diagram)
Paint
paint()
The fill appearance of the item's shape.Shape
shape()
The appearance of the metabolite node in the diagram.Color
strokeColor()
The color for the stroke of the item's shape.StrokeStyle
strokeStyle()
The paint style for the stroke of the item's shape.String
text()
returns the item's Text.Brush
textBrush()
The fill brush of the item's text label.Color
textStrokeColor()
The color for the stroke of the item's text label.Methods inherited from interface omix.plugin.model.AbstractModelComponent
addChangeListener, addPropertyChangeListener, fieldExists, getField, getField, model, removeChangeListener, removePropertyChangeListener
Methods inherited from interface omix.plugin.model.AbstractNode
blur, collapsed, fillLevel, getCustomProperty, getIdentifier, graphicsEdges, hidden, scale, setCustomProperty, setTmpCustomProperty, shadow, strokeWidth, textStrokeWidth, transparency
Methods inherited from interface omix.plugin.model.AbstractVisibleComponent
accessoryExists, getAccessories, getAccessories, getAccessory, getAccessory, getAccessory, getAccessory, getAllAccessories, hasDiagramItems, hasDiagramItems
-
Method Details
-
text
String text()returns the item's Text.- Returns:
- text
-
paint
Paint paint()The fill appearance of the item's shape.- Specified by:
paint
in interfaceAbstractNode
-
strokeColor
Color strokeColor()The color for the stroke of the item's shape.- Specified by:
strokeColor
in interfaceAbstractNode
-
textStrokeColor
Color textStrokeColor()The color for the stroke of the item's text label.- Specified by:
textStrokeColor
in interfaceAbstractNode
-
strokeStyle
StrokeStyle strokeStyle()The paint style for the stroke of the item's shape.- Specified by:
strokeStyle
in interfaceAbstractNode
-
shape
Shape shape()The appearance of the metabolite node in the diagram.- Specified by:
shape
in interfaceAbstractNode
-
font
Font font()The font of the text label of the item.- Specified by:
font
in interfaceAbstractNode
-
fillLevelIndication
FillLevelIndication fillLevelIndication()The indication for filling of the item's shape.- Specified by:
fillLevelIndication
in interfaceAbstractNode
-
textBrush
Brush textBrush()The fill brush of the item's text label.- Specified by:
textBrush
in interfaceAbstractNode
- Since:
- Omix 1.8.0
-
getDiagramItems
List<? extends GraphicsNodeItem> getDiagramItems()- Specified by:
getDiagramItems
in interfaceAbstractNode
- Specified by:
getDiagramItems
in interfaceAbstractVisibleComponent
-
getDiagramItems
- Specified by:
getDiagramItems
in interfaceAbstractNode
- Specified by:
getDiagramItems
in interfaceAbstractVisibleComponent
-