public abstract class AbstractComposedBlock extends AbstractBlock implements ComposedBlock
Block.Extremity, Block.Type
type
Modifier and Type | Method and Description |
---|---|
Node |
getExtremityNode(Block.Extremity extremity) |
Graph |
getGraph() |
List<Block> |
getSubBlocks() |
boolean |
isEmbedingNodeType(Node.NodeType type) |
void |
reverseBlock() |
void |
setOrientation(Orientation orientation) |
String |
toString() |
protected void |
writeJsonContent(com.fasterxml.jackson.core.JsonGenerator generator) |
calculateCoord, calculateRootCoord, calculateRootHeight, getCardinality, getCardinality, getCell, getCoord, getEndingNode, getExtremity, getParentBlock, getPosition, getStartingNode, getType, setCardinality, setCell, setParentBlock, setX, setXSpan, setY, setYSpan, writeJson
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
calculateCoord, calculateHeight, calculateRootCoord, calculateRootHeight, coordHorizontalCase, coordVerticalCase, getCardinality, getCardinality, getCell, getCoord, getEndingNode, getExtremity, getOrder, getPosition, getStartingNode, getType, setCardinality, setCell, setParentBlock, setX, setXSpan, setY, setYSpan, sizing, writeJson
public List<Block> getSubBlocks()
getSubBlocks
in interface ComposedBlock
public boolean isEmbedingNodeType(Node.NodeType type)
isEmbedingNodeType
in interface Block
public Node getExtremityNode(Block.Extremity extremity)
getExtremityNode
in interface Block
public void reverseBlock()
reverseBlock
in interface Block
public void setOrientation(Orientation orientation)
setOrientation
in interface Block
setOrientation
in class AbstractBlock
protected void writeJsonContent(com.fasterxml.jackson.core.JsonGenerator generator) throws IOException
writeJsonContent
in class AbstractBlock
IOException
Copyright © 2020. All rights reserved.