- All Known Subinterfaces:
BioNode
,GraphicsNode
,Link
,Metabolite
,MetNode
,Reaction
public interface Node extends Component
Superclass of all nodes in Omix.
This Java interface represents a Node in OVL.
It contain all methods available in OVL.
The static fields in this interface declaration
are public non-static instance fields in OVL.
They can be read and written from OVL code.
- Author:
- Dr. Peter Droste, Omix Visualization
-
Method Summary
Modifier and Type Method Description double
blur()
The blur of the node.boolean
collapsed()
Collapsed-state of the network component.default List<? extends Comment>
comments()
Deprecated.double
fillLevel()
The filling level of the item's shape given as percentage value.FillLevelIndication
fillLevelIndication()
The indication for filling of the item's shape.Font
font()
The font of the text label of the item.default Comment
getComment(String identifier)
Deprecated.List<? extends GraphicsEdge>
graphicsEdges()
returns all graphics edges this node is connected with.boolean
hidden()
Visibility of the network component.List<? extends LinkEdge>
linkEdges()
returns all link edges this node is connected with.Model
model()
Returns the model this item belongs to.default Model
network()
Deprecated.Paint
paint()
The fill appearance of the item's shape.double
scale()
The scale factor the node is displayed with.Shadow
shadow()
The shadow of the item.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.double
strokeWidth()
The stroke width of the item's shape.Brush
textBrush()
The fill brush of the item's text label.Color
textStrokeColor()
The color for the stroke of the item's text label.double
textStrokeWidth()
The stroke width of the item's text label.double
transparency()
The transparency of the node.Methods inherited from interface omix.lang.model.Component
customPropertyNames, getCustomProperty, getIdentifier, id, onload, setCustomProperty, setTmpCustomProperty
-
Method Details
-
strokeWidth
The stroke width of the item's shape. -
textStrokeWidth
The stroke width of the item's text label. -
scale
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. -
fillLevel
The filling level of the item's shape given as percentage value. -
blur
The blur of the node.- Since:
- Omix 1.5.13
-
transparency
The transparency of the node.- Since:
- Omix 1.5.13
-
Visibility of the network component.
- Returns:
- hidden
-
collapsed
Collapsed-state of the network component. Possible values:- true - the component is forced to be collapsed even if the components are shown by default.
- false - the component is forced to be visible even if the components are hidden by default.
- null - the component is visible or collapsed dependent on the model settings.
- Returns:
- collapsed
- Since:
- Omix 1.9.0
-
paint
The fill appearance of the item's shape. -
shadow
The shadow of the item. -
strokeColor
The color for the stroke of the item's shape. -
textStrokeColor
The color for the stroke of the item's text label. -
strokeStyle
The paint style for the stroke of the item's shape. -
shape
The appearance of the metabolite node in the diagram. -
font
The font of the text label of the item. -
fillLevelIndication
The indication for filling of the item's shape. -
textBrush
The fill brush of the item's text label.- Since:
- Omix 1.8.0
-
graphicsEdges
List<? extends GraphicsEdge> graphicsEdges()returns all graphics edges this node is connected with.- Returns:
- unchangeable list of graphics edges
- Since:
- Omix 1.8.0
-
linkEdges
returns all link edges this node is connected with.- Returns:
- unchangeable list of link edges
- Since:
- Omix 2.0.0
-
network
Deprecated.Returns the network this node belongs to.- Returns:
- network
-
model
Model model()Returns the model this item belongs to.- Returns:
- model
-
getComment
Deprecated.Returns the item's comment with the given identifier if available, otherwise null.- Parameters:
identifier
- of the comment item- Returns:
- found comment item
-
comments
Deprecated.Returns an unchangeableList
of all item's comments.- Returns:
- list of comments
-