java.lang.Object
org.springframework.shell.component.view.control.ViewCommand

public final class ViewCommand extends Object
Commands which can be performed by the application or bound to keys in a View. This class is a placeholder for constants of types usually needed in a views. We've chosen this not to be enumerable so that there would not be restrictions in an api's to use these types.
  • Field Details

    • LINE_UP

      public static String LINE_UP
      Move line up. Generic use in something where selection needs to be moved up.
    • LINE_DOWN

      public static String LINE_DOWN
      Move line down. Generic use in something where selection needs to be moved down.
    • OPEN_SELECTED_ITEM

      public static String OPEN_SELECTED_ITEM
      Open selected item. In a some sort of view where something can be selected and that active selected should be opened.
    • SELECT

      public static String SELECT
    • LEFT

      public static String LEFT
    • SELECTION_CHANGED

      public static String SELECTION_CHANGED
  • Constructor Details

    • ViewCommand

      public ViewCommand()