public static class PlacementAdapter.PlacementPort extends PlacementFrame.PlacementPort
Constructor and Description |
---|
PlacementAdapter.PlacementPort(double x,
double y,
PortProto pp)
Constructor to create a PlacementPort.
|
Modifier and Type | Method and Description |
---|---|
PortProto |
getPortProto()
Method to return the Electric PortProto that this PlacementPort uses.
|
java.lang.String |
toString() |
computeRotatedOffset, getCenter, getOffX, getOffY, getPlacementNetwork, getPlacementNode, getRotatedOffX, getRotatedOffY, setPlacementNetwork, setPlacementNode
public PlacementAdapter.PlacementPort(double x, double y, PortProto pp)
x
- the X offset of this PlacementPort from the center of its PlacementNode.y
- the Y offset of this PlacementPort from the center of its PlacementNode.pp
- the Electric PortProto of this PlacementPort.public PortProto getPortProto()
public java.lang.String toString()
toString
in class java.lang.Object