Class SpaceResolver.SpaceHandlingPosition

  • Enclosing class:
    SpaceResolver

    public static class SpaceResolver.SpaceHandlingPosition
    extends Position
    Position class for no-break situations. It is used to notify layout manager about the effective spaces and conditional lengths.
    • Constructor Detail

      • SpaceHandlingPosition

        public SpaceHandlingPosition​(SpaceResolver resolver)
        Main constructor.
        Parameters:
        resolver - the space resolver that provides the info about the actual situation
    • Method Detail

      • getSpaceResolver

        public SpaceResolver getSpaceResolver()
        Returns:
        the space resolver
      • notifySpaceSituation

        public void notifySpaceSituation()
        Notifies all affected layout managers about the current situation in the part to be handled for area generation.
      • toString

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