question: public void addListener ( Listener listener ) { if ( listener == null ) { throw new IllegalArgumentException ( "null listener to a button is not allowed" ) ; } listeners . add ( listener ) ; }
target:  Adds a listener to notify when the button is triggered; the listeners will be called serially in the order they were added