com.maryanovsky.gwtutils.client.ui
Interface DialogCallback


public interface DialogCallback

The callback interface for dialogs.

Author:
Maryanovsky Alexander

Method Summary
 void confirmed(Object result)
          Invoked when the user confirmed whatever it is the dialog asked him.
 void denied()
          Invoked when the user denied whatever it is the dialog asked him.
 

Method Detail

confirmed

void confirmed(Object result)
Invoked when the user confirmed whatever it is the dialog asked him. This is usually invoked when the user presses the equivalent of the "OK" button.

Parameters:
result - The result of the dialog.

denied

void denied()
Invoked when the user denied whatever it is the dialog asked him. This is usually invoked when the user presses the equivalent of the "Cancel" button.