FileDocCategorySizeDatePackage
KeyInfo.javaAPI DocAndroid 1.5 API1597Wed May 06 22:41:54 BST 2009org.apache.harmony.awt.wtk

KeyInfo

public final class KeyInfo extends Object
Keystroke information

Fields Summary
public int
vKey
public int
keyLocation
public final StringBuffer
keyChars
public static final int
DEFAULT_VKEY
public static final int
DEFAULT_LOCATION
Constructors Summary
public KeyInfo()


      
        vKey = DEFAULT_VKEY;
        keyLocation = DEFAULT_LOCATION;
        keyChars = new StringBuffer();
    
Methods Summary
public voidsetKeyChars(char ch)

        keyChars.setLength(0);
        keyChars.append(ch);
    
public voidsetKeyChars(java.lang.StringBuffer sb)

        keyChars.setLength(0);
        keyChars.append(sb);