Class FlowingColumnContainerBox.ColumnBreakStore

    • Constructor Detail

      • ColumnBreakStore

        public ColumnBreakStore()
    • Method Detail

      • addBreak

        public void addBreak​(Box box,
                             List<Box> ancestors)
        Add a break opportunity. If this is a break opportunity and a first child, it should also add all unprocessed ancestors, so they can be moved with the first child.
      • checkContainerShouldProcess

        public boolean checkContainerShouldProcess​(Box container)
        Whether an ancestor box needs to be added to the list of ancestors.
        Returns:
        true to process this ancestor (we haven't seen it yet).