- All Superinterfaces:
AbstractItem
,AbstractItem
,AbstractModelItem
,AbstractModelItem
,PathwayItem
,ReadOnlyInterface
,WritableInterface
public interface PathwayItem extends AbstractModelItem, PathwayItem
-
Method Summary
Modifier and Type Method Description List<? extends Comment>
comments()
Comment
getComment(String identifier)
List<? extends ReactionItem>
getReactions(String identifier)
Pathway
modelComponent()
List<? extends ReactionItem>
reactions()
void
setAccessoryAnchorFloating(boolean accessoryAnchorFloating)
void
setAccessoryAnchorPlacement(AccessoryAnchorPlacement accessoryAnchorPlacement)
Changes the placement of the item's accessory anchor.void
setAccessoryAnchorPosition(double accessoryAnchorX, double accessoryAnchorY)
Changes the position of the item's accessory anchor.void
setAccessoryFloating(boolean accessoryFloating)
void
setAccessoryOrientation(Orientation accessoryOrientation)
Changes the layout (horizontal / vertical) of the item's accessory anchor.void
setAccessorySpacing(double accessorySpacing)
Changes the spacing of the item's accessory anchor.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.Methods inherited from interface omix.plugin.diagram.AbstractItem
addChangeListener, addPropertyChangeListener, getIdentifier, removeChangeListener, removePropertyChangeListener
Methods inherited from interface omix.plugin.diagram.AbstractModelItem
getAccessoryItem, getAccessoryItem
Methods inherited from interface omix.plugin.diagram.writable.AbstractModelItem
getAccessoryItem, getAccessoryItem, getAccessoryItems, getAccessoryItems, getAllAccessoryItems, getField, getField, toReadOnly
Methods inherited from interface omix.plugin.diagram.PathwayItem
accessoryAnchorFloating, accessoryAnchorPlacement, accessoryAnchorX, accessoryAnchorY, accessoryFloating, accessoryOrientation, accessorySpacing, commentExists, getCustomProperty, labelRotation, labelX, labelY, setCustomProperty, setTmpCustomProperty
-
Method Details
-
modelComponent
Pathway modelComponent()- Specified by:
modelComponent
in interfaceAbstractModelItem
- Specified by:
modelComponent
in interfaceAbstractModelItem
- Specified by:
modelComponent
in interfacePathwayItem
-
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
-
comments
- Specified by:
comments
in interfacePathwayItem
-
getComment
- Specified by:
getComment
in interfacePathwayItem
-
setAccessoryAnchorPosition
void setAccessoryAnchorPosition(double accessoryAnchorX, double accessoryAnchorY) throws IllegalChangeExceptionChanges the position of the item's accessory anchor.- Parameters:
accessoryAnchorX
-accessoryAnchorY
-- Throws:
IllegalChangeException
-
setAccessorySpacing
Changes the spacing of the item's accessory anchor.- Parameters:
accessorySpacing
-- Throws:
IllegalChangeException
-
setAccessoryOrientation
Changes the layout (horizontal / vertical) of the item's accessory anchor.- Parameters:
accessoryOrientation
-- Throws:
IllegalChangeException
-
setAccessoryAnchorFloating
- Parameters:
accessoryAnchorFloating
-- Throws:
IllegalChangeException
-
setAccessoryFloating
- Parameters:
accessoryFloating
-- Throws:
IllegalChangeException
-
setAccessoryAnchorPlacement
void setAccessoryAnchorPlacement(AccessoryAnchorPlacement accessoryAnchorPlacement) throws IllegalChangeExceptionChanges the placement of the item's accessory anchor.- Parameters:
accessoryAnchorPlacement
-- Throws:
IllegalChangeException
-
reactions
List<? extends ReactionItem> reactions()- Specified by:
reactions
in interfacePathwayItem
-
getReactions
- Specified by:
getReactions
in interfacePathwayItem
-