public final void addCloseListener ( @ NonNull final CloseListener listener ) { Condition . INSTANCE . ensureNotNull ( listener , "The listener may not be null" ) ; listeners . add ( listener ) ; }
Adds a new listener which should be notified when the chip has been closed .