public abstract class AbstractBusCell extends AbstractCell implements BusCell
BusCell.Direction
Cell.CellType
nodes
Modifier | Constructor and Description |
---|---|
protected |
AbstractBusCell(Graph graph,
Cell.CellType type) |
Modifier and Type | Method and Description |
---|---|
void |
blocksSetting(Block rootBlock,
List<LegPrimaryBlock> primaryBlocksConnectedToBus) |
void |
calculateCoord(LayoutParameters layoutParam) |
List<BusNode> |
getBusNodes() |
BusCell.Direction |
getDirection() |
Position |
getMaxBusPosition() |
List<LegPrimaryBlock> |
getPrimaryLegBlocks() |
void |
setDirection(BusCell.Direction direction) |
String |
toString() |
protected void |
writeJsonContent(com.fasterxml.jackson.core.JsonGenerator generator) |
addNodes, getFullId, getGraph, getNodes, getNumber, getRootBlock, getType, removeAllNodes, setNodes, setRootBlock, setType, writeJson
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
blockSizing, newHPosition
addNodes, getFullId, getGraph, getNodes, getNumber, getRootBlock, getType, removeAllNodes, setNodes, setRootBlock, setType, writeJson
protected AbstractBusCell(Graph graph, Cell.CellType type)
public void blocksSetting(Block rootBlock, List<LegPrimaryBlock> primaryBlocksConnectedToBus)
blocksSetting
in interface BusCell
public List<BusNode> getBusNodes()
getBusNodes
in interface BusCell
public List<LegPrimaryBlock> getPrimaryLegBlocks()
getPrimaryLegBlocks
in interface BusCell
public BusCell.Direction getDirection()
getDirection
in interface BusCell
public void setDirection(BusCell.Direction direction)
setDirection
in interface BusCell
public Position getMaxBusPosition()
getMaxBusPosition
in interface BusCell
public void calculateCoord(LayoutParameters layoutParam)
calculateCoord
in interface Cell
protected void writeJsonContent(com.fasterxml.jackson.core.JsonGenerator generator) throws IOException
writeJsonContent
in class AbstractCell
IOException
public String toString()
toString
in class AbstractCell
Copyright © 2019. All rights reserved.