Class SerialBlock

    • Constructor Detail

      • SerialBlock

        public SerialBlock​(List<Block> blocks,
                           Cell cell)
        Constructor A layout.block chain is oriented in order to have. Lower - embedding BusNode if only one of both layout.block embed a BusNode Upper - (as a consequence) can embed a BusNode only if Lower as one
      • SerialBlock

        public SerialBlock​(Block block,
                           Cell cell)
    • Method Detail

      • getOrder

        public int getOrder()
      • addSubBlock

        public boolean addSubBlock​(Block block)
      • getUpperBlock

        public Block getUpperBlock()
      • getLowerBlock

        public Block getLowerBlock()
      • sizing

        public void sizing()
        Description copied from interface: Block
        Calculate maximal pxWidth that layout.block can use in a cell without modifying root pxWidth
      • coordVerticalCase

        public void coordVerticalCase​(LayoutParameters layoutParam)
      • coordHorizontalCase

        public void coordHorizontalCase​(LayoutParameters layoutParam)
      • calculateHeight

        public double calculateHeight​(Set<Node> encounteredNodes,
                                      LayoutParameters layoutParameters)