Enum Class CursorShape

java.lang.Object
java.lang.Enum<CursorShape>
org.springframework.shell.test.jediterm.terminal.CursorShape
All Implemented Interfaces:
Serializable, Comparable<CursorShape>, Constable

public enum CursorShape extends Enum<CursorShape>
Current cursor shape as described by https://vt100.net/docs/vt510-rm/DECSCUSR.html.
  • Enum Constant Details

    • STEADY_BLOCK

      public static final CursorShape STEADY_BLOCK
    • STEADY_UNDERLINE

      public static final CursorShape STEADY_UNDERLINE
    • STEADY_VERTICAL_BAR

      public static final CursorShape STEADY_VERTICAL_BAR
  • Method Details

    • values

      public static CursorShape[] 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 CursorShape 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