Interface awt.DialogHandler
All Packages    This Package    Previous    Next

Interface awt.DialogHandler

public interface DialogHandler
extends Object
DialogHandler is an interface used by users of the MessageDialog class. It defines three callbacks which are invoked by MessageDialog in response to clicking on one of the three buttons, "ok", "cancel", and "help".
See Also:
MessageDialog
Version:
1.3 31 Jan 1995
Author:
Sami Shaio

cancelCallback(Dialog)
Invoked when the user presses the "Cancel" button.
helpCallback(Dialog)
Invoked when the user presses the "Help" button.
okCallback(Dialog)
Invoked when the user presses the "Ok" button.

okCallback
  public abstract void okCallback(Dialog m)
Invoked when the user presses the "Ok" button.

cancelCallback

  public abstract void cancelCallback(Dialog m)
Invoked when the user presses the "Cancel" button.

helpCallback

  public abstract void helpCallback(Dialog m)
Invoked when the user presses the "Help" button.


All Packages    This Package    Previous    Next