org.crsh.console
Enum KeyType

java.lang.Object
  extended by java.lang.Enum<KeyType>
      extended by org.crsh.console.KeyType
All Implemented Interfaces:
Serializable, Comparable<KeyType>

public enum KeyType
extends Enum<KeyType>

Author:
Julien Viet

Enum Constant Summary
_0
           
_1
           
_2
           
_3
           
_4
           
_5
           
_6
           
_7
           
_8
           
_9
           
a
           
A
           
b
           
B
           
BACKSPACE
           
c
           
C
           
d
           
D
           
DELETE
           
DOWN
           
e
           
E
           
ENTER
           
f
           
F
           
g
           
G
           
h
           
H
           
i
           
I
           
j
           
J
           
k
           
K
           
l
           
L
           
LEFT
           
m
           
M
           
n
           
N
           
o
           
O
           
p
           
P
           
q
           
Q
           
r
           
R
           
RIGHT
           
s
           
S
           
SPACE
           
t
           
T
           
u
           
U
           
UNKNOWN
           
UP
           
v
           
V
           
w
           
W
           
x
           
X
           
y
           
Y
           
z
           
Z
           
 
Field Summary
private static KeyType[] INDEX
           
 
Method Summary
(package private) static KeyType map(jline.console.Operation operation, int[] sequence)
          .
static KeyType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static KeyType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

A

public static final KeyType A

B

public static final KeyType B

C

public static final KeyType C

D

public static final KeyType D

E

public static final KeyType E

F

public static final KeyType F

G

public static final KeyType G

H

public static final KeyType H

I

public static final KeyType I

J

public static final KeyType J

K

public static final KeyType K

L

public static final KeyType L

M

public static final KeyType M

N

public static final KeyType N

O

public static final KeyType O

P

public static final KeyType P

Q

public static final KeyType Q

R

public static final KeyType R

S

public static final KeyType S

T

public static final KeyType T

U

public static final KeyType U

V

public static final KeyType V

W

public static final KeyType W

X

public static final KeyType X

Y

public static final KeyType Y

Z

public static final KeyType Z

a

public static final KeyType a

b

public static final KeyType b

c

public static final KeyType c

d

public static final KeyType d

e

public static final KeyType e

f

public static final KeyType f

g

public static final KeyType g

h

public static final KeyType h

i

public static final KeyType i

j

public static final KeyType j

k

public static final KeyType k

l

public static final KeyType l

m

public static final KeyType m

n

public static final KeyType n

o

public static final KeyType o

p

public static final KeyType p

q

public static final KeyType q

r

public static final KeyType r

s

public static final KeyType s

t

public static final KeyType t

u

public static final KeyType u

v

public static final KeyType v

w

public static final KeyType w

x

public static final KeyType x

y

public static final KeyType y

z

public static final KeyType z

_0

public static final KeyType _0

_1

public static final KeyType _1

_2

public static final KeyType _2

_3

public static final KeyType _3

_4

public static final KeyType _4

_5

public static final KeyType _5

_6

public static final KeyType _6

_7

public static final KeyType _7

_8

public static final KeyType _8

_9

public static final KeyType _9

SPACE

public static final KeyType SPACE

UP

public static final KeyType UP

DOWN

public static final KeyType DOWN

LEFT

public static final KeyType LEFT

RIGHT

public static final KeyType RIGHT

DELETE

public static final KeyType DELETE

BACKSPACE

public static final KeyType BACKSPACE

ENTER

public static final KeyType ENTER

UNKNOWN

public static final KeyType UNKNOWN
Field Detail

INDEX

private static KeyType[] INDEX
Method Detail

values

public static KeyType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (KeyType c : KeyType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static KeyType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
NullPointerException - if the argument is null

map

static KeyType map(jline.console.Operation operation,
                   int[] sequence)
.



Copyright © 2014 eXo Platform SAS. All Rights Reserved.