Package org.graffiti.plugin.view
Interface EdgeComponentInterface
- All Superinterfaces:
GraphElementComponentInterface
- All Known Implementing Classes:
EdgeComponent
public interface EdgeComponentInterface extends GraphElementComponentInterface
This component represents a
org.graffiti.graph.Edge.- Version:
- $Revision: 1.4 $
-
Method Summary
Modifier and Type Method Description voidsetSourceComponent(NodeComponentInterface snc)Sets the source component.voidsetTargetComponent(NodeComponentInterface tnc)Sets the source component.voidupdateShape()Calls buildShape if no NodeShapes have changed.Methods inherited from interface org.graffiti.plugin.view.GraphElementComponentInterface
addAttributeComponent, addDependentComponent, attributeChanged, clearAttributeComponentList, clearDependentComponentList, createNewShape, createStandardShape, getAttributeComponent, getAttributeComponentIterator, getAttributeComponents, getGraphElement, getShape, graphicAttributeChanged, nonGraphicAttributeChanged, removeAttributeComponent, removeDependentComponent
-
Method Details
-
setSourceComponent
Sets the source component.- Parameters:
snc- the source component to be set.
-
setTargetComponent
Sets the source component.- Parameters:
tnc- the source component to be set.
-
updateShape
void updateShape()Calls buildShape if no NodeShapes have changed.
-