Package net.sf.jguiraffe.gui.dlg
Interface DialogResultCallback<T,D>
-
- Type Parameters:
T
- the type of the result produced by the standard dialogD
- the type of the data object expected by this callback
public interface DialogResultCallback<T,D>
A callback interface for handling the result of a standard dialog.
When using one of the supported standard dialogs client code must provide an object implementing this interface. The single callback method defined here is invoked when the dialog was closed successfully. It is passed the result of the dialog to be further processed together with a client-specific context object. The latter can contain additional information required to process the dialog result.
- Since:
- 1.4
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onDialogResult(T result, D data)
Callback method for processing a standard dialog result.
-