Package net.sf.jguiraffe.gui.dlg
Interface DialogCanceledCallback<D>
-
- Type Parameters:
D
- the type of the data object associated with this callback
public interface DialogCanceledCallback<D>
A callback interface to notify a client that the user has canceled a standard dialog.
When working with standard dialogs client code can optionally provide an object implementing this interface. This single method defined here is called when the dialog is not closed via the OK button, but canceled. It is passed a client-specific data object that can contain some context information, so that it can react properly on the cancellation of the dialog.
- Since:
- 1.4
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onDialogCanceled(D data)
Notifies this object that the associated standard dialog did not produce a result, but was canceled by the user.
-
-
-
Method Detail
-
onDialogCanceled
void onDialogCanceled(D data)
Notifies this object that the associated standard dialog did not produce a result, but was canceled by the user.- Parameters:
data
- client-specific data for this callback
-
-