question: public void addListener ( String eventName , mxIEventListener listener ) { if ( eventListeners == null ) { eventListeners = new ArrayList < Object > ( ) ; } eventListeners . add ( eventName ) ; eventListeners . add ( listener ) ; }
target:  Binds the specified function to the given event name. If no event name is given, then the listener is registered for all events.