public static Integer getKeyEvent ( String key ) throws NoSuchElementException { key = key . toUpperCase ( ) ; Integer _result = theKeyTable . get ( key ) ; if ( null == _result ) { throw new NoSuchElementException ( key ) ; } return ( _result ) ; }
Return an Integer representing a KeyEvent .