private CompWrap(ComponentWrapper c, CC cc, int eHideMode,
                UnitValue[] pos, BoundSize[] callbackSz) {
            this.comp = c;
            this.cc = cc;
            this.pos = pos;

            if (eHideMode <= 0) {
                BoundSize hBS =
                        (callbackSz != null && callbackSz[0] != null)
                        ? callbackSz[0] : cc.getHorizontal().getSize();
                BoundSize vBS =
                        (callbackSz != null && callbackSz[1] != null)
                        ? callbackSz[1] : cc.getVertical().getSize();

                for (int i = LayoutUtil.MIN;
                        i <= LayoutUtil.MAX;
                        i++) {
                    horSizes[i] = getSize(hBS, i, true);
                    verSizes[i] = getSize(vBS, i, false);
                }

                correctMinMax(horSizes);
                correctMinMax(verSizes);
            }

            if (eHideMode > 1) {
                gaps = new int[4][];
                for (int i = 0; i < gaps.length;
                        i++) {
                    gaps[i] = new int[3];
                }
            }
        }