Interface BlockLevelLayoutManager

    • Method Detail

      • negotiateBPDAdjustment

        int negotiateBPDAdjustment​(int adj,
                                   KnuthElement lastElement)
        Negotiate BPD adjustment.
        Parameters:
        adj - amount to adjust
        lastElement - the last knuth element
        Returns:
        the resulting adjusted BPD
      • discardSpace

        void discardSpace​(KnuthGlue spaceGlue)
        Discard space.
        Parameters:
        spaceGlue - the space
      • getKeepTogether

        Keep getKeepTogether()
        Returns the keep-together strength for this element.
        Returns:
        the keep-together strength
      • mustKeepTogether

        boolean mustKeepTogether()
        Returns:
        true if this element must be kept together
      • getKeepWithPrevious

        Keep getKeepWithPrevious()
        Returns the keep-with-previous strength for this element.
        Returns:
        the keep-with-previous strength
      • mustKeepWithPrevious

        boolean mustKeepWithPrevious()
        Returns:
        true if this element must be kept with the previous element.
      • getKeepWithNext

        Keep getKeepWithNext()
        Returns the keep-with-next strength for this element.
        Returns:
        the keep-with-next strength
      • mustKeepWithNext

        boolean mustKeepWithNext()
        Returns:
        true if this element must be kept with the next element.
      • getKeepTogetherProperty

        KeepProperty getKeepTogetherProperty()
        Returns the keep-together property specified on the FObj.
        Returns:
        the keep-together property
      • getKeepWithPreviousProperty

        KeepProperty getKeepWithPreviousProperty()
        Returns the keep-with-previous property specified on the FObj.
        Returns:
        the keep-together property
      • getKeepWithNextProperty

        KeepProperty getKeepWithNextProperty()
        Returns the keep-with-next property specified on the FObj.
        Returns:
        the keep-together property