org.apache.karaf.webconsole.gogo
Enum WebTerminal.UnixKey
java.lang.Object
java.lang.Enum<WebTerminal.UnixKey>
org.apache.karaf.webconsole.gogo.WebTerminal.UnixKey
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<WebTerminal.UnixKey>
- Enclosing class:
- WebTerminal
public static enum WebTerminal.UnixKey
- extends java.lang.Enum<WebTerminal.UnixKey>
Unix keys.
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 |
ARROW_START
public static final WebTerminal.UnixKey ARROW_START
ARROW_PREFIX
public static final WebTerminal.UnixKey ARROW_PREFIX
ARROW_LEFT
public static final WebTerminal.UnixKey ARROW_LEFT
ARROW_RIGHT
public static final WebTerminal.UnixKey ARROW_RIGHT
ARROW_UP
public static final WebTerminal.UnixKey ARROW_UP
ARROW_DOWN
public static final WebTerminal.UnixKey ARROW_DOWN
O_PREFIX
public static final WebTerminal.UnixKey O_PREFIX
HOME_CODE
public static final WebTerminal.UnixKey HOME_CODE
END_CODE
public static final WebTerminal.UnixKey END_CODE
DEL_THIRD
public static final WebTerminal.UnixKey DEL_THIRD
DEL_SECOND
public static final WebTerminal.UnixKey DEL_SECOND
code
public final short code
values
public static WebTerminal.UnixKey[] 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 (WebTerminal.UnixKey c : WebTerminal.UnixKey.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static WebTerminal.UnixKey valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
valueOf
public static WebTerminal.UnixKey valueOf(int code)
Copyright © 2007-2011 Apache Software Foundation. All Rights Reserved.