Class ComponentShape
This abstract class represents a picture of a component.
public class ComponentShape
extends Shape
Hierarchical Diagram
Direct Known Subclasses
• BlockShape
• FibreShape
• GroupShape
Constructor
public ComponentShape()
Methods
• getPortShapes
Returns an iterator of all portshapes that belong to this componentshape.
public Iterator getPortShapes()
Throws: RSDException
• getPortShapesVector
Returns a vector of all portshapes that belong to this componentshape.
public Vector getPortShapesVector()
Throws: RSDException
• getDiagramType
Returns the diagram type of this component shape.
public int getDiagramType()
Throws: RSDException
• replaceWith
Replaces this shape on the current sheet with a catalog shape.
public void replaceWith (ComponentShapecatalogShape)
Where:
catalogShape—The replacing catalog shape. The replacing catalog shape must have the same type (block, group, etc.) as the shape being replaced.
Throws: RSDException
Methods Inherited
The methods inherited from other classes are:
Class | Methods Inherited |
rsdesigner.component.Shape | getArtifact, getContainer, getDatum, getDiagramType, getTopLevelContainer |
java.lang.Object | equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |