Interface JPAlignerType

All Known Implementing Classes:
JPAlignerBasic, JPJustifierBasic

public interface JPAlignerType
The type of alignment algorithms.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Add a word to the current layout.
    void
    Insert a hard line break.
    Finish the current layout, effectively resetting it to a blank canvas.
  • Method Details

    • addWord

      void addWord(String w)
      Add a word to the current layout.
      Parameters:
      w - A word
    • breakLine

      void breakLine()
      Insert a hard line break.
    • finish

      List<String> finish()
      Finish the current layout, effectively resetting it to a blank canvas.
      Returns:
      A list of formatted lines