protected ListenerController getController ( Listener listener ) { for ( ListenerController controller : listeners . keySet ( ) ) { if ( controller . getListener ( ) . equals ( listener ) ) { return controller ; } } return null ; }
Get the controller that belongs to the given listener . Protected method used by the MapWidget .