public static final KeyPressHandler getNumericKeyPressHandler ( ) { // NOPMD it's thread save! if ( HandlerFactory . numericKeyPressHandler == null ) { synchronized ( NumericKeyPressHandler . class ) { if ( HandlerFactory . numericKeyPressHandler == null ) { HandlerFactory . numericKeyPressHandler = new NumericKeyPressHandler ( ) ; } } } return HandlerFactory . numericKeyPressHandler ; }
get a numeric key press handler .