public class LegPrimaryBlock extends AbstractPrimaryBlock implements LegBlock
Block.Extremity, Block.Type
nodes
type
Constructor and Description |
---|
LegPrimaryBlock(List<Node> nodes,
Cell cell) |
Modifier and Type | Method and Description |
---|---|
void |
addStackableBlock(LegPrimaryBlock block) |
void |
coordHorizontalCase(LayoutParameters layoutParam) |
void |
coordVerticalCase(LayoutParameters layoutParam) |
BusNode |
getBusNode() |
List<BusNode> |
getBusNodes() |
List<LegPrimaryBlock> |
getStackableBlocks() |
void |
reverseBlock() |
void |
sizing()
Calculate maximal pxWidth that layout.block can use in a cell without modifying
root pxWidth
|
calculateHeight, getExtremityNode, getGraph, getNodes, isEmbedingNodeType, toString, writeJsonContent
calculateCoord, calculateRootCoord, calculateRootHeight, getCardinality, getCardinality, getCell, getCoord, getEndingNode, getExtremity, getParentBlock, getPosition, getStartingNode, getType, setCardinality, setCell, setOrientation, setParentBlock, setX, setXSpan, setY, setYSpan, writeJson
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getLegNode
calculateCoord, calculateHeight, calculateRootCoord, calculateRootHeight, getCardinality, getCardinality, getCell, getCoord, getEndingNode, getExtremity, getExtremityNode, getGraph, getOrder, getPosition, getStartingNode, getType, isEmbedingNodeType, setCardinality, setCell, setOrientation, setParentBlock, setX, setXSpan, setY, setYSpan, writeJson
public BusNode getBusNode()
public List<BusNode> getBusNodes()
getBusNodes
in interface LegBlock
public void addStackableBlock(LegPrimaryBlock block)
public List<LegPrimaryBlock> getStackableBlocks()
public void reverseBlock()
reverseBlock
in interface Block
reverseBlock
in class AbstractPrimaryBlock
public void sizing()
Block
public void coordHorizontalCase(LayoutParameters layoutParam)
coordHorizontalCase
in interface Block
public void coordVerticalCase(LayoutParameters layoutParam)
coordVerticalCase
in interface Block
Copyright © 2020. All rights reserved.