- All Superinterfaces:
AbstractItem
,AbstractModelItem
,ReadOnlyInterface
- All Known Subinterfaces:
PathwayItem
public interface PathwayItem extends AbstractModelItem
-
Method Summary
Modifier and Type Method Description boolean
accessoryAnchorFloating()
AccessoryAnchorPlacement
accessoryAnchorPlacement()
double
accessoryAnchorX()
double
accessoryAnchorY()
boolean
accessoryFloating()
Orientation
accessoryOrientation()
double
accessorySpacing()
boolean
commentExists(String identifier)
List<? extends Comment>
comments()
Comment
getComment(String identifier)
Object
getCustomProperty(String name)
Returns the value of the custom property or null if not available.List<? extends ReactionItem>
getReactions(String identifier)
double
labelRotation()
double
labelX()
double
labelY()
Pathway
modelComponent()
List<? extends ReactionItem>
reactions()
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.Methods inherited from interface omix.plugin.diagram.AbstractItem
addChangeListener, addPropertyChangeListener, diagram, getIdentifier, removeChangeListener, removePropertyChangeListener
Methods inherited from interface omix.plugin.diagram.AbstractModelItem
getAccessoryItem, getAccessoryItem, getAccessoryItem, getAccessoryItem, getAccessoryItems, getAccessoryItems, getAllAccessoryItems, getField, getField
-
Method Details
-
modelComponent
Pathway modelComponent()- Specified by:
modelComponent
in interfaceAbstractModelItem
-
comments
-
commentExists
-
getComment
-
labelX
double labelX() -
labelY
double labelY() -
labelRotation
double labelRotation() -
accessoryAnchorX
double accessoryAnchorX() -
accessoryAnchorY
double accessoryAnchorY() -
accessorySpacing
double accessorySpacing() -
accessoryAnchorPlacement
AccessoryAnchorPlacement accessoryAnchorPlacement() -
accessoryOrientation
Orientation accessoryOrientation() -
accessoryAnchorFloating
boolean accessoryAnchorFloating() -
accessoryFloating
boolean accessoryFloating() -
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
-
reactions
List<? extends ReactionItem> reactions() -
getReactions
-