public String getText ( int val ) { check ( val ) ; String str = ( String ) values . get ( toInteger ( val ) ) ; if ( str != null ) return str ; str = Integer . toString ( val ) ; if ( prefix != null ) return prefix + str ; return str ; }
Gets the text mnemonic corresponding to a numeric value .