code: public void addUserInputListener(UserInputListener listener) {
  		if (this.listeners == null)
  			this.listeners = new ArrayList();
  		this.listeners.add(listener);
  	}
docs: Add a UserInputListener.
  
  @param listener UserInputListener.
  
  @see UserInputListener