Class LineReaderImpl.MenuSupport

java.lang.Object
org.jline.reader.impl.LineReaderImpl.MenuSupport
All Implemented Interfaces:
Supplier<AttributedString>
Enclosing class:
LineReaderImpl

private class LineReaderImpl.MenuSupport extends Object implements Supplier<AttributedString>
  • Field Details

  • Constructor Details

  • Method Details

    • completion

      public Candidate completion()
    • next

      public void next()
    • previous

      public void previous()
    • major

      private void major(int step)
      Move 'step' options along the major axis of the menu.

      ie. if the menu is listing rows first, change row (up/down); otherwise move column (left/right)

      Parameters:
      step - number of options to move by
    • minor

      private void minor(int step)
      Move 'step' options along the minor axis of the menu.

      ie. if the menu is listing rows first, move along the row (left/right); otherwise move along the column (up/down)

      Parameters:
      step - number of options to move by
    • up

      public void up()
    • down

      public void down()
    • left

      public void left()
    • right

      public void right()
    • update

      private void update()
    • get

      public AttributedString get()
      Specified by:
      get in interface Supplier<AttributedString>