com.alee.managers.notification
Interface NotificationListener


public interface NotificationListener

Special listener for WebNotificationPopup component.

Author:
Mikle Garin
See Also:
WebNotificationPopup

Method Summary
 void accepted()
          Notifies that user accepted notification.
 void closed()
          Notifies that popup was simply closed by user or delayed close action.
 void optionSelected(NotificationOption option)
          Notifies that user has selected the specified option.
 

Method Detail

optionSelected

void optionSelected(NotificationOption option)
Notifies that user has selected the specified option. This a separate from accepted/closed method that will be called only if some options list was set into notification popup. Popup may still be closed without selecting any options if its settings allows that.

Parameters:
option - selected option

accepted

void accepted()
Notifies that user accepted notification. Any action that waited for this may now be performed.


closed

void closed()
Notifies that popup was simply closed by user or delayed close action. That means that any action that aways user's decision should be delayed.