Exemplo n.º 1
0
 /** Fires when notification accepted and closed. */
 public void fireAccepted() {
   for (final NotificationListener listener : CollectionUtils.copy(listeners)) {
     listener.accepted();
   }
 }
Exemplo n.º 2
0
 /** Fires when notification simply closed. */
 public void fireClosed() {
   for (final NotificationListener listener : CollectionUtils.copy(listeners)) {
     listener.closed();
   }
 }
Exemplo n.º 3
0
 /** Fires when notification options is selected. */
 public void fireOptionSelected(final NotificationOption option) {
   for (final NotificationListener listener : CollectionUtils.copy(listeners)) {
     listener.optionSelected(option);
   }
 }