Package com.powsybl.sld.model.blocks
Class UndefinedBlock
- java.lang.Object
-
- com.powsybl.sld.model.blocks.AbstractBlock
-
- com.powsybl.sld.model.blocks.AbstractComposedBlock
-
- com.powsybl.sld.model.blocks.UndefinedBlock
-
- All Implemented Interfaces:
Block
,ComposedBlock
public class UndefinedBlock extends AbstractComposedBlock
A block group that cannot be correctly decomposed anymore. All subBlocks are superposed.- Author:
- Geoffroy Jamgotchian
, Franck Lecuyer
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.powsybl.sld.model.blocks.Block
Block.Extremity, Block.Type
-
-
Field Summary
-
Fields inherited from class com.powsybl.sld.model.blocks.AbstractBlock
type
-
-
Constructor Summary
Constructors Constructor Description UndefinedBlock(List<Block> subBlocks)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(BlockVisitor blockVisitor)
void
sizing()
Calculate maximal pxWidth that layout.block can use in a cell without modifying root pxWidth-
Methods inherited from class com.powsybl.sld.model.blocks.AbstractComposedBlock
findBlockEmbeddingNode, getExtremityNode, getSegments, getSubBlocks, isEmbeddingNodeType, reverseBlock, setOrientation, setOrientation, toString, writeJsonContent
-
Methods inherited from class com.powsybl.sld.model.blocks.AbstractBlock
getCardinality, getCardinality, getCoord, getEndingNode, getExtremity, getOrientation, getParentBlock, getPosition, getStartingNode, getType, setCardinality, setParentBlock, writeJson
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.powsybl.sld.model.blocks.Block
getCardinality, getCardinality, getCoord, getEndingNode, getExtremity, getOrder, getOrientation, getPosition, getStartingNode, getType, setCardinality, setParentBlock, writeJson
-
-
-
-
Method Detail
-
sizing
public void sizing()
Description copied from interface:Block
Calculate maximal pxWidth that layout.block can use in a cell without modifying root pxWidth
-
accept
public void accept(BlockVisitor blockVisitor)
-
-