Enum Class EventLoop.Type

java.lang.Object
java.lang.Enum<EventLoop.Type>
org.springframework.shell.component.view.event.EventLoop.Type
All Implemented Interfaces:
Serializable, Comparable<EventLoop.Type>, Constable
Enclosing interface:
EventLoop

public static enum EventLoop.Type extends Enum<EventLoop.Type>
Type of an events handled by an EventLoop.
  • Enum Constant Details

    • SIGNAL

      public static final EventLoop.Type SIGNAL
      Signals dispatched from a terminal.
    • KEY

      public static final EventLoop.Type KEY
      Key bindings from a terminal.
    • MOUSE

      public static final EventLoop.Type MOUSE
      Mouse bindings from a terminal.
    • SYSTEM

      public static final EventLoop.Type SYSTEM
      System bindinds like redraw.
    • VIEW

      public static final EventLoop.Type VIEW
      View bindinds from views.
    • USER

      public static final EventLoop.Type USER
      User bindinds for custom events.
    • TASK

      public static final EventLoop.Type TASK
  • Method Details

    • values

      public static EventLoop.Type[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static EventLoop.Type valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null