- All Superinterfaces:
AbstractModelComponent
,AbstractVisibleComponent
,ReadOnlyInterface
- All Known Subinterfaces:
AbstractBioNode
,AbstractBioNode
,AbstractNode
,GraphicsNode
,GraphicsNode
,Link
,Link
,Metabolite
,Metabolite
,Reaction
,Reaction
public interface AbstractNode extends AbstractVisibleComponent
-
Method Summary
Modifier and Type Method Description double
blur()
The blur of the node.boolean
collapsed()
Collapsed-state of the network component.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.Object
getCustomProperty(String name)
Returns the value of the custom property or null if not available.List<? extends AbstractNodeItem>
getDiagramItems()
List<? extends AbstractNodeItem>
getDiagramItems(Diagram diagram)
String
getIdentifier()
List<? extends GraphicsEdge>
graphicsEdges()
returns all graphics edges this node is connected with.boolean
hidden()
Visibility of the network component.Paint
paint()
The fill appearance of the item's shape.double
scale()
The scale factor the node is displayed with.void
setCustomProperty(String name, Object value)
Adds a custom property to the network item.void
setTmpCustomProperty(String name, Object value)
Adds a temporary custom property to the network item.Shadow
shadow()
The shadow of the item.Shape
shape()
The appearance of the 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.plugin.model.AbstractModelComponent
addChangeListener, addPropertyChangeListener, fieldExists, getField, getField, model, removeChangeListener, removePropertyChangeListener
Methods inherited from interface omix.plugin.model.AbstractVisibleComponent
accessoryExists, getAccessories, getAccessories, getAccessory, getAccessory, getAccessory, getAccessory, getAllAccessories, hasDiagramItems, hasDiagramItems
-
Method Details
-
strokeWidth
double strokeWidth()The stroke width of the item's shape. -
textStrokeWidth
double textStrokeWidth()The stroke width of the item's text label. -
scale
double 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
double fillLevel()The filling level of the item's shape given as percentage value. -
blur
double blur()The blur of the node.- Since:
- Omix 1.5.13
-
transparency
double transparency()The transparency of the node.- Since:
- Omix 1.5.13
-
boolean hidden()Visibility of the network component.
- Returns:
- hidden
-
collapsed
boolean 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.
- Returns:
- collapsed
- Since:
- Omix 1.9.0
-
paint
Paint paint()The fill appearance of the item's shape. -
shadow
Shadow shadow()The shadow of the item. -
strokeColor
Color strokeColor()The color for the stroke of the item's shape. -
textStrokeColor
Color textStrokeColor()The color for the stroke of the item's text label. -
strokeStyle
StrokeStyle strokeStyle()The paint style for the stroke of the item's shape. -
shape
Shape shape()The appearance of the node in the diagram. -
font
Font font()The font of the text label of the item. -
fillLevelIndication
FillLevelIndication fillLevelIndication()The indication for filling of the item's shape. -
textBrush
Brush textBrush()The fill brush of the item's text label. -
graphicsEdges
List<? extends GraphicsEdge> graphicsEdges()returns all graphics edges this node is connected with.- Returns:
- unchangeable list of custom edges
- Since:
- Omix 1.8.0
-
getDiagramItems
List<? extends AbstractNodeItem> getDiagramItems()- Specified by:
getDiagramItems
in interfaceAbstractVisibleComponent
-
getDiagramItems
- Specified by:
getDiagramItems
in interfaceAbstractVisibleComponent
-
getIdentifier
String getIdentifier()- Specified by:
getIdentifier
in interfaceAbstractModelComponent
-
setCustomProperty
Adds a custom property to the network item. Each item can carry arbitrary values as custom property. The property content is stored to the document file as far as possible. If the value cannot be saved to file, the property is removed after relaunch. Custom properties can be accessed from all namespaces. Set null to remove property. Setting custom properties in OVL is undoable.- Parameters:
name
-value
-- Throws:
IllegalAccessException
- See Also:
setTmpCustomProperty(String, Object)
,getCustomProperty(String)
,#customPropertyNames()
-
setTmpCustomProperty
Adds a temporary custom property to the network item. Each item can carry arbitrary values as custom property. The property content is not stored to the document file. Instead, the property is removed after relaunch. Custom properties can be accessed from all namespaces. Set null to remove property. Setting custom properties in OVL is undoable.- Parameters:
name
-value
-- Throws:
IllegalAccessException
- See Also:
setCustomProperty(String, Object)
,getCustomProperty(String)
,#customPropertyNames()
-
getCustomProperty
Returns the value of the custom property or null if not available.- Parameters:
name
-- Returns:
- value
-