Class FlowingColumnContainerBox.ColumnBreakStore

  • Enclosing class:
    FlowingColumnContainerBox

    public static class FlowingColumnContainerBox.ColumnBreakStore
    extends java.lang.Object
    • Constructor Detail

      • ColumnBreakStore

        public ColumnBreakStore()
    • Method Detail

      • addBreak

        public void addBreak​(Box box,
                             java.util.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).
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object