org.apache.karaf.shell.ssh
Enum SshTerminal.UnixKey

java.lang.Object
  extended by java.lang.Enum<SshTerminal.UnixKey>
      extended by org.apache.karaf.shell.ssh.SshTerminal.UnixKey
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<SshTerminal.UnixKey>
Enclosing class:
SshTerminal

public static enum SshTerminal.UnixKey
extends java.lang.Enum<SshTerminal.UnixKey>

Unix keys.


Enum Constant Summary
ARROW_DOWN
           
ARROW_LEFT
           
ARROW_PREFIX
           
ARROW_RIGHT
           
ARROW_START
           
ARROW_UP
           
DEL_SECOND
           
DEL_THIRD
           
END_CODE
           
HOME_CODE
           
O_PREFIX
           
 
Field Summary
 short code
           
 
Method Summary
static SshTerminal.UnixKey valueOf(int code)
           
static SshTerminal.UnixKey valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static SshTerminal.UnixKey[] 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

ARROW_START

public static final SshTerminal.UnixKey ARROW_START

ARROW_PREFIX

public static final SshTerminal.UnixKey ARROW_PREFIX

ARROW_LEFT

public static final SshTerminal.UnixKey ARROW_LEFT

ARROW_RIGHT

public static final SshTerminal.UnixKey ARROW_RIGHT

ARROW_UP

public static final SshTerminal.UnixKey ARROW_UP

ARROW_DOWN

public static final SshTerminal.UnixKey ARROW_DOWN

O_PREFIX

public static final SshTerminal.UnixKey O_PREFIX

HOME_CODE

public static final SshTerminal.UnixKey HOME_CODE

END_CODE

public static final SshTerminal.UnixKey END_CODE

DEL_THIRD

public static final SshTerminal.UnixKey DEL_THIRD

DEL_SECOND

public static final SshTerminal.UnixKey DEL_SECOND
Field Detail

code

public final short code
Method Detail

values

public static SshTerminal.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 (SshTerminal.UnixKey c : SshTerminal.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 SshTerminal.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 SshTerminal.UnixKey valueOf(int code)


Copyright © 2007-2011 Apache Software Foundation. All Rights Reserved.