public final class ShuntCell extends AbstractCell
Cell.CellType
nodes
Modifier and Type | Method and Description |
---|---|
void |
addNodes(List<Node> nodesToAdd) |
void |
alignDirections(Side side) |
void |
alignExternCells() |
void |
calculateCoord(LayoutParameters layoutParam) |
static ShuntCell |
create(ExternCell cell1,
ExternCell cell2,
List<Node> nodes) |
List<ExternCell> |
getCells() |
int |
getLength() |
ExternCell |
getOtherSideCell(ExternCell cell) |
List<BusNode> |
getParentBusNodes() |
ExternCell |
getSideCell(Side side) |
FictitiousNode |
getSideShuntNode(Side side) |
void |
reverse() |
String |
toString() |
calculateHeight, getFullId, getGraph, getId, getNodes, getNumber, getRootBlock, getType, removeAllNodes, setNodes, setRootBlock, setType, writeJson, writeJsonContent
public static ShuntCell create(ExternCell cell1, ExternCell cell2, List<Node> nodes)
public void addNodes(List<Node> nodesToAdd)
addNodes
in interface Cell
addNodes
in class AbstractCell
public void calculateCoord(LayoutParameters layoutParam)
public void alignExternCells()
public void alignDirections(Side side)
public void reverse()
public ExternCell getSideCell(Side side)
public ExternCell getOtherSideCell(ExternCell cell)
public FictitiousNode getSideShuntNode(Side side)
public List<ExternCell> getCells()
public int getLength()
public String toString()
toString
in class AbstractCell
Copyright © 2020. All rights reserved.