question: protected void initModes ( ) { addInputMode ( QWERTY_MODE , DEFAULT_QWERTY ) ; addInputMode ( NUMBERS_SYMBOLS_MODE , DEFAULT_NUMBERS_SYMBOLS ) ; addInputMode ( SYMBOLS_MODE , DEFAULT_SYMBOLS ) ; addInputMode ( NUMBERS_MODE , DEFAULT_NUMBERS ) ; if ( defaultInputModes != null ) { Enumeration e = defaultInputModes . keys ( ) ; while ( e . hasMoreElements ( ) ) { String key = ( String ) e . nextElement ( ) ; addInputMode ( key , ( String [ ] [ ] ) defaultInputModes . get ( key ) ) ; } } }
target:  init all virtual keyboard modes, such as QWERTY_MODE, NUMBERS_SYMBOLS_MODE... to add an addtitional mode a developer needs to override this method and add a mode by calling addInputMode method