Class LineByLineNavigator<T extends Line>


  • public class LineByLineNavigator<T extends Line>
    extends Object
    • Constructor Detail

      • LineByLineNavigator

        public LineByLineNavigator​(String text,
                                   LineFactory<T> lineFactory)
    • Method Detail

      • hasPreviousLine

        public boolean hasPreviousLine()
      • getPreviousLine

        public T getPreviousLine()
      • getCurrentLine

        public T getCurrentLine()
      • hasMoreLines

        public boolean hasMoreLines()
      • insertBeforeCurrentLine

        public void insertBeforeCurrentLine​(T formattedLine)
      • joinCurrentToPrevious

        public void joinCurrentToPrevious()
      • joinCurrentToPrevious

        public void joinCurrentToPrevious​(String glue)
      • moveToNextLine

        public void moveToNextLine()
      • getText

        public String getText()